
/* =========================================
   SNPD - SHARED MAINTENANCE PAGE
   Untuk halaman SOP yang belum tersedia
========================================= */


/* =========================================
   1. ROOT VARIABLES
========================================= */

:root {
    color-scheme: dark;

    --red: #e34756;
    --muted: #aab3c4;
    --border: rgba(255, 255, 255, 0.13);
}


/* =========================================
   2. GLOBAL
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;

    min-height: 100vh;
    margin: 0;

    background:
        linear-gradient(
            120deg,
            rgba(5, 9, 16, 0.93),
            rgba(9, 13, 23, 0.83)
        ),
        url('/bg.png') center / cover fixed;

    color: #f4f6fa;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   3. SHARED HEADER
========================================= */

#siteHeader {
    width: 100%;
    flex-shrink: 0;
}


/* =========================================
   4. MAINTENANCE CONTAINER
========================================= */

.maintenance {
    flex: 1;

    display: grid;
    place-items: center;

    padding: 65px 20px 80px;
}


/* =========================================
   5. MAINTENANCE CARD
========================================= */

.maintenance-card {
    width: min(100%, 740px);

    padding: clamp(28px, 5vw, 60px);

    border: 1px solid var(--border);
    border-radius: 20px;

    background: rgba(10, 16, 28, 0.88);

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.38);

    text-align: center;

    backdrop-filter: blur(8px);
}


/* =========================================
   6. LOGO
========================================= */

.maintenance-logo {
    display: block;

    width: 112px;
    height: 112px;

    object-fit: contain;

    margin: 0 auto 20px;
}


/* =========================================
   7. TYPOGRAPHY
========================================= */

.eyebrow {
    color: var(--red);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;
}

.maintenance h1 {
    margin: 12px 0;

    font-size: clamp(32px, 6vw, 56px);
    line-height: 1.12;
    letter-spacing: 1px;
}

.maintenance h2 {
    margin: 14px 0 10px;

    font-size: clamp(18px, 3vw, 25px);
    font-weight: 600;
}

.maintenance p {
    max-width: 520px;

    margin: 0 auto 28px;

    color: var(--muted);

    line-height: 1.8;
}


/* =========================================
   8. MAINTENANCE STATUS
========================================= */

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 12px;
    padding: 9px 15px;

    border: 1px solid rgba(227, 71, 86, 0.36);
    border-radius: 30px;

    background: rgba(227, 71, 86, 0.1);

    color: #ffc2c9;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status::before {
    content: '';

    width: 8px;
    height: 8px;

    background: var(--red);

    border-radius: 50%;
}


/* =========================================
   9. BACK BUTTON
========================================= */

.back {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 12px 24px;

    background: var(--red);
    border-radius: 8px;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition: background 0.2s ease;
}

.back:hover {
    background: #c73544;
}


/* =========================================
   10. FOOTER
========================================= */

.maintenance-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;

    padding: 22px max(5%, calc((100vw - 1260px) / 2));

    border-top: 1px solid var(--border);

    background: rgba(5, 9, 16, 0.92);

    color: #9ba5b7;

    font-size: 12px;
}

.maintenance-footer span {
    color: #d0d6e1;
}


/* =========================================
   11. RESPONSIVE MOBILE
========================================= */

@media (max-width: 650px) {

    .maintenance {
        padding: 40px 16px;
    }

    .maintenance-card {
        padding: 30px 18px;
    }

    .maintenance-logo {
        width: 86px;
        height: 86px;
    }

    .maintenance-footer {
        justify-content: center;

        padding: 20px;

        text-align: center;
    }

}