/* ================================================
   STATUS COLORS - Atlassian Status Page colors
   1-to-1 mapping: each Atlassian color = one CSS class
   Colors extracted from sample.html
   ================================================ */
:root {
  /* Operational - Green */
  --c-2fcc66: #2fcc66;
  --c-2fcc66-bg: #e6f9ed;

  /* Critical - Red */
  --c-e74c3c: #e74c3c;
  --c-e74c3c-bg: #fdecea;

  /* Major - Orange-red */
  --c-e76230: #e76230;
  --c-e76230-bg: #fef0eb;

  /* Burnt orange */
  --c-e66d2b: #e66d2b;
  --c-e66d2b-bg: #fef1e9;

  /* Amber/Orange */
  --c-ea951c: #ea951c;
  --c-ea951c-bg: #fef4e8;

  /* Yellow */
  --c-f1c20f: #f1c20f;
  --c-f1c20f-bg: #fef9e6;

  /* Lime */
  --c-a7c730: #a7c730;
  --c-a7c730-bg: #f5f9e8;

  /* Lime variant */
  --c-b1c72c: #b1c72c;
  --c-b1c72c-bg: #f6f9e8;

  /* Maintenance - Blue */
  --c-3498db: #3498db;
  --c-3498db-bg: #e9f4fc;

  /* No Data - Gray */
  --c-b3bac5: #b3bac5;
  --c-b3bac5-bg: #f3f4f6;
}

/* Loading overlay */
.bd-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.bd-loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.bd-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #E8EAED;
  border-top-color: #1A73E8;
  border-radius: 50%;
  animation: bd-spin 0.8s linear infinite;
}

.bd-loading-text {
  margin-top: 16px;
  font-size: 14px;
  color: #5F6368;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@keyframes bd-spin {
  to { transform: rotate(360deg); }
}

/* Hide content until loaded */
.bd-content-loading .layout-content {
  visibility: hidden;
}

/* Hide the default status banner */
.page-status {
  display: none !important;
}

/* Hide the dark grey header with "Black Duck Status" text */
.text-container {
  display: none !important;
}

/* Reduce masthead/cover image padding */
.masthead {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.images-container,
#cover-image-container {
  height: 300px !important;
  min-height: 300px !important;
  max-height: 300px !important;
}

/* Hide About This Site section */
.page-footer,
.about-this-site,
.text-section:has(#about-this-site) {
  display: none !important;
}

/* Hide Past Incidents section - JS will hide unresolved after parsing */
.past-incidents,
.incidents-list,
#past-incidents {
  display: none !important;
}

/* Hide "Uptime over the past 90 days" text */
.uptime-description,
.components-uptime-link,
[class*="uptime-day"] {
  display: none !important;
}

/* Hide default subscribe button */
.subscribe-btn,
.btn-subscribe,
[class*="subscribe"]:not(.subscribe-row):not(.subscribe-link) {
  display: none !important;
}

/* Main page status banner */
.main-status-banner {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.main-status-banner.all-good {
  background: linear-gradient(135deg, var(--c-2fcc66) 0%, #27ae60 100%);
  color: #FFFFFF;
}

/* Banner colors - 1-to-1 mapping (colors from sample.html) */
.main-status-banner.has-issues.c-e74c3c { background: linear-gradient(135deg, var(--c-e74c3c) 0%, #c0392b 100%); color: #FFFFFF; }
.main-status-banner.has-issues.c-e76230 { background: linear-gradient(135deg, var(--c-e76230) 0%, #c75320 100%); color: #FFFFFF; }
.main-status-banner.has-issues.c-e66d2b { background: linear-gradient(135deg, var(--c-e66d2b) 0%, #c45a20 100%); color: #FFFFFF; }
.main-status-banner.has-issues.c-ea951c { background: linear-gradient(135deg, var(--c-ea951c) 0%, #c98010 100%); color: #FFFFFF; }
.main-status-banner.has-issues.c-f1c20f { background: linear-gradient(135deg, var(--c-f1c20f) 0%, #d4ac0d 100%); color: #FFFFFF; }
.main-status-banner.has-issues.c-a7c730 { background: linear-gradient(135deg, var(--c-a7c730) 0%, #8fb32a 100%); color: #FFFFFF; }
.main-status-banner.has-issues.c-b1c72c { background: linear-gradient(135deg, var(--c-b1c72c) 0%, #95a824 100%); color: #FFFFFF; }
.main-status-banner.has-issues.c-3498db { background: linear-gradient(135deg, var(--c-3498db) 0%, #2980b9 100%); color: #FFFFFF; }

.main-banner-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
}

.main-banner-text {
  font-size: 18px;
  font-weight: 600;
}

/* Action row under status matrix */
.action-row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  margin-bottom: 20px;
}

.more-link {
  display: inline-block !important;
  color: #1A73E8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.more-link:hover {
  text-decoration: underline;
}

.subscribe-link {
  display: inline-block !important;
  color: #1A73E8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.subscribe-link:hover {
  text-decoration: underline;
}

/* Main page incidents section */
.main-incidents-section {
  margin: 24px 0;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  overflow: hidden;
}

.incidents-section-title {
  margin: 0;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #202124;
  background: #F8F9FA;
  border-bottom: 1px solid #E8EAED;
}

.main-incidents-list {
  padding: 0;
}

.main-incident-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #E8EAED;
}

.main-incident-item:last-child {
  border-bottom: none;
}

/* Incident items - keep legacy class names for incident parsing */
.main-incident-item.outage { background: var(--c-e74c3c-bg); border-left: 4px solid var(--c-e74c3c); }
.main-incident-item.disruption { background: var(--c-e76230-bg); border-left: 4px solid var(--c-e76230); }
.main-incident-item.minor { background: var(--c-f1c40f-bg); border-left: 4px solid var(--c-f1c40f); }
.main-incident-item.maintenance,
.main-incident-item.info { background: var(--c-3498db-bg); border-left: 4px solid var(--c-3498db); }
.main-incident-item.operational { background: var(--c-2fcc66-bg); border-left: 4px solid var(--c-2fcc66); }

.incident-status-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
}

.main-incident-item.outage .incident-status-icon { background: var(--c-e74c3c-bg); color: var(--c-e74c3c); }
.main-incident-item.disruption .incident-status-icon { background: var(--c-e76230-bg); color: var(--c-e76230); }
.main-incident-item.minor .incident-status-icon { background: var(--c-f1c40f-bg); color: var(--c-f1c40f); }
.main-incident-item.maintenance .incident-status-icon,
.main-incident-item.info .incident-status-icon { background: var(--c-3498db-bg); color: var(--c-3498db); }
.main-incident-item.operational .incident-status-icon { background: var(--c-2fcc66-bg); color: var(--c-2fcc66); }

.incident-details {
  flex: 1;
}

.incident-title-link {
  font-weight: 500;
  color: #202124;
  text-decoration: none;
  font-size: 15px;
}

.incident-title-link:hover {
  color: #1A73E8;
  text-decoration: underline;
}

.incident-date-text {
  font-size: 13px;
  color: #5F6368;
  margin-top: 4px;
}

.incident-update-text {
  font-size: 14px;
  color: #3C4043;
  margin-top: 8px;
  line-height: 1.5;
}

.incident-updates {
  margin-top: 12px;
}

.incident-update-item {
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  line-height: 1.5;
  color: #3C4043;
}

.incident-update-item:first-child {
  border-top: none;
  padding-top: 0;
}

.incident-update-item strong {
  color: #202124;
}

.update-message {
  white-space: pre-wrap;
}

.update-timestamp {
  color: #5F6368;
  font-size: 12px;
}

/* Hide default footer */
.page-footer {
  display: none !important;
}

/* Status Matrix Table */
.status-matrix {
  overflow-x: auto;
  margin: 20px 0;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.status-table thead {
  background: #F8F9FA;
  border-bottom: 2px solid #E8EAED;
}

.status-table th {
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  color: #5F6368;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-table th.service-header {
  text-align: left;
  min-width: 200px;
}

.status-table th.region-header {
  min-width: 100px;
}

.status-table tbody tr {
  border-bottom: 1px solid #E8EAED;
}

.status-table tbody tr:hover {
  background: #F8F9FA;
}

.status-table td {
  padding: 12px 16px;
  text-align: center;
}

.status-table td.service-name {
  text-align: left;
  font-weight: 500;
  color: #202124;
}

/* Status Icons */
.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
}

/* Status icons - 1-to-1 color mapping (colors from sample.html) */
.status-icon.c-2fcc66 { background: var(--c-2fcc66-bg); color: var(--c-2fcc66); }
.status-icon.c-e74c3c { background: var(--c-e74c3c-bg); color: var(--c-e74c3c); }
.status-icon.c-e76230 { background: var(--c-e76230-bg); color: var(--c-e76230); }
.status-icon.c-e66d2b { background: var(--c-e66d2b-bg); color: var(--c-e66d2b); }
.status-icon.c-ea951c { background: var(--c-ea951c-bg); color: var(--c-ea951c); }
.status-icon.c-f1c20f { background: var(--c-f1c20f-bg); color: var(--c-f1c20f); }
.status-icon.c-a7c730 { background: var(--c-a7c730-bg); color: var(--c-a7c730); }
.status-icon.c-b1c72c { background: var(--c-b1c72c-bg); color: var(--c-b1c72c); }
.status-icon.c-3498db { background: var(--c-3498db-bg); color: var(--c-3498db); }
.status-icon.c-b3bac5 { background: var(--c-b3bac5-bg); color: var(--c-b3bac5); }

/* Custom Footer */
.custom-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  margin-top: 40px;
  border-top: 1px solid #E8EAED;
  font-size: 14px;
}

.custom-footer-left {
  display: flex;
  gap: 24px;
}

.custom-footer-left a {
  color: #1A73E8;
  text-decoration: none;
}

.custom-footer-left a:hover {
  text-decoration: underline;
}

.custom-footer-right {
  display: flex;
  gap: 24px;
}

.custom-footer-right a {
  color: #1A73E8;
  text-decoration: none;
}

.custom-footer-right a:hover {
  text-decoration: underline;
}

.custom-footer-right a.subscribe-btn {
  background: #1A73E8;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
}

.custom-footer-right a.subscribe-btn:hover {
  background: #1557B0;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .status-table th.region-header,
  .status-table td.status-cell {
    min-width: 60px;
    padding: 10px 8px;
  }

  .status-table th.region-header {
    font-size: 11px;
  }

  .custom-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .custom-footer-right {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ================================================
   UPTIME PAGE STYLES (AWS-style)
   ================================================ */

.aws-status-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* AWS Banner */
.aws-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.aws-banner.all-good {
  background: linear-gradient(135deg, var(--c-2fcc66) 0%, #27ae60 100%);
  color: #FFFFFF;
}

/* AWS banner colors - 1-to-1 mapping (colors from sample.html) */
.aws-banner.has-issues.c-e74c3c { background: linear-gradient(135deg, var(--c-e74c3c) 0%, #c0392b 100%); color: #FFFFFF; }
.aws-banner.has-issues.c-e76230 { background: linear-gradient(135deg, var(--c-e76230) 0%, #c75320 100%); color: #FFFFFF; }
.aws-banner.has-issues.c-e66d2b { background: linear-gradient(135deg, var(--c-e66d2b) 0%, #c45a20 100%); color: #FFFFFF; }
.aws-banner.has-issues.c-ea951c { background: linear-gradient(135deg, var(--c-ea951c) 0%, #c98010 100%); color: #FFFFFF; }
.aws-banner.has-issues.c-f1c20f { background: linear-gradient(135deg, var(--c-f1c20f) 0%, #d4ac0d 100%); color: #FFFFFF; }
.aws-banner.has-issues.c-a7c730 { background: linear-gradient(135deg, var(--c-a7c730) 0%, #8fb32a 100%); color: #FFFFFF; }
.aws-banner.has-issues.c-b1c72c { background: linear-gradient(135deg, var(--c-b1c72c) 0%, #95a824 100%); color: #FFFFFF; }
.aws-banner.has-issues.c-3498db { background: linear-gradient(135deg, var(--c-3498db) 0%, #2980b9 100%); color: #FFFFFF; }

.aws-banner-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  flex-shrink: 0;
}

.aws-banner-content {
  flex: 1;
}

.aws-banner-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.aws-banner-subtitle {
  font-size: 14px;
  opacity: 0.9;
}

/* AWS Toolbar */
.aws-toolbar {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.aws-search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.aws-search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.5;
}

.aws-search-box input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid #D5DBDB;
  border-radius: 4px;
  font-size: 14px;
  background: #FFFFFF;
  box-sizing: border-box;
}

.aws-search-box input:focus {
  outline: none;
  border-color: #0073BB;
  box-shadow: 0 0 0 3px rgba(0, 115, 187, 0.1);
}

.aws-filters {
  display: flex;
  gap: 12px;
}

.aws-select {
  padding: 14px 32px 14px 12px;
  border: 1px solid #D5DBDB;
  border-radius: 4px;
  font-size: 14px;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23545B64' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
  min-width: 140px;
  height: 46px;
}

.aws-select:focus {
  outline: none;
  border-color: #0073BB;
}

.aws-date-picker {
  padding: 12px;
  border: 1px solid #D5DBDB;
  border-radius: 4px;
  font-size: 14px;
  background: #FFFFFF;
  cursor: pointer;
  min-width: 160px;
}

.aws-date-picker:focus {
  outline: none;
  border-color: #0073BB;
}

/* AWS Service List */
.aws-service-list {
  background: #FFFFFF;
  border: 1px solid #D5DBDB;
  border-radius: 4px;
  overflow: hidden;
}

.aws-list-header {
  display: flex;
  background: #FAFAFA;
  border-bottom: 1px solid #D5DBDB;
  font-size: 12px;
  font-weight: 600;
  color: #545B64;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aws-list-header > div {
  padding: 14px 16px;
}

.aws-col-service {
  flex: 0 0 200px;
  min-width: 200px;
}

.aws-col-region {
  flex: 0 0 140px;
  min-width: 140px;
}


.aws-col-nav {
  flex: 0 0 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aws-col-history {
  flex: 1;
  display: flex;
  min-width: 0;
}

.nav-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid #D5DBDB;
  background: #FFFFFF;
  border-radius: 4px;
  font-size: 18px;
  color: #545B64;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.nav-arrow:hover {
  background: #F7F9FA;
  border-color: #879596;
}

.nav-arrow:active {
  background: #EAEDED;
}

.nav-arrow.nav-left {
  margin: 0;
}

.nav-arrow.nav-right {
  margin: 0;
}

.aws-day-header {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  min-width: 70px;
}

.aws-day-header .day-name {
  font-size: 11px;
  color: #545B64;
}

.aws-day-header .day-date {
  font-size: 10px;
  color: #879596;
  margin-top: 2px;
}

/* Region Headers */
.aws-region-header {
  background: #F7F9FA;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #16191F;
  border-bottom: 1px solid #EAEDED;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Service Rows */
.aws-service-row {
  display: flex;
  border-bottom: 1px solid #EAEDED;
  transition: background 0.15s;
}

.aws-service-row:last-child {
  border-bottom: none;
}

.aws-service-row:hover {
  background: #F7F9FA;
}

.aws-service-row > div {
  padding: 16px;
  display: flex;
  align-items: center;
}

.aws-service-row .aws-col-service {
  font-weight: 500;
  color: #16191F;
}

.aws-service-row .aws-col-region {
  color: #545B64;
  font-size: 13px;
}

.aws-service-row .aws-col-history {
  padding: 12px 8px;
}

.aws-day-cell {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 70px;
}

/* Status Badges */
.aws-status-badge,
.aws-day-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

/* AWS day indicators - 1-to-1 color mapping (colors from sample.html) */
.aws-status-badge.c-2fcc66, .aws-day-indicator.c-2fcc66 { background: var(--c-2fcc66-bg); color: var(--c-2fcc66); }
.aws-status-badge.c-e74c3c, .aws-day-indicator.c-e74c3c { background: var(--c-e74c3c-bg); color: var(--c-e74c3c); }
.aws-status-badge.c-e76230, .aws-day-indicator.c-e76230 { background: var(--c-e76230-bg); color: var(--c-e76230); }
.aws-status-badge.c-e66d2b, .aws-day-indicator.c-e66d2b { background: var(--c-e66d2b-bg); color: var(--c-e66d2b); }
.aws-status-badge.c-ea951c, .aws-day-indicator.c-ea951c { background: var(--c-ea951c-bg); color: var(--c-ea951c); }
.aws-status-badge.c-f1c20f, .aws-day-indicator.c-f1c20f { background: var(--c-f1c20f-bg); color: var(--c-f1c20f); }
.aws-status-badge.c-a7c730, .aws-day-indicator.c-a7c730 { background: var(--c-a7c730-bg); color: var(--c-a7c730); }
.aws-status-badge.c-b1c72c, .aws-day-indicator.c-b1c72c { background: var(--c-b1c72c-bg); color: var(--c-b1c72c); }
.aws-status-badge.c-3498db, .aws-day-indicator.c-3498db { background: var(--c-3498db-bg); color: var(--c-3498db); }
.aws-status-badge.c-b3bac5, .aws-day-indicator.c-b3bac5 { background: var(--c-b3bac5-bg); color: var(--c-b3bac5); }

/* Today column highlight - subtle only */
.aws-day-header.today-col {
  font-weight: 600;
}

.aws-day-cell.today-col {
  /* No background highlight */
}

/* No Results */
.aws-no-results {
  padding: 40px;
  text-align: center;
  color: #545B64;
  font-size: 14px;
}

/* Incidents Section */
.aws-incidents-section {
  margin-top: 32px;
}

.aws-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #16191F;
  margin-bottom: 16px;
}

.aws-incidents-list {
  background: #FFFFFF;
  border: 1px solid #D5DBDB;
  border-radius: 4px;
}

.aws-incident-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #EAEDED;
}

.aws-incident-item:last-child {
  border-bottom: none;
}

.aws-incident-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.aws-incident-status.outage { background: var(--c-e74c3c); }
.aws-incident-status.disruption { background: var(--c-e76230); }
.aws-incident-status.minor { background: var(--c-f1c40f); }
.aws-incident-status.maintenance,
.aws-incident-status.info { background: var(--c-3498db); }
.aws-incident-status.operational,
.aws-incident-status.resolved { background: var(--c-2fcc66); }

.aws-incident-content {
  flex: 1;
}

.aws-incident-title {
  font-weight: 500;
  color: #16191F;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.aws-incident-title:hover {
  color: #0073BB;
  text-decoration: underline;
}

.aws-incident-date {
  font-size: 13px;
  color: #545B64;
}

.aws-incident-update {
  font-size: 14px;
  color: #3C4043;
  margin-top: 8px;
  line-height: 1.5;
}

.aws-incident-updates {
  margin-top: 12px;
}

.aws-update-item {
  padding: 10px 0;
  border-top: 1px solid #EAEDED;
  font-size: 14px;
  line-height: 1.5;
  color: #3C4043;
}

.aws-update-item:first-child {
  border-top: none;
  padding-top: 0;
}

.aws-update-item strong {
  color: #16191F;
}

.aws-update-message {
  white-space: pre-wrap;
}

.aws-update-timestamp {
  color: #545B64;
  font-size: 12px;
}

.aws-incident-title {
  font-weight: 500;
  color: #16191F;
  margin-bottom: 4px;
}

.aws-incident-date {
  font-size: 13px;
  color: #545B64;
}

/* AWS Footer */
.aws-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #EAEDED;
}

.aws-footer a {
  color: #0073BB;
  text-decoration: none;
  font-size: 14px;
}

.aws-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .aws-status-page {
    padding: 16px;
  }

  .aws-toolbar {
    flex-direction: column;
  }

  .aws-search-box {
    min-width: 100%;
  }

  .aws-filters {
    width: 100%;
  }

  .aws-select {
    flex: 1;
  }

  .aws-col-service {
    flex: 0 0 140px;
    min-width: 140px;
  }

  .aws-col-region {
    flex: 0 0 100px;
    min-width: 100px;
  }

  .aws-day-header,
  .aws-day-cell {
    min-width: 50px;
  }

  .aws-day-header .day-name {
    font-size: 10px;
  }

  .aws-day-header .day-date {
    font-size: 9px;
  }

  .aws-status-badge,
  .aws-day-indicator {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .aws-service-list {
    overflow-x: auto;
  }

  .aws-list-header,
  .aws-service-row {
    min-width: 700px;
  }

  .aws-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ================================================
   SLIDE-UP MODALS
   ================================================ */

.slideup-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.slideup-modal.open {
  opacity: 1;
  visibility: visible;
}

.slideup-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 85vh;
  background: #FFFFFF;
  border-radius: 16px 16px 0 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.slideup-modal.open .slideup-content {
  transform: translateY(0);
}

.slideup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #E8EAED;
  background: #FAFAFA;
  flex-shrink: 0;
}

.slideup-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #16191F;
}

.slideup-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #E8EAED;
  border-radius: 50%;
  font-size: 18px;
  color: #545B64;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.slideup-close:hover {
  background: #D5DBDB;
}

.slideup-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* Footer divider */
.footer-divider {
  color: #D5DBDB;
  margin: 0 8px;
}

/* No incidents state */
.aws-no-incidents {
  text-align: center;
  padding: 60px 20px;
}

.no-incidents-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #1E8E3E 0%, #34A853 100%);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.no-incidents-text {
  font-size: 18px;
  font-weight: 600;
  color: #16191F;
  margin-bottom: 8px;
}

.no-incidents-subtext {
  font-size: 14px;
  color: #545B64;
}

/* Mobile adjustments for modals */
@media (max-width: 768px) {
  .slideup-content {
    height: 90vh;
  }

  .slideup-header {
    padding: 16px 20px;
  }

  .slideup-header h2 {
    font-size: 18px;
  }

  .slideup-body {
    padding: 16px;
  }

  .aws-toolbar {
    flex-direction: column;
    gap: 12px;
  }

  .aws-search-box {
    width: 100%;
  }

  .aws-filters {
    width: 100%;
    flex-direction: column;
  }

  .aws-select {
    width: 100%;
  }
}