/* =========================================================
   JCB ONE - Application Status Page
   ========================================================= */

:root {
    --jcb-yellow: #ffcc00;
    --jcb-black: #000000;
    --jcb-dark-text: #292929;
    --jcb-gray-text: #858585;
    --jcb-card: #f7f7f7;
    --jcb-footer: #fafafa;
}

/* ---------------------------------------------------------
   Reset
   --------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

/* ---------------------------------------------------------
   Body
   --------------------------------------------------------- */

body {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    background: #ffffff;

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    color: var(--jcb-dark-text);
}

/* ---------------------------------------------------------
   Main Application Container
   --------------------------------------------------------- */

.app-container {
    width: 100%;
    max-width: 700px;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border-radius: 0 0 20px 20px;

    box-shadow:
        0 0 0 6px #111111;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.app-header {
    min-height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--jcb-yellow);

    padding: 1.5rem;

    border-radius: 0 0 0 0;
}

.app-header h1 {
    margin: 0;

    color: var(--jcb-black);

    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;

    letter-spacing: 0.03em;

    text-align: center;
}

/* ---------------------------------------------------------
   Main Content
   --------------------------------------------------------- */

.content {
    flex: 1;

    padding:
        clamp(3rem, 8vw, 5rem)
        clamp(1.5rem, 7vw, 3.5rem)
        3rem;

    background: #ffffff;
}

/* ---------------------------------------------------------
   Application Status Heading
   --------------------------------------------------------- */

.content h2 {
    margin: 0 0 2.2rem;

    color: #303030;

    font-size: clamp(2rem, 6vw, 2.6rem);
    font-weight: 500;

    line-height: 1.2;

    text-align: center;
}

/* ---------------------------------------------------------
   Status Cards
   --------------------------------------------------------- */

.status-card {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 1.25rem;
}

/* ---------------------------------------------------------
   Individual Status Item
   --------------------------------------------------------- */

.status-item {
    width: 100%;

    padding:
        1.35rem
        1.5rem
        1.45rem;

    background: var(--jcb-card);

    border-radius: 0 12px 12px 0;

    border-left: 6px solid var(--jcb-yellow);

    text-align: center;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.02);
}

/* ---------------------------------------------------------
   Label
   --------------------------------------------------------- */

.status-label {
    margin-bottom: 0.65rem;

    color: var(--jcb-gray-text);

    font-size: 1rem;
    font-weight: 400;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

/* ---------------------------------------------------------
   Value
   --------------------------------------------------------- */

.status-value {
    color: #222222;

    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 600;

    line-height: 1.35;

    font-variant-numeric: tabular-nums;

    word-break: break-word;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.app-footer {
    min-height: 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1rem;

    background: var(--jcb-footer);

    color: #777777;

    font-size: 1rem;

    text-align: center;
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 600px) {

    body {
        align-items: stretch;
    }

    .app-container {
        width: 100%;
        min-height: 100vh;

        border-radius: 0;

        box-shadow: none;
    }

    .app-header {
        min-height: 110px;
    }

    .content {
        padding:
            3rem
            1rem
            2rem;
    }

    .content h2 {
        margin-bottom: 2rem;

        font-size: 2rem;
    }

    .status-item {
        padding:
            1.25rem
            1rem
            1.35rem;
    }

    .status-label {
        font-size: 0.9rem;
    }

    .status-value {
        font-size: 1.25rem;
    }

    .app-footer {
        min-height: 64px;

        font-size: 0.9rem;
    }
}

/* ---------------------------------------------------------
   Small Mobile
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .app-header {
        min-height: 95px;
    }

    .app-header h1 {
        font-size: 2rem;
    }

    .content {
        padding-top: 2.5rem;
    }

    .content h2 {
        font-size: 1.75rem;
    }

    .status-value {
        font-size: 1.1rem;
    }
}