/* === WeatherScan-style Weather Segment — GAR Themed === */

.weather-segment {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: #0a0a1a;
}

.weather-segment.hidden {
  display: none;
}

.ws-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  transition: opacity 0.5s ease;
}

.ws-container.ws-transition {
  opacity: 0.7;
}

/* === Top scrolling bar === */
.ws-topbar {
  display: flex;
  height: 36px;
  background: linear-gradient(135deg, #c8001a 0%, #8b0012 100%);
  border-bottom: 2px solid #e8d44d;
  overflow: hidden;
}

.ws-topbar-left {
  background: #1a1a2e;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  min-width: 200px;
  border-right: 2px solid #e8d44d;
}

.ws-topbar-city {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e8d44d;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.ws-topbar-scroll {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ws-scroll-text {
  white-space: nowrap;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  animation: ws-scroll 20s linear infinite;
  padding-left: 100%;
}

@keyframes ws-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Main body === */
.ws-body {
  flex: 1;
  display: flex;
  min-height: 0;
}

/* === Left panel === */
.ws-left {
  width: 300px;
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
  border-right: 2px solid rgba(200, 0, 26, 0.5);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.ws-left-header {
  background: rgba(200, 0, 26, 0.2);
  padding: 1rem;
  border-bottom: 1px solid rgba(200, 0, 26, 0.3);
}

.ws-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e8d44d;
  letter-spacing: 0.15em;
  line-height: 1.4;
}

.ws-city-box {
  background: #c8001a;
  padding: 0.5rem 1rem;
  text-align: center;
}

#ws-city-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
}

.ws-current {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ws-now-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.ws-temp-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.ws-temp-big {
  font-family: 'Orbitron', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: #00ff41;
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.ws-weather-icon {
  font-size: 3rem;
  margin-top: 0.5rem;
}

.ws-humidity {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  letter-spacing: 0.1em;
}

.ws-wind {
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  color: #e8d44d;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(200, 0, 26, 0.3);
}

/* === Right panel === */
.ws-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #1a1a3e 0%, #0f1a3e 50%, #1a1a2e 100%);
}

.ws-forecast-header {
  background: linear-gradient(135deg, #c8001a, #1a1a2e);
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e8d44d;
}

.ws-forecast-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
}

.ws-forecast-area {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e8d44d;
  letter-spacing: 0.1em;
}

.ws-forecast-body {
  flex: 1;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ws-forecast-day {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: #e8d44d;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.ws-forecast-text {
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* === Hourly forecast bar === */
.ws-hourly {
  background: rgba(0, 0, 0, 0.3);
  border-top: 2px solid #e8d44d;
  padding: 0.5rem 1rem;
}

.ws-hourly-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  color: #c8001a;
  letter-spacing: 0.2em;
  margin-bottom: 0.3rem;
  text-align: center;
}

.ws-hourly-bars {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 100px;
  gap: 0.5rem;
}

.ws-hourly-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
}

.ws-hourly-icon {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.ws-hourly-temp {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #00ff41;
  margin-bottom: 0.2rem;
}

.ws-hourly-bar-wrap {
  flex: 1;
  width: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ws-hourly-bar {
  width: 30px;
  background: linear-gradient(to top, #c8001a, #e8d44d);
  border-radius: 2px 2px 0 0;
  transition: height 0.5s ease;
}

.ws-hourly-time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.3rem;
  white-space: nowrap;
}

/* === Bottom branding bar === */
.ws-bottombar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1.5rem;
  background: #1a1a2e;
  border-top: 2px solid #c8001a;
}

.ws-brand-logo {
  font-size: 2rem;
  color: #e8d44d;
}

.ws-brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e8d44d;
  letter-spacing: 0.15em;
  display: block;
}

.ws-brand-sub {
  font-size: 0.6rem;
  color: #c8001a;
  letter-spacing: 0.1em;
}
