* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  overflow-x: hidden;
}

main {
  width: 100%;
  min-height: 100vh;
  display: flex;
  padding: 1.5rem;
  gap: 1.5rem;
}

/* SIDEBAR */
.w-data-side {
  width: 80px;
  height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1rem;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.w-data-side .icons-top, .w-data-side .icons-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.w-data-side .icons-top h6, .w-data-side .icons-bottom h6 {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.1rem;
  font-weight: 500;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}
.w-data-side .icons-top h6:hover, .w-data-side .icons-bottom h6:hover {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  transform: translateY(-2px);
}

/* MAIN CONTENT AREA */
.w-data-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  min-height: 100vh;
  /* TOP SECTION */
}
.w-data-main .wdm-top {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  min-height: 350px;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.w-data-main .wdm-top .wdm-t-left {
  width: 35%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.w-data-main .wdm-top .wdm-t-left h1 {
  font-size: 4.5rem;
  font-weight: 300;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.w-data-main .wdm-top .wdm-t-left h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #cbd5e1;
  text-transform: capitalize;
}
.w-data-main .wdm-top .wdm-t-left p {
  color: #94a3b8;
  font-size: 1rem;
  word-break: break-word;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w-data-main .wdm-top .wdm-t-left p:first-of-type {
  font-size: 1.2rem;
  color: #e2e8f0;
  font-weight: 500;
}
.w-data-main .wdm-top .wdm-t-left {
  /* Search Container Styles */
}
.w-data-main .wdm-top .wdm-t-left .search-container {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 10;
}
.w-data-main .wdm-top .wdm-t-left .search-container .search-icon {
  font-size: 1.3rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.w-data-main .wdm-top .wdm-t-left .search-container .search-icon:hover {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
}
.w-data-main .wdm-top .wdm-t-left .search-container .search-input {
  width: 0;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  border-radius: 20px;
  outline: none;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  right: 0;
}
.w-data-main .wdm-top .wdm-t-left .search-container .search-input:focus {
  border: 1px solid #60a5fa;
}
.w-data-main .wdm-top .wdm-t-left .search-container .search-input::placeholder {
  color: #94a3b8;
}
.w-data-main .wdm-top .wdm-t-left .search-container .search-input {
  /* When input is visible */
}
.w-data-main .wdm-top .wdm-t-left .search-container .search-input.active {
  width: 200px;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  opacity: 1;
  visibility: visible;
  position: relative;
}
.w-data-main .wdm-top .wdm-t-left .search-container {
  /* When search is active */
}
.w-data-main .wdm-top .wdm-t-left .search-container.active .search-icon {
  position: absolute;
  left: 0.8rem;
  z-index: 2;
  color: #60a5fa;
}
.w-data-main .wdm-top .wdm-t-right {
  display: flex;
  flex-direction: column;
  width: 62%;
  gap: 1.5rem;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-1 h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e2e8f0;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-top {
  display: flex;
  gap: 1.5rem;
  min-height: 180px;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-top .wdm-t-right-2-top-1 {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  transition: transform 0.3s ease;
  min-width: 200px;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-top .wdm-t-right-2-top-1:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-top .wdm-t-right-2-top-1 h2 {
  font-size: 1rem;
  font-weight: 500;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-top .wdm-t-right-2-top-1 h2:nth-child(2) {
  font-size: 2.2rem;
  font-weight: 300;
  color: #fff;
  white-space: normal;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-top .wdm-t-right-2-top-1:nth-child(3) h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  white-space: normal;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-top .wdm-t-right-2-top-1:nth-child(3) h2:nth-child(2) {
  color: #fbbf24;
  font-size: 1.3rem;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-top .wdm-t-right-2-top-1:nth-child(3) h2:nth-child(3) {
  color: #fb923c;
  font-size: 1.3rem;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-bot {
  display: flex;
  gap: 1.5rem;
  min-height: 80px;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-bot .wdm-t-right-2-bot-1 {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease;
  min-width: 200px;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-bot .wdm-t-right-2-bot-1:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-bot .wdm-t-right-2-bot-1 h2 {
  font-size: 1rem;
  font-weight: 500;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w-data-main .wdm-top .wdm-t-right .wdm-t-right-2 .wdm-t-right-2-bot .wdm-t-right-2-bot-1 h2:last-child {
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
}
.w-data-main {
  /* MIDDLE SECTION */
}
.w-data-main .wdm-mid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 1rem 1.5rem;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.w-data-main .wdm-mid .wdm-m-left, .w-data-main .wdm-mid .wdm-m-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.w-data-main .wdm-mid .wdm-m-left h3, .w-data-main .wdm-mid .wdm-m-right h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w-data-main .wdm-mid .wdm-m-left h3:last-child, .w-data-main .wdm-mid .wdm-m-right h3:last-child {
  color: #60a5fa;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.1);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.w-data-main .wdm-mid .wdm-m-left h3:last-child:hover, .w-data-main .wdm-mid .wdm-m-right h3:last-child:hover {
  background: rgba(96, 165, 250, 0.2);
}
.w-data-main .wdm-mid .wdm-m-left {
  width: 35%;
}
.w-data-main .wdm-mid .wdm-m-right {
  width: 62%;
}
.w-data-main {
  /* BOTTOM SECTION - Forecast Cards */
}
.w-data-main .wdm-bottom {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
}
.w-data-main .wdm-bottom .forecast {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  min-height: 140px;
  min-width: 120px;
}
.w-data-main .wdm-bottom .forecast:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}
.w-data-main .wdm-bottom .forecast h3 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}
.w-data-main .wdm-bottom .forecast h4 {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 400;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.w-data-main .wdm-bottom .forecast h4:first-of-type {
  color: #cbd5e1;
  font-weight: 500;
}
.w-data-main .wdm-bottom .forecast:nth-child(1) {
  border-top: 4px solid #60a5fa;
}
.w-data-main .wdm-bottom .forecast:nth-child(2) {
  border-top: 4px solid #f87171;
}
.w-data-main .wdm-bottom .forecast:nth-child(3) {
  border-top: 4px solid #34d399;
}
.w-data-main .wdm-bottom .forecast:nth-child(4) {
  border-top: 4px solid #fbbf24;
}
.w-data-main .wdm-bottom .forecast:nth-child(5) {
  border-top: 4px solid #a78bfa;
}
.w-data-main .wdm-bottom .forecast:nth-child(6) {
  border-top: 4px solid #fb7185;
}
.w-data-main .wdm-bottom .forecast:nth-child(7) {
  border-top: 4px solid #38bdf8;
}

/* Weather Icon Styles */
.weather-icon {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}
.weather-icon:hover {
  transform: scale(1.2);
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0;
  min-height: 60px;
}

.current-weather-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 20px 0;
}
.current-weather-icon .weather-icon {
  width: 80px;
  height: 80px;
}

/* Loading animation */
@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
.loading-icon {
  animation: pulse 1.5s infinite;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES (SEPARATE SECTION)
   ============================================ */
/* Large Desktop: 1400px and above */
@media (min-width: 1400px) {
  main {
    max-width: 1400px;
    margin: 0 auto;
  }
  .w-data-side {
    width: 100px;
  }
}
/* Desktop: 1200px to 1399px */
@media (max-width: 1399px) {
  .wdm-t-left h1 {
    font-size: 4rem;
  }
  .forecast {
    min-width: 140px;
  }
}
/* Tablet Landscape: 1024px to 1199px */
@media (max-width: 1199px) {
  .wdm-top {
    flex-direction: column;
    gap: 2rem;
    min-height: auto;
  }
  .wdm-t-left,
  .wdm-t-right {
    width: 100% !important;
  }
  .wdm-t-left {
    min-width: 100% !important;
  }
  .wdm-mid {
    flex-direction: column;
    gap: 1rem;
    min-height: auto;
    padding: 1rem !important;
  }
  .wdm-m-left,
  .wdm-m-right {
    width: 100% !important;
  }
  .wdm-bottom .forecast {
    flex: 0 0 calc(33.33% - 0.67rem);
  }
  .wdm-t-right-2-top,
  .wdm-t-right-2-bot {
    flex-wrap: wrap;
  }
  .wdm-t-right-2-top-1,
  .wdm-t-right-2-bot-1 {
    flex: 0 0 calc(50% - 0.75rem);
  }
  .wdm-t-right-2-bot-1 {
    flex: 0 0 calc(33.33% - 1rem);
  }
}
/* Tablet Portrait: 768px to 1023px */
@media (max-width: 1023px) {
  main {
    padding: 1rem;
    gap: 1rem;
  }
  .w-data-side {
    width: 100% !important;
    height: auto !important;
    flex-direction: row !important;
    padding: 1rem !important;
    margin-bottom: 1rem;
  }
  .w-data-side .icons-top,
  .w-data-side .icons-bottom {
    flex-direction: row !important;
    gap: 1rem !important;
  }
  .w-data-side h6 {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .w-data-main {
    gap: 1rem;
  }
  .wdm-top,
  .wdm-bottom {
    padding: 1rem;
  }
  .wdm-t-left {
    padding: 1rem;
    gap: 1rem;
  }
  .wdm-t-left h1 {
    font-size: 3.5rem;
  }
  .wdm-t-left h2 {
    font-size: 1.2rem;
  }
  .wdm-t-left p {
    font-size: 0.9rem;
  }
  .wdm-t-left p:first-of-type {
    font-size: 1rem;
  }
  .search-container .search-icon {
    font-size: 1.1rem;
    padding: 0.4rem;
  }
  .search-input.active {
    width: 180px;
    font-size: 0.9rem;
  }
  .wdm-t-right-1 h2 {
    font-size: 1.3rem;
  }
  .wdm-t-right-2-top {
    flex-direction: column !important;
    gap: 1rem;
  }
  .wdm-t-right-2-top-1,
  .wdm-t-right-2-bot-1 {
    flex: 1 0 100% !important;
    min-height: 120px;
    padding: 1rem;
  }
  .wdm-t-right-2-top-1 h2:nth-child(2) {
    font-size: 1.8rem;
  }
  .wdm-t-right-2-bot {
    flex-direction: column !important;
    gap: 1rem;
  }
  .wdm-t-right-2-bot-1 {
    min-height: 70px;
    padding: 1rem;
  }
  .wdm-t-right-2-bot-1 h2:last-child {
    font-size: 1.5rem;
  }
  .wdm-mid h3 {
    font-size: 1rem;
  }
  .wdm-bottom .forecast {
    flex: 0 0 calc(50% - 0.5rem) !important;
  }
  .forecast h3 {
    font-size: 1.5rem;
  }
  .forecast h4 {
    font-size: 0.8rem;
  }
}
/* Mobile Landscape: 576px to 767px */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  main {
    flex-direction: column;
  }
  .wdm-t-left h1 {
    font-size: 3rem;
  }
  .search-input.active {
    width: 150px;
  }
  .wdm-t-right-2-top-1:nth-child(3) h2:nth-child(2),
  .wdm-t-right-2-top-1:nth-child(3) h2:nth-child(3) {
    font-size: 1.1rem;
  }
  .wdm-m-left,
  .wdm-m-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .wdm-m-left h3:last-child,
  .wdm-m-right h3:last-child {
    align-self: flex-end;
  }
  .wdm-bottom.scrollable {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }
  .wdm-bottom.scrollable .forecast {
    flex: 0 0 auto !important;
    width: 140px;
    min-height: 120px;
  }
}
/* Mobile Portrait: 480px to 575px */
@media (max-width: 575px) {
  html {
    font-size: 14px;
  }
  .wdm-t-left h1 {
    font-size: 2.5rem;
  }
  .search-input.active {
    width: 130px;
  }
  .wdm-t-right-2-bot-1 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    min-height: 80px;
  }
  .wdm-t-right-2-bot-1 h2:last-child {
    align-self: flex-end;
  }
  .wdm-bottom .forecast {
    flex: 0 0 100% !important;
  }
  .forecast {
    min-width: 100px !important;
  }
  .search-container {
    top: 1rem;
    right: 1rem;
  }
}
/* Small Mobile: 360px to 479px */
@media (max-width: 479px) {
  .wdm-t-left h1 {
    font-size: 2.2rem;
  }
  .search-input.active {
    width: 120px;
  }
  .wdm-t-right-2-top-1,
  .wdm-t-right-2-bot-1 {
    min-height: 100px;
  }
  .forecast {
    min-height: 120px;
  }
}
/* Extra Small Mobile: below 360px */
@media (max-width: 359px) {
  html {
    font-size: 13px;
  }
  main {
    padding: 0.5rem;
  }
  .wdm-top,
  .wdm-bottom {
    padding: 0.75rem;
  }
  .wdm-t-left h1 {
    font-size: 2rem;
  }
  .search-input.active {
    width: 110px;
  }
  .w-data-side h6 {
    width: 32px;
    height: 32px;
  }
}
/* Utility Classes for Responsive Design */
.hide-on-desktop {
  display: none;
}

.show-on-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
  .show-on-mobile {
    display: block !important;
  }
}
/* Prevent horizontal scroll on all devices */
body {
  overflow-x: hidden;
  position: relative;
}

/* Loading state */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Text overflow prevention */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-wrap {
  white-space: normal;
  word-break: break-word;
}

/*# sourceMappingURL=style.css.map */
