/* Logitech Brown Font Family */
@font-face {
  font-family: 'Brown Logitech';
  src: url('https://www.logitech.com/_app/fonts/BrownLogitechWebPan-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brown Logitech';
  src: url('https://www.logitech.com/_app/fonts/BrownLogitechWebPan-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brown Logitech';
  src: url('https://www.logitech.com/_app/fonts/BrownLogitechWebPan-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Apply to text elements - EXCLUDE icon buttons using :not() */
body, h1, h2, h3, h4, h5, h6, p, a, 
button:not(.fa):not(.icon-indicator):not(.status-icon-button), 
input, textarea, select, label, li, td, th {
  font-family: 'Brown Logitech', Helvetica, Arial, sans-serif !important;
}

/* Explicitly preserve Font Awesome icons with higher specificity */
.fa.icon-indicator,
button.fa,
button.icon-indicator,
button.status-icon-button,
.fa, .fas, .far, .fal, .fab,
[class*="fa-"],
i[class*="icon"],
.material-icons, 
.glyphicon {
  font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 5 Brands', inherit !important;
}

/* Subscribe to Updates Button Styling */
.show-updates-dropdown {
  border-radius: 60px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 24px !important;
  line-height: 48px !important;
}

/* All Systems Operational - Regular font size, no bottom margin, vertically centered */
.page-status .status.font-large {
  font-size: 1rem !important;
  margin-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: left !important;
}

footer a:hover {
  text-decoration: underline !important;
}

/* Make all h2 with font-largest class bold */
h2.font-largest {
  font-weight: 700 !important;
}

/* Remove vertical padding from masthead */
.masthead.has-logo {
  padding-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Reduce logo size further while maintaining alignment */
.logo-container img {
  max-height: 120px !important;
  width: auto !important;
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .logo-container img {
    max-height: 80px !important;
  }
}

/* Full-width banner below masthead */
.masthead-container.basic::after {
  content: '';
  display: block;
  width: 100vw;
  height: 400px;
  background-image: url('https://resource.logitech.com/content/dam/logitech/en/homepage/banners/background-banner/status-banner.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  margin-bottom: 40px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* CRITICAL: Force inline layout on all screen sizes */
.masthead.has-logo {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 16px !important;
}

/* Logo container - ensure proper vertical centering */
.logo-container {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 75% !important;
  display: flex !important;
  align-items: center !important;
}

.logo-container a {
  display: flex !important;
  align-items: center !important;
}

.logo-container img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 120px !important;
}

/* Button container - ensure proper vertical centering */
.updates-dropdown-container {
  flex: 0 0 auto !important;
  position: static !important;
  margin: 0 !important;
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
}

/* Button itself */
.show-updates-dropdown {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Tablet/Mobile adjustments */
@media (max-width: 768px) {
  .masthead.has-logo {
    gap: 12px !important;
  }
  
  .logo-container {
    max-width: 70% !important;
  }
  
  .logo-container img {
    max-height: 80px !important;
  }
  
  .subscribe-text-full {
    display: none !important;
  }
  
  .subscribe-text-short {
    display: inline !important;
  }
  
  .show-updates-dropdown {
    padding: 0 16px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .masthead.has-logo {
    padding: 8px 12px !important;
    gap: 10px !important;
  }
  
  .logo-container {
    max-width: 65% !important;
    margin-bottom: 0 !important;
  }
  
  .logo-container img {
    max-height: 70px !important;
  }
  
  .show-updates-dropdown {
    padding: 0 14px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 13px !important;
  }
}

.no-incidents {
display:none;
}

.incidents-list:not(:has(.status-day:not(.no-incidents)))::after {
    margin-top: 10px;
  	  display: block;
    content: "No incidents reported in the past two weeks.";
  }