/* Critical CSS only */
body {
  font-family: "Roboto", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

.hero-section {
  background: url("/AESO_Landing_Page_Hero_Image.png");
  background-size: cover;
  background-position: center;
  min-height: 300px;
  padding: 30px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.hero-left {
  flex: 1;
  max-width: 500px;
}

.hero-title {
  font-size: 42px;
  font-weight: 300;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 42px;
  font-weight: 300;
  color: #fff;
  margin: 0 0 24px;
  line-height: 1.2;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-learn-more {
  background: #fff;
  color: #003057;
  padding: 8px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.btn-learn-more i {
  margin-left: 8px;
}

.btn-whats-new {
  background: #fff;
  color: #003057;
  border-radius: 5px 0px 5px 5px;
  /*background: transparent;
            color: #fff;*/
  padding: 8px 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

.hero-right {
  width: 400px;
  padding-top: 30px;
  margin-top: 40px;
}

.search-container {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}

.search-box {
  display: flex;
  width: 100%;
}

.search-input {
  flex: 1;
  height: 40px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px 0 0 6px;
  font-size: 14px;
}

.search-button {
  width: 40px;
  height: 40px;
  background: #0078d4;
  border: none;
  border-radius: 0 6px 6px 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.quick-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-link {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px 0px 10px 10px !important;
}

.section-title {
  font-family: "Roboto", sans-serif !important;
  font-weight: 400; /* regular */
  font-size: 30px;
  color: #013861;
  margin: 12px 0; /* keep reduced spacing */
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  /* margin-bottom: 30px; */
}

.data-card {
  background: #003057;
  color: #fff;
  padding: 24px;
  border-radius: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  height: 120px;
}

.data-card:hover {
  color: #fff;
  text-decoration: none;
}

.data-info {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.data-icons-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* margin-bottom: 27px; */
  align-items: center;
}

.data-number {
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.data-label {
  font-size: 20px;
  opacity: 0.9;
}

.data-arrow {
  display: flex;
  align-items: center;
}

.data-arrow img {
  width: 24px;
  height: 24px;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 20px 0;
}

.system-status {
  background: white;
  border-radius: 0 !important;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  /* height: fit-content; */
  height: 256px;
}

.status-gauge {
  text-align: center;
  margin-bottom: 20px;
}

.status-gauge svg {
  width: 200px;
  height: 120px;
  min-height: 120px;
}

.status-gauge path {
  transition: stroke-dasharray 0.3s ease;
}

.status-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 0;
}

.status-normal {
  background: #28a745;
}

.status-warning {
  background: #ffc107;
}

.status-emergency {
  background: #dc3545;
}

.most-used-section {
  /*background: #2f2b5c;*/
  background: #00477c;
  color: #fff;
  padding: 40px 0;
  padding-bottom: 0px;
}

.most-used-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.most-used-title {
  font-size: 30px;
  font-weight: 500;
  margin: 0;
}

.view-all-links {
  display: flex;
  gap: 20px;
}

.view-all-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.most-used-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
}

.most-used-card {
  /* background: #fff; */
  /* color: #333; */
  color: #fff;
  padding: 20px;
  border-radius: 4px;
  text-decoration: none;
}

/* .most-used-card:hover {
            color: #333;
            text-decoration: none;
        } */

.most-used-icon {
  font-size: 24px;
  color: #003057;
  margin-bottom: 16px;
}

.most-used-card-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}

.most-used-card-desc {
  font-size: 14px;
  margin-bottom: 16px;
}

.footer {
  background: #003057;
  color: #fff;
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-section p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }

  .hero-right {
    width: 100%;
  }

  .data-grid {
    grid-template-columns: 1fr;
  }

  .most-used-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #003057;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.lazy-iframe {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy-iframe.loaded {
  opacity: 1;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  width: 100%;
}

.results-container {
  background: white;
  border-radius: 4px;
  padding: 16px;
}

.result-item {
  padding: 12px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}

.result-item:hover {
  background: #f8f9fa;
}

.result-item:last-child {
  border-bottom: none;
}

.result-name {
  font-size: 14px;
  color: #333;
}

.result-type {
  font-size: 12px;
  color: #666;
  padding: 2px 8px;
  background: #f0f0f0;
  border-radius: 12px;
}

.no-results {
  padding: 16px;
  text-align: center;
  color: #666;
}

.loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #003057;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Add these styles for the report container */
.report-container {
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.report-container .card {
  border: none;
  margin: 0;
}

.report-container .card-body {
  padding: 0;
}

#report-container {
  width: 100%;
  height: 1533px;
  overflow: hidden;
}

#report-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
  display: block;
}

.info-Icon {
  /*background-color: white;*/
}

.img-container {
  position: relative;
  display: inline-block;
}

.info-icon-position {
  float: right;
}

.info-box {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 500px;
  /* Limit width to force line breaks */
  white-space: normal;
  /* Allow text to wrap */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 10;
  font-size: 14px;
}

.img-container:hover .info-box {
  opacity: 1;
}

.white-Chevron {
  rotate: -90deg;
  width: 18px;
  margin-bottom: 10px;
}

.data-Icon {
  width: 40px;
  height: auto;
}

.most-used-titles {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.status-align {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 30px;
}

#top-notification-container {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.35s ease;
  will-change: max-height, opacity, transform;
}
#top-notification-container.is-expanded {
  opacity: 1;
  transform: translateY(0);
}
#top-notification-container.is-collapsed {
  max-height: 0 !important;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}
/* Banner Container */

.notification-banner {
  position: relative;
  background: #f2cc7d;
  color: #2a2c2e;
  width: 100%;
  padding: 12px 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  overflow: hidden;
}
.notification-banner .nb {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(480px, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
.nb-icon {
  font-size: 20px;
  line-height: 1;
}
.nb-message {
  color: #013861;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: 3em;
  word-break: break-word;
}
.nb-learn {
  background: #3582b7;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
}
.nb-learn--ghost {
  visibility: hidden;
}

/* Close (fixed position at far right of banner) */
.nb-close {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #3582b7;
}

:root {
  --nb-close-right: 24px;
  --nb-close-size: 28px;
  --nb-close-gap: 12px;
}

/* reserve space for the X */
.notification-banner {
  padding-right: calc(
    var(--nb-close-right) + var(--nb-close-size) + var(--nb-close-gap)
  );
}

/* fixed X */
.nb-close {
  position: absolute;
  top: 50%;
  right: var(--nb-close-right);
  transform: translateY(-50%);
  width: var(--nb-close-size);
  height: var(--nb-close-size);
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #3582b7;
}

@media (max-width: 992px) {
  :root {
    --nb-close-right: 16px;
    --nb-close-size: 26px;
    --nb-close-gap: 8px;
  }
}

@media (max-width: 992px) {
  .notification-banner .nb {
    grid-template-columns: auto 1fr auto;
    max-width: 90%;
    gap: 12px;
  }
}

/* --- Notifications sidebar layout fix (page-scoped) --- */
:root {
  --notif-width: 360px;
} /* adjust if you change the panel width */

/* Ensure the panel has a concrete width so we can reserve space beside it */
.rightSidebar {
  width: var(--notif-width);
  min-width: var(--notif-width);
}

/* Smoothly shift the page when the panel is visible */
#pageContent {
  transition: margin-right 0.2s ease;
}

/* When the panel is open, reserve space on the right and relax the max-width
   so the centered .container can still fit beside the panel */
.notif-open #pageContent {
  margin-right: var(--notif-width);
}
.notif-open .container,
.notif-open .hero-section .container {
  max-width: calc(
    100vw - var(--notif-width) - 24px
  ); /* 24px ≈ your container side padding */
}

/* On smaller screens, don’t push—let it stack/overlay as needed */
@media (max-width: 992px) {
  .notif-open #pageContent {
    margin-right: 0;
  }
  .notif-open .container,
  .notif-open .hero-section .container {
    max-width: 100%;
  }
}

.stripedImage-Icon {
  width: 100%;
  height: 40px;
  /* margin-bottom: 10px; */
}
.stripedImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px; /* adjust height based on your SVG height */
  background-image: url("/Landing_Page-Striped_Lines_2_Grey.svg");
  background-repeat: repeat-x;
  background-size: contain;
  background-position: top;
  background-color: transparent;
  overflow: hidden;
  z-index: 1;
}
.stripedImage2 {
  top: 0;
  left: 0;
  width: 100%;
  height: 30px; /* adjust height based on your SVG height */
  background-image: url("/Landing_Page-Striped_Lines_2_Grey.svg");
  background-repeat: repeat-x;
  background-size: contain;
  background-position: top;
  background-color: transparent;
  overflow: hidden;
  z-index: 1;
}
#searchButton {
  border-radius: 0px 0px 5px 0px !important;
  background: #00477c;
}
#a-notifications {
  color: #2a2c2e !important;
  font-family: "Roboto", sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
}
#closebtn-notifications {
  color: #2a2c2e !important;
  font-family: "Roboto", sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
}

.full-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
}
