@import url('https://rsms.me/inter/inter.css');

/* ============================================
   CSS VARIABLES (Header)
   ============================================ */
:root {
    /* Colors */
    --primary-dark: #002357;
    --primary-blue: #0059dd;
    --primary-blue-hover: #004499;
    --primary-blue-active: #003077;
    --secondary-gray: #3d5361;
    --light-bg: #eaf0f4;
    --white: #ffffff;
    --hover-light: #e6e6e6;
    --border-hover: #0044aa;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
    --spacing-3xl: 48px;
}

/* ============================================
   BASE STYLES & TYPOGRAPHY
   ============================================ */
* {
    box-sizing: border-box;
}

body, .layout-content, .component-name, .incident-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    text-shadow: none !important;
}

body {
    margin: 0;
    padding: 0 16px;
    background-color: var(--white);
}

/* ============================================
   HEADER STRUCTURE
   ============================================ */

/* Hide checkbox toggle */
#menu-toggle {
    display: none;
}

.site-header {
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    margin: 0 -16px;
    width: calc(100% + 32px);
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    z-index: -1;
    pointer-events: none;
}

.header-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================
   TOP NAVIGATION (SUB-NAV)
   ============================================ */
.sub-nav {
    background-color: var(--primary-dark);
    color: var(--white);
    height: 32px;
}

.sub-nav .header-container {
    min-height: 32px;
    justify-content: flex-end;
}

.sub-nav .top-menu ul {
    display: flex;
    gap: var(--spacing-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.sub-nav .top-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1rem;
    color: var(--white);
    text-decoration: none;
}

.sub-nav .top-menu a:hover {
    color: #81ADEF;
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.main-nav {
    background-color: var(--white);
    position: relative;
}

.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    z-index: -1;
    pointer-events: none;
}

.main-nav .header-container {
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: 88px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Logo */
.site-header .logo img {
    display: block;
    width: 131.69px;
    height: 32px;
}

/* Main Menu */
.main-menu ul {
    display: flex;
    gap: var(--spacing-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu a {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    letter-spacing: -0.01em;
    color: var(--primary-dark);
    text-decoration: none;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--primary-blue);
}

/* ============================================
   HEADER BUTTONS
   ============================================ */
.site-header .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.site-header .btn-secondary {
    background-color: var(--white);
    border: 2px solid var(--light-bg);
    color: var(--primary-dark);
    height: 48px;
    padding: 15.5px 18px;
}

.site-header .btn-secondary:hover {
    border-color: var(--border-hover);
    text-decoration: none;
}

.site-header .btn-secondary:active {
    background-color: #D7E5FB;
}

/* ============================================
   SUBSCRIBE BUTTON WRAPPER
   ============================================ */
.subscribe-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

/* Style the Statuspage subscribe button to match our design */
.subscribe-wrapper .btn:not(#updates-dropdown-close-btn),
.subscribe-wrapper .updates-dropdown-btn,
.subscribe-wrapper .show-updates-dropdown,
.subscribe-wrapper button:not(#updates-dropdown-close-btn),
#replace-with-subscribe .btn:not(#updates-dropdown-close-btn),
#replace-with-subscribe .updates-dropdown-btn,
#replace-with-subscribe .show-updates-dropdown,
#replace-with-subscribe button:not(#updates-dropdown-close-btn),
.site-header .show-updates-dropdown,
.nav-right .show-updates-dropdown {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    border: none !important;
    height: 48px !important;
    padding: 16px 18px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    line-height: 1rem !important;
    letter-spacing: -0.02em !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.subscribe-wrapper .btn:not(#updates-dropdown-close-btn):hover,
.subscribe-wrapper .updates-dropdown-btn:hover,
.subscribe-wrapper .show-updates-dropdown:hover,
.subscribe-wrapper button:not(#updates-dropdown-close-btn):hover,
#replace-with-subscribe .btn:not(#updates-dropdown-close-btn):hover,
#replace-with-subscribe .updates-dropdown-btn:hover,
#replace-with-subscribe .show-updates-dropdown:hover,
#replace-with-subscribe button:not(#updates-dropdown-close-btn):hover,
.site-header .show-updates-dropdown:hover,
.nav-right .show-updates-dropdown:hover {
    background-color: var(--primary-blue-hover) !important;
    text-decoration: none;
}

/* Right-align the subscribe dropdown modal and ensure it's above other elements */
.subscribe-wrapper .updates-dropdown,
.nav-right .updates-dropdown,
#replace-with-subscribe .updates-dropdown,
.updates-dropdown {
    right: 0 !important;
    left: auto !important;
    z-index: 1100 !important;
    position: absolute !important;
}

/* Ensure subscribe wrapper creates proper stacking context */
.subscribe-wrapper,
#replace-with-subscribe {
    position: relative;
    z-index: 1100;
}

/* ============================================
   MOBILE CONTROLS (Hidden on Desktop)
   ============================================ */
.menu-open-label,
.menu-close-label {
    display: none;
    background: none;
    border: none;
    padding: var(--spacing-xs);
    cursor: pointer;
    align-items: center;
}

.menu-open-label img,
.menu-close-label img {
    width: 24px;
    height: 24px;
}

/* ============================================
   DESKTOP (1201px+)
   ============================================ */
@media (min-width: 1201px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ============================================
   MOBILE & TABLET (Max 1200px)
   ============================================ */
@media (max-width: 1200px) {
    /* Hide these on mobile */
    .sub-nav,
    .main-menu,
    .nav-right .btn-secondary {
        display: none;
    }
    
    /* Show subscribe wrapper on mobile (in header) */
    .nav-right .subscribe-wrapper {
        display: flex !important;
    }
    
    .mobile-footer .btn-secondary,
    .mobile-footer .subscribe-wrapper {
        display: flex !important;
    }

    /* Mobile header padding */
    .header-container {
        padding: 0 var(--spacing-xl);
    }

    .main-nav .header-container {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
        min-height: 88px;
    }

    .site-header .logo img {
        width: 132px;
        height: 32px;
    }

    .nav-right {
        gap: var(--spacing-md);
        align-items: center;
    }

    /* Mobile header subscribe button - smaller size */
    .nav-right .subscribe-wrapper .btn:not(#updates-dropdown-close-btn),
    .nav-right .subscribe-wrapper .updates-dropdown-btn,
    .nav-right .subscribe-wrapper .show-updates-dropdown,
    .nav-right .subscribe-wrapper button:not(#updates-dropdown-close-btn),
    .nav-right #replace-with-subscribe .btn:not(#updates-dropdown-close-btn),
    .nav-right #replace-with-subscribe .updates-dropdown-btn,
    .nav-right #replace-with-subscribe .show-updates-dropdown,
    .nav-right #replace-with-subscribe button:not(#updates-dropdown-close-btn) {
        height: 40px !important;
        padding: 10px 14px !important;
        font-size: 0.875rem !important;
    }

    /* Mobile footer buttons */
    .mobile-footer .btn {
        width: 100%;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        border-radius: 8px !important;
        font-weight: 500 !important;
        font-size: 1rem !important;
        line-height: 1rem !important;
        letter-spacing: -0.02em !important;
        white-space: nowrap !important;
        text-align: center !important;
        cursor: pointer !important;
        height: 48px !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .mobile-footer .btn-secondary {
        background-color: var(--white) !important;
        border: 2px solid var(--light-bg) !important;
        color: var(--primary-dark) !important;
        padding: 14px 18px !important;
    }

    .mobile-footer .btn-secondary:hover {
        border-color: var(--border-hover) !important;
    }

    .mobile-footer .btn-secondary:active {
        background-color: #D7E5FB !important;
    }

    .mobile-footer .subscribe-wrapper {
        width: 100%;
        display: flex !important;
    }

    .mobile-footer .subscribe-wrapper #replace-with-subscribe,
    .mobile-footer #replace-with-subscribe {
        width: 100%;
        display: flex !important;
    }

    /* Mobile footer subscribe button - full width primary style */
    .mobile-footer .subscribe-wrapper .btn:not(#updates-dropdown-close-btn),
    .mobile-footer .subscribe-wrapper .updates-dropdown-btn,
    .mobile-footer .subscribe-wrapper .show-updates-dropdown,
    .mobile-footer .subscribe-wrapper button:not(#updates-dropdown-close-btn),
    .mobile-footer #replace-with-subscribe .btn:not(#updates-dropdown-close-btn),
    .mobile-footer #replace-with-subscribe .updates-dropdown-btn,
    .mobile-footer #replace-with-subscribe .show-updates-dropdown,
    .mobile-footer #replace-with-subscribe button:not(#updates-dropdown-close-btn),
    .mobile-footer .show-updates-dropdown {
        width: 100% !important;
        background-color: var(--primary-blue) !important;
        color: var(--white) !important;
        border: none !important;
        height: 48px !important;
        padding: 16px 18px !important;
        border-radius: 8px !important;
        font-weight: 500 !important;
        font-size: 1rem !important;
        line-height: 1rem !important;
        letter-spacing: -0.02em !important;
        box-shadow: none !important;
        text-shadow: none !important;
        text-transform: none !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        white-space: nowrap !important;
    }

    #menu-toggle:not(:checked) ~ .site-header .menu-open-label {
        display: flex;
    }

    #menu-toggle:checked ~ .site-header .menu-close-label {
        display: flex;
    }

    #menu-toggle:checked ~ .site-header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: var(--white) !important;
        margin: 0 !important;
        width: 100% !important;
    }

    /* When menu is open, adjust padding to match mobile-menu-container */
    #menu-toggle:checked ~ .site-header .header-container {
        padding-left: var(--spacing-xl) !important;
        padding-right: var(--spacing-xl) !important;
    }

    #menu-toggle:checked ~ .site-header .main-nav .header-container {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }

    #menu-toggle:checked ~ .site-header .main-nav {
        background-color: var(--white) !important;
    }

    body:has(#menu-toggle:checked) {
        overflow: hidden;
        height: 100vh;
    }

    /* ============================================
       MOBILE MENU
       ============================================ */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 88px;
        left: 0;
        width: 100%;
        height: calc(100vh - 88px);
        background-color: var(--white);
        z-index: 1001;
        overflow: hidden;
        flex-direction: column;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
    }

    #menu-toggle:checked ~ .mobile-menu {
        display: flex;
    }

    .mobile-menu-container {
        width: 100%;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        height: 100%;
        /* 
         * The header has 24px padding from its edge.
         * The header spans from body edge (due to margin: 0 -16px on .site-header).
         * The mobile menu also starts from body edge (left: 0 on fixed position).
         * But body has 16px padding, so mobile-menu content starts 16px from screen edge.
         * To align with header content: we need 24px - 16px = 8px additional padding.
         * Total: 24px from screen edge = 8px (to compensate for body not applying here since fixed) + 16px
         * Actually fixed positioning ignores body padding, so we need full 24px from screen edge.
         */
        padding: var(--spacing-xl);
        padding-bottom: 0;
    }

    .mobile-main-content {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xl);
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 200px;
    }

    /* Mobile Navigation */
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav-section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-xl);
        cursor: pointer;
        padding: var(--spacing-sm) 0;
        text-decoration: none;
    }

    .nav-section-header:hover .nav-section-title {
        color: var(--primary-blue);
    }

    .nav-section-header img {
        width: 20px;
        height: 20px;
        transition: transform 0.3s ease;
    }

    .nav-section-title {
        color: var(--primary-dark);
        font-weight: 600;
        font-size: 1.5rem;
        line-height: 1.5rem;
        letter-spacing: -0.04em;
        margin: 0;
    }

    .additional-links {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .additional-links-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-lg);
        color: var(--secondary-gray);
        font-weight: 600;
        font-size: 1rem;
        line-height: 1rem;
        letter-spacing: -0.04em;
        padding: var(--spacing-sm) 0;
        text-decoration: none;
    }

    .additional-links-item:hover {
        color: var(--primary-blue);
    }

    .additional-links-item img {
        width: 20px;
        height: 20px;
    }

    .mobile-footer {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-xl);
        background-color: var(--white);
        border-top: 1px solid var(--light-bg);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1002;
        padding-bottom: calc(var(--spacing-xl) + env(safe-area-inset-bottom, 0px));
    }

    @supports (-webkit-touch-callout: none) {
        .mobile-footer {
            padding-bottom: calc(var(--spacing-xl) + max(env(safe-area-inset-bottom, 0px), 20px));
        }
        
        .mobile-menu-container {
            padding-bottom: calc(220px + max(env(safe-area-inset-bottom, 0px), 20px));
        }
        
        .mobile-menu {
            overscroll-behavior: none;
        }
    }
}

/* ============================================
   EXISTING STATUSPAGE STYLES
   ============================================ */

.pull-right {
    float: left !important;
    width: 100%;
    padding: 20px 0 16px 0;
    color: #3D5361;
}

.hidden {
    display: none !important;
}

.components-uptime-link {
    margin-bottom: 8px;
    visibility: hidden;
}

.components-uptime-link a {
    visibility: visible;
}

.unresolved-incident {
    background-color: rgb(255, 255, 255);
}

.scheduled-maintenances-container {
    background-color: rgb(248, 250, 252) !important;
    border-radius: 8px !important;
}

.layout-content.status.status-index .scheduled-maintenances-container .scheduled-maintenance .incident-title a {
    max-width: 100%;
}

.updates {
    background-color: rgb(248, 250, 252);
    border-radius: 8px !important;
}

.update:last-of-type {
    margin-bottom: 0 !important;
}

.incident-title {
    margin-bottom: 16px;
    border-radius: 8px !important;
}

.incident-title:not(.unresolved-incident .incident-title) {
    padding: 0.875rem 1.25rem 0.875rem 0 !important;
}

.flat-button,
.updates-dropdown-container .show-updates-dropdown {
    text-transform: none !important;
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.5) !important;
}

label {
    font-size: 14px;
}

.directions {
    margin-bottom: 4px;
}

.incident-name,
h1 {
    font-weight: 600 !important;
    font-size: 2rem !important;
    line-height: 2.25rem !important;
    letter-spacing: -0.04em !important;
}

.incident-container .incident-title::after {
    content: " →" !important;
}

.font-largest,
h4 {
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    line-height: 1.75rem !important;
    letter-spacing: -0.04em !important;
}

.font-large,
.subheader,
.date,
.month-title {
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    line-height: 1.5rem !important;
    letter-spacing: -0.02em !important;
}

.flat-button,
.layout-content.status .masthead-container .updates-dropdown-container .show-updates-dropdown {
    font-weight: 500 !important;
    font-size: 1rem !important;
    line-height: 1rem !important;
    letter-spacing: -0.02em !important;
}

.layout-content.status.status-index .page-status .status {
    top: 0px !important;
}

.page-title::before {
    content: "";
    display: block;
    width: 128px;
    height: 32px;
    background-image: url("//dka575ofm4ao0.cloudfront.net/pages-transactional_logos/retina/141632/Portbase_logo_Blue_RGB_300px-d76186c3-b809-4585-93e6-630f8e3a7fbf.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    margin-bottom: 20px;
}

.component-status {
    font-weight: 500;
}

.fa {
    user-select: none;
}

.unresolved-incident .incident-title {
    border-radius: 8px 8px 0 0;
}

.unresolved-incident.impact-minor .incident-title {
    background-color: #FFF6D1 !important;
    border: 1px solid #FFE062 !important;
}

.unresolved-incident.impact-minor .incident-title .subscribe,
.unresolved-incident.impact-minor .incident-title .actual-title {
    color: #5B4701 !important;
}

.unresolved-incident.impact-major .incident-title {
    background-color: #FFF6D1 !important;
    border: 1px solid #FFE062 !important;
}

.unresolved-incident.impact-major .incident-title .subscribe,
.unresolved-incident.impact-major .incident-title .actual-title {
    color: #5B4701 !important;
}

.unresolved-incident.impact-critical .incident-title {
    background-color: #FDE0E0 !important;
    border: 1px solid #F89595 !important;
}

.unresolved-incident.impact-critical .incident-title .subscribe,
.unresolved-incident.impact-critical .incident-title .actual-title {
    color: #930000 !important;
}

.page-status.status-none {
    background-color: #DFFED5 !important;
    border: 1px solid #B4EF9F !important;
}

.page-status.status-none h2.status {
    color: #226C06 !important;
    text-shadow: none !important;
}

.update {
    margin-bottom: 32px !important;
}

.updates {
    border: none !important;
}

.unresolved-incidents {
    background-color: #f7fafc !important;
    border-radius: 0 0 8px 8px;
}

/* ===== LAYOUT & CONTAINERS ===== */
.masthead-container.basic {
    max-width: 100% !important;
    width: 100% !important;
}

.container {
    padding: 0 !important;
    max-width: 800px;
    width: 100%;
}

.uptime-90-days-wrapper {
    padding-top: 24px !important;
}



.layout-content.status.status-index .components-section,
.unresolved-incidents {
    margin-bottom: 48px !important;
}

.layout-content.status.status-index .scheduled-maintenances-container {
    margin: 48px 0;
}

.component-container.border-color:not(:first-child) {
    padding-top: 8px !important;
}

.component-container.border-color:not(:last-child) {
    padding-bottom: 8px !important;
}

/* ===== COMPONENT SECTIONS ===== */
.components-container, .incidents-list {
    background: #f7fafc !important;
    border-radius: 8px !important;
}

body.status.history .container {
    background: #f7fafc !important;
    padding: 24px !important;
    border-radius: 8px !important;
}

.component-container.border-color {
    border-color: transparent !important;
}

.layout-content.status.status-full-history .grouped-items-selector {
    left: 24px;
}

.component-container,
.group-parent-indicator {
    user-select: none !important;
}

/* ===== STATUS & PAGE ELEMENTS ===== */
.page-status {
    border-radius: 4px !important;
    margin-bottom: 24px;
}

.component-section {
    margin-bottom: 24px;
}

.components-section {
    margin-bottom: 24px;
}

/* ===== MASTHEAD STYLING ===== */
.layout-content.status .masthead-container.basic .masthead {
    padding: 16px 24px 0 24px;
    margin-bottom: 24px;
}

.layout-content.status .masthead-container.basic .masthead .logo-container {
    padding-top: 12px;
    max-width: 160px;
}

.layout-content.status.status-index .page-status {
    margin-bottom: 24px;
}

/* ===== TYPOGRAPHY & TEXT COLORS ===== */
h2.status.font-large {
    margin-bottom: 0;
}

h1.incident-name {
    color: #002357 !important;
}

.color-secondary{
    color: #002357 !important;
}

.layout-content.status.status-full-history .history-nav {
    margin-top: 0 !important;
}

a.current {
    background-color: transparent !important;
}

.history-container {
    background: rgb(248, 250, 252) !important;
    padding: 24px !important;
    border-radius: 8px !important;
}

/* History Header */
.layout-content.status.status-full-history .history-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.layout-content.status.status-full-history .history-header::before,
.layout-content.status.status-full-history .history-header::after {
    content: none;
    display: none;
}

.layout-content.status.status-full-history .history-header .component-selector {
    flex: 0 0 auto;
}

.layout-content.status.status-full-history .history-header .pagination-container {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-start;
}

/* Uptime Header */
.layout-content.status.status-full-history .uptime-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.layout-content.status.status-full-history .uptime-header::before,
.layout-content.status.status-full-history .uptime-header::after {
    content: none;
    display: none;
}

.layout-content.status.status-full-history .uptime-header .component-selector {
    flex: 0 0 auto;
}

.layout-content.status.status-full-history .uptime-header .pagination-container {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-start;
}

.layout-content .incident-title,
.incidents-list .incident-title.impact-minor a,
.incidents-list .incident-title.impact-major a,
.incidents-list .incident-title.impact-critical a,
.incidents-list .incident-title.impact-maintenance a {
    color: #002357 !important;
}

.layout-content.status.status-incident .page-title {
    text-align: left;
}

/* ===== BUTTONS ===== */
.show-updates-dropdown,
.flat-button {
    box-shadow: none !important;
    color: #ffffff !important;
    background-color: rgb(0, 89, 221);
    border-radius: 8px !important;
    text-shadow: none !important;
    height: 48px !important;
    align-content: center;
}

.show-updates-dropdown:hover,
.flat-button:hover {
    box-shadow: none !important;
    background-color: #0044aa !important;
    text-shadow: none !important;
    border-radius: 8px !important;
    text-decoration: none;
}

/* ===== LINKS ===== */
a {
    text-decoration: none;
}

a.previous-page,
a.next-page {
    text-decoration: none !important;
}

a.color-secondary {
    text-decoration: underline !important;
}



/* ===== BACKGROUND SECTIONS ===== */
.unresolved-incidents,
.components-section,
.page-footer,
.history-container,
.history-backpage,
.status-full-history .container,
.status-incident .container,
.scheduled-maintenances-container {
    background: #ffffff;
}

.incidents-list {
    background-color: rgb(248, 250, 252) !important;
}

.history-nav {
    background: rgb(248, 250, 252) !important;
}

.history-backpage,
.page-footer {
    background: transparent !important;
}

/* ===== SPACING & PADDING ===== */
.incidents-list,
.page-footer,
.container,
.scheduled-maintenances-container {
    padding: 24px;
}

.layout-content.status .incidents-list {
    margin-top: 24px;
}

.layout-content.status .custom-header-container{
    margin-bottom: 48px;
}

.page-footer {
    margin: 24px 0 0 0;
}

/* ===== MOBILE RESPONSIVE (Statuspage) ===== */
@media screen and (max-width: 650px) {
    .layout-content.status .masthead-container.basic .masthead {
        padding: 8px 0px 0px;
    }

    .layout-content.status.status-index .components-section {
        margin-bottom: 16px;
    }

    .layout-content.status .masthead-container.basic .masthead .logo-container {
        float: left;
        max-width: 130px;
        margin-bottom: 0;
    }

    .layout-content.status .masthead-container.basic .masthead .updates-dropdown-container {
        float: right;
    }

    .component-container,
    .component-container.is-group {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}