html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html, body {
    height: 100%;
}

/* Custom brand palette */
:root {
    --brand-bg: #FFFFFF;
    --brand-text: #111111;
    --brand-solid: #FF3B3F;
    --brand-solid-label: #FFFFFF;
    --brand-outline: #00C2A8;
    --brand-shadow: rgba(28,28,28,0.15);
}

body {
    background: var(--brand-bg);
    color: var(--brand-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* The middle .container (between <header> and <footer>) takes whatever
   vertical space is left over so the footer sits at the bottom of the
   viewport on short pages but still flows naturally on long ones. */
body > .container {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

/* Font */
body, h1, h2, h3, h4, h5, h6, .btn, .form-control {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

/* ─── Header & Nav ─── */
.site-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-side {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 180px;
}

    .nav-side.right {
        justify-content: flex-end;
    }

.nav-link-clean {
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

    .nav-link-clean:hover {
        color: #111;
    }

/* ─── Language Switcher ─── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-switcher .lang-btn {
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #111 !important;          /* beat browser :link / Bootstrap :hover blues */
    text-decoration: none;
    transition: .2s ease;
    border: 1px solid transparent;
    line-height: 1;
}

    .lang-switcher .lang-btn:hover {
        color: #000 !important;
    }

    .lang-switcher .lang-btn.active {
        color: #111 !important;
        border-color: #111;
        background: transparent;
    }

/* ─── Footer ─── */
.site-footer {
    border-top: 1px solid #eee;
    padding: 0.75rem 0;
    margin-top: 1.5rem;
}

.footer-line {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.01em;
}

    .footer-line a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
    }

    .footer-line a:hover {
        color: #111;
        text-decoration: underline;
    }

    .footer-line .sep {
        margin: 0 0.4rem;
        color: #ccc;
    }

/* ─── Footer ─── */
.copyright__content {
    font-size: 11px;
}

/* ─── Image Cards ─── */
.image-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform .12s ease, box-shadow .12s ease;
    box-shadow: 0 6px 18px var(--brand-shadow);
}

    .image-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px var(--brand-shadow);
    }

/* The image inside each card opens a full-size preview on click;
   the cursor change makes that affordance obvious. */
.image-clickable {
    cursor: zoom-in;
}

    .image-card img.card-img-top {
        object-fit: cover;
        height: 320px;
        width: 100%;
    }

.card-buttons {
    padding: 0.5rem 0;
}

/* Single image centered */
.single-image-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .single-image-row .image-card {
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }

    .single-image-row .image-card img.card-img-top {
        height: auto;
        max-height: 55vh;
        object-fit: contain;
        background: #fafafa;
    }

/* Two images centered */
.center-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

    .center-row .col-md-6 {
        display: flex;
        justify-content: center;
    }

    .center-row .image-card {
        max-width: 420px;
        width: 100%;
    }

    /* Both cards get identical dimensions regardless of each photo's
       native aspect ratio: fixed width via the column + fixed height
       on the image area. object-fit: cover crops to fill the whole
       box (no letterboxing) so the two cards visually match. The
       customer can still see the full uncropped image by clicking
       the card; the image-clickable / imageModal hook opens it at
       full size. */
    .center-row .image-card img.card-img-top {
        width: 100%;
        height: 48vh;
        object-fit: cover;
        object-position: center;
    }

/* ─── Modals ─── */
.modal-backdrop.show {
    background-color: rgba(0,0,0,0.7);
}

.modal-fullscreen .modal-content {
    background: rgba(0,0,0,0.85);
}

/* ─── Thank You Overlay ─── */
.thank-you-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
}

.thank-you-box {
    background: #fff;
    border-radius: 8px;
    max-width: 480px;
    width: 90%;
}

.thank-you-overlay.d-none {
    display: none;
}

/* ─── Buttons ─── */
/* Primary action: confident, filled, eye-catching. */
.approve-btn {
    border: 1px solid transparent;
    color: #ffffff;
    background-color: #00C2A8;
    min-width: 140px;
    padding: 0.4rem 1rem;
    font-weight: 600;
}

    .approve-btn:hover {
        background-color: #00a890;
        color: #ffffff;
    }

/* Secondary action: same width but visually quieter -- outlined,
   neutral text -- so the customer's eye is drawn to the positive
   choice and rejecting is a deliberate, considered click. */
.reject-btn {
    color: #555;
    background-color: transparent;
    border: 1px solid #d0d0d0;
    min-width: 140px;
    padding: 0.4rem 1rem;
    font-weight: 500;
}

    .reject-btn:hover {
        color: #111;
        background-color: #f5f5f5;
        border-color: #aaa;
    }

.btn-solid {
    background-color: var(--brand-solid);
    color: var(--brand-solid-label);
    border: none;
}

.btn-outline-custom {
    color: var(--brand-outline);
    border-color: var(--brand-outline);
    background: transparent;
}

.btn-approve {
    background-color: #00C2A8;
    color: #fff;
    border: none;
}

.btn-danger {
    background-color: #FF3B3F !important;
    color: #fff;
}

.btn-confirm {
    min-width: 110px;
}

/* ─── Misc ─── */
.pending-badge {
    display: none;
}

.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.actions-bar {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* ─── Page intro block ─── */
.page-intro {
    max-width: 640px;
    margin: 1.25rem auto 1.75rem;
    text-align: center;
}

    .page-intro .lead {
        font-size: 1.05rem;
        color: #444;
        line-height: 1.5;
        margin-bottom: 0;
    }

/* ─── Mobile (≤ 575px / Bootstrap xs–sm) ─── */
@media (max-width: 575.98px) {
    /* Header: stack vertically — logo on top, language switcher
       centered below it. Matches the marketing site's mobile header. */
    .nav {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-side {
        min-width: 0;
        justify-content: center;
        gap: 0.5rem;
    }

    .site-header {
        padding: 0.5rem 0;
    }

        .site-header .nav a img {
            max-height: 44px;
        }

    .lang-switcher {
        gap: 4px;
    }

    .lang-btn {
        padding: 3px 8px;
        font-size: 12px;
    }

    /* Intro: less air above/below on narrow screens. */
    .page-intro {
        margin: 0.5rem auto 1rem;
        padding: 0 0.25rem;
    }

        .page-intro .lead {
            font-size: 1rem;
        }

    /* Single-image card: span the column, modest height cap so the
       buttons stay visible without scrolling. */
    .single-image-row .image-card {
        max-width: 100%;
    }

        .single-image-row .image-card img.card-img-top {
            max-height: 60vh;
        }

    /* Multi-image card thumbnails: a bit shorter on phones. */
    .image-card img.card-img-top {
        height: 240px;
    }

    /* Footer line: drop the · separator and let the support text wrap to
       its own line. */
    .footer-line .sep {
        display: block;
        height: 0;
        overflow: hidden;
        margin: 0;
    }

    body {
        margin-bottom: 30px;
    }
}


/* Page-level primary CTA (e.g. "Download all"). Same style as the
   per-card approve button but a touch larger and roomier. */
.approve-btn-lg {
    min-width: 200px;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}
