/*
 * EFH Smart Attendance — Public / Kiosk styles (full rebuild)
 * Premium aviation theme: navy + sky + gold accents. Mobile-first.
 */

:root {
    --efh-navy: #0f3b63;
    --efh-navy-dark: #0a2944;
    --efh-navy-soft: #1d5285;
    --efh-sky: #e7f1fb;
    --efh-sky-2: #cfe2f5;
    --efh-gold: #c8a25b;
    --efh-grey-50: #f5f7fa;
    --efh-grey-100: #eef1f5;
    --efh-grey-200: #dde3eb;
    --efh-grey-400: #98a2b3;
    --efh-grey-600: #475467;
    --efh-grey-800: #1f2a37;
    --efh-ok: #16a34a;
    --efh-warn: #f59e0b;
    --efh-err: #dc2626;
    --efh-info: #2563eb;
    --efh-r: 14px;
    --efh-rs: 9px;
    --efh-shadow: 0 10px 30px rgba(15, 59, 99, .12);
}

/* ===== Reset ===== */
body.efh-sa-standalone,
.efh-login-shell *,
.efh-kiosk-shell * {
    box-sizing: border-box;
}
body.efh-sa-standalone {
    margin: 0;
    padding: 0;
    background: var(--efh-grey-50);
    color: var(--efh-grey-800);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.efh-login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 32px 20px;
    background: linear-gradient(135deg, var(--efh-navy) 0%, var(--efh-navy-soft) 100%);
}

.efh-login-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: var(--efh-r);
    padding: 36px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.efh-login-head {
    text-align: center;
    margin-bottom: 26px;
}
.efh-login-head img {
    height: 96px;
    width: auto;
    margin-bottom: 14px;
    display: inline-block;
}
.efh-login-logo-fallback {
    display: inline-flex;
    width: 88px; height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--efh-navy), var(--efh-navy-soft));
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .08em;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 6px 20px rgba(15,59,99,.3);
}
.efh-login-school {
    margin: 0 0 4px;
    color: var(--efh-navy);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .02em;
}
.efh-login-portal-title {
    margin: 0;
    color: var(--efh-grey-600);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

.efh-login-error {
    background: rgba(220, 38, 38, .08);
    color: var(--efh-err);
    padding: 11px 14px;
    border-radius: var(--efh-rs);
    font-size: 13px;
    margin-bottom: 18px;
    border: 1px solid rgba(220, 38, 38, .2);
    text-align: center;
}

.efh-login-form .efh-fld {
    display: block;
    margin-bottom: 14px;
}
.efh-login-form .efh-fld span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--efh-grey-600);
    margin-bottom: 6px;
}
.efh-login-form .efh-fld input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--efh-grey-200);
    border-radius: var(--efh-rs);
    background: var(--efh-grey-50);
    font-size: 15px;
    color: var(--efh-grey-800);
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.efh-login-form .efh-fld input:focus {
    outline: none;
    background: #fff;
    border-color: var(--efh-navy);
    box-shadow: 0 0 0 3px rgba(15, 59, 99, .15);
}

.efh-btn-primary {
    display: inline-block;
    width: 100%;
    padding: 13px 18px;
    background: var(--efh-navy);
    color: #fff;
    border: none;
    border-radius: var(--efh-rs);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .02em;
    transition: background .15s, transform .1s;
    box-shadow: 0 4px 14px rgba(15, 59, 99, .25);
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
}
.efh-btn-primary:hover { background: var(--efh-navy-dark); color: #fff; }
.efh-btn-primary:active { transform: translateY(1px); }

.efh-btn-ghost {
    display: inline-block;
    padding: 11px 18px;
    background: var(--efh-grey-100);
    color: var(--efh-grey-800);
    border: 1px solid var(--efh-grey-200);
    border-radius: var(--efh-rs);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background .15s;
    line-height: 1.4;
}
.efh-btn-ghost:hover { background: var(--efh-sky); border-color: var(--efh-sky-2); color: var(--efh-navy); }
.efh-btn-ghost:disabled { opacity: .5; cursor: not-allowed; }

.efh-btn-warn {
    display: inline-block;
    padding: 11px 18px;
    background: var(--efh-warn);
    color: #fff;
    border: none;
    border-radius: var(--efh-rs);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.4;
}
.efh-btn-warn:hover { background: #b45309; }

.efh-login-version {
    text-align: center;
    margin: 18px 0 0;
}
.efh-login-disclaimer {
    text-align: center;
    margin: 12px 0 0;
    font-size: 11px;
    color: var(--efh-grey-400);
    line-height: 1.5;
}

/* ============================================================
   NEWS TICKER
   ============================================================ */
.efh-news-ticker {
    width: 100%;
    max-width: 720px;
    margin: 22px auto 0;
    background: rgba(255,255,255,.95);
    border-radius: var(--efh-rs);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.efh-news-track {
    display: flex;
    gap: 28px;
    padding: 10px 0;
    white-space: nowrap;
    animation: efh-ticker var(--speed, 40s) linear infinite;
}
.efh-news-item {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: var(--efh-navy);
    color: #fff;
}
@keyframes efh-ticker {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ============================================================
   KIOSK
   ============================================================ */
.efh-kiosk-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--efh-grey-50);
}

/* ----- Header ----- */
.efh-kiosk-head {
    background: linear-gradient(135deg, var(--efh-navy), var(--efh-navy-soft));
    color: #fff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.efh-kiosk-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.efh-kiosk-logo {
    height: 48px;
    width: auto;
    background: rgba(255,255,255,.12);
    padding: 4px 8px;
    border-radius: 8px;
}
.efh-kiosk-title strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .02em;
}
.efh-kiosk-title span {
    display: block;
    font-size: 12px;
    opacity: .85;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.efh-kiosk-user {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: right;
}
.efh-user-name {
    font-size: 14px;
    font-weight: 700;
}
.efh-user-role {
    font-size: 11px;
    opacity: .85;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.efh-btn-logout {
    background: rgba(255,255,255,.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    padding: 8px 14px;
    border-radius: var(--efh-rs);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    margin-left: 6px;
    transition: background .15s;
}
.efh-btn-logout:hover { background: rgba(255,255,255,.28); color: #fff; }

/* ----- Kiosk grid ----- */
.efh-kiosk-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    padding: 18px 24px;
    flex: 1;
}
.efh-kiosk-grid .efh-camera-card,
.efh-kiosk-grid .efh-counters-card {
    grid-column: span 1;
}
.efh-kiosk-grid .efh-camera-card { grid-row: span 2; }
.efh-kiosk-grid .efh-manual-card,
.efh-kiosk-grid .efh-exam-card,
.efh-kiosk-grid .efh-pointage-card {
    grid-column: span 1;
}
@media (max-width: 980px) {
    .efh-kiosk-grid {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .efh-kiosk-grid .efh-camera-card { grid-row: auto; }
}

/* ----- Card shell (kiosk) ----- */
.efh-kiosk-shell .efh-card {
    background: #fff;
    border-radius: var(--efh-r);
    box-shadow: var(--efh-shadow);
    padding: 20px;
    border: 1px solid var(--efh-grey-100);
}
.efh-kiosk-shell .efh-card h2 {
    margin: 0 0 14px;
    color: var(--efh-navy);
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--efh-grey-100);
}

.efh-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--efh-grey-100);
}
.efh-card-head h2 {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.efh-card-sub {
    margin: 16px 0 8px;
    font-size: 13px;
    color: var(--efh-grey-600);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}

.efh-clock {
    font-size: 14px;
    font-weight: 600;
    color: var(--efh-navy);
    background: var(--efh-sky);
    padding: 6px 12px;
    border-radius: var(--efh-rs);
}

/* ----- Camera ----- */
.efh-camera-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.efh-camera-controls select {
    flex: 1;
    min-width: 160px;
    padding: 9px 12px;
    border: 1px solid var(--efh-grey-200);
    border-radius: var(--efh-rs);
    font-size: 13px;
    background: #fff;
}
.efh-camera-controls .efh-btn-primary,
.efh-camera-controls .efh-btn-ghost {
    width: auto;
    padding: 9px 14px;
    font-size: 13px;
}

.efh-camera-stage {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    background: #000;
    border-radius: var(--efh-r);
    overflow: hidden;
    border: 3px solid var(--efh-navy);
}
.efh-camera-stage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}
.efh-camera-stage canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.efh-face-guide {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 58%;
    aspect-ratio: 3 / 4;
    border: 3px dashed rgba(255,255,255,.55);
    border-radius: 50%;
    pointer-events: none;
}

/* ----- Status ----- */
.efh-status-card {
    margin-top: 14px;
    background: var(--efh-sky);
    border-left: 4px solid var(--efh-navy);
    padding: 12px 16px;
    border-radius: var(--efh-rs);
}
.efh-status-msg {
    margin: 0;
    font-size: 14px;
    color: var(--efh-navy);
    font-weight: 600;
    line-height: 1.5;
}
.efh-status-card.is-ok   { background: rgba(22, 163, 74, .12); border-left-color: var(--efh-ok); }
.efh-status-card.is-ok   .efh-status-msg { color: #15803d; }
.efh-status-card.is-warn { background: rgba(245, 158, 11, .12); border-left-color: var(--efh-warn); }
.efh-status-card.is-warn .efh-status-msg { color: #b45309; }
.efh-status-card.is-err  { background: rgba(220, 38, 38, .1); border-left-color: var(--efh-err); }
.efh-status-card.is-err  .efh-status-msg { color: var(--efh-err); }

/* ----- Counters ----- */
.efh-counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.efh-counter {
    background: var(--efh-sky);
    border-radius: var(--efh-rs);
    padding: 14px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.efh-c-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--efh-grey-600);
    font-weight: 600;
}
.efh-c-val {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--efh-navy);
    line-height: 1.1;
}

/* ----- Recent scans ----- */
.efh-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
}
.efh-recent-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    border-bottom: 1px solid var(--efh-grey-100);
    font-size: 13px;
}
.efh-recent-list li:last-child { border-bottom: 0; }
.efh-recent-list li strong {
    display: block;
    color: var(--efh-grey-800);
    font-size: 13px;
}
.efh-recent-list li small {
    display: block;
    color: var(--efh-grey-600);
    font-size: 11px;
}

/* ----- Manual / exam / pointage forms ----- */
.efh-manual-form,
.efh-exam-form,
.efh-pointage-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.efh-manual-form select,
.efh-exam-form input {
    flex: 1;
    min-width: 140px;
    padding: 9px 12px;
    border: 1px solid var(--efh-grey-200);
    border-radius: var(--efh-rs);
    font-size: 13px;
    background: #fff;
}
.efh-manual-form .efh-btn-primary,
.efh-exam-form .efh-btn-primary,
.efh-exam-form .efh-btn-ghost,
.efh-pointage-actions .efh-btn-primary,
.efh-pointage-actions .efh-btn-ghost {
    width: auto;
    padding: 9px 16px;
    font-size: 13px;
}

.efh-muted {
    margin: 0 0 10px;
    color: var(--efh-grey-600);
    font-size: 13px;
    line-height: 1.5;
}

/* ============================================================
   MODALS
   ============================================================ */
.efh-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 41, 68, .75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.efh-modal[hidden] { display: none !important; }
.efh-modal-inner {
    background: #fff;
    border-radius: var(--efh-r);
    width: 100%;
    max-width: 460px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    animation: efh-modal-in .18s ease-out;
}
@keyframes efh-modal-in {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1);   }
}
.efh-modal-inner h3 {
    margin: 0 0 14px;
    color: var(--efh-navy);
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--efh-grey-100);
}
.efh-modal-inner p {
    margin: 0 0 12px;
    line-height: 1.5;
    color: var(--efh-grey-800);
    font-size: 14px;
}
.efh-modal-inner label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--efh-grey-600);
    margin: 12px 0 6px;
}
.efh-modal-inner input,
.efh-modal-inner select,
.efh-modal-inner textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--efh-grey-200);
    border-radius: var(--efh-rs);
    font-size: 14px;
    background: #fff;
    font-family: inherit;
}
.efh-modal-inner textarea { min-height: 80px; resize: vertical; }

.efh-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--efh-grey-100);
}
.efh-modal-actions .efh-btn-primary,
.efh-modal-actions .efh-btn-ghost,
.efh-modal-actions .efh-btn-warn {
    width: auto;
    padding: 10px 16px;
    font-size: 13px;
}

.efh-pay-choice {
    display: flex;
    gap: 10px;
    margin: 12px 0;
}
.efh-pay-choice .efh-btn-primary,
.efh-pay-choice .efh-btn-ghost {
    width: auto;
    flex: 1;
    padding: 12px;
    font-size: 14px;
}

/* ============================================================
   Helpers
   ============================================================ */
.efh-hidden, [hidden] { display: none !important; }

/* ============================================================
   ANIMATED LOGIN BACKGROUND — avion + clouds + stars
   ============================================================ */
.efh-login-animated {
    background: linear-gradient(180deg, #0a2944 0%, #0f3b63 45%, #1d5285 100%) !important;
    position: relative;
    overflow: hidden;
}
.efh-login-animated .efh-login-card {
    position: relative;
    z-index: 5;
}
.efh-sky-anim {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Stars */
.efh-stars {
    position: absolute;
    inset: 0;
}
.efh-stars span {
    position: absolute;
    width: 2px; height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: efh-twinkle 3s ease-in-out infinite;
}
.efh-stars span:nth-child(1)  { top:  8%; left: 12%; animation-delay: 0s; }
.efh-stars span:nth-child(2)  { top: 14%; left: 78%; animation-delay: .4s; }
.efh-stars span:nth-child(3)  { top: 22%; left: 35%; animation-delay: .8s; }
.efh-stars span:nth-child(4)  { top: 18%; left: 62%; animation-delay: 1.2s; }
.efh-stars span:nth-child(5)  { top: 28%; left: 90%; animation-delay: 1.6s; }
.efh-stars span:nth-child(6)  { top: 10%; left: 48%; animation-delay: 2.0s; width: 3px; height: 3px; }
.efh-stars span:nth-child(7)  { top: 32%; left:  5%; animation-delay: 2.4s; }
.efh-stars span:nth-child(8)  { top: 24%; left: 22%; animation-delay: .2s; }
.efh-stars span:nth-child(9)  { top:  6%; left: 70%; animation-delay: 1.0s; width: 3px; height: 3px; }
.efh-stars span:nth-child(10) { top: 36%; left: 55%; animation-delay: 1.8s; }
@keyframes efh-twinkle {
    0%, 100% { opacity: 0.2; }
    50%      { opacity: 1; }
}

/* Clouds (CSS-only, soft white shapes) */
.efh-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 100px;
    filter: blur(2px);
    box-shadow:
        25px -10px 0 -3px rgba(255,255,255,0.7),
        -25px -5px 0 -3px rgba(255,255,255,0.75),
        45px 5px 0 -5px rgba(255,255,255,0.6);
    animation: efh-cloud-drift linear infinite;
}
.efh-cloud-1 {
    width: 110px; height: 28px;
    top: 18%; left: -150px;
    animation-duration: 60s;
    animation-delay: 0s;
    opacity: 0.85;
}
.efh-cloud-2 {
    width: 80px; height: 22px;
    top: 38%; left: -120px;
    animation-duration: 80s;
    animation-delay: 12s;
    opacity: 0.7;
}
.efh-cloud-3 {
    width: 140px; height: 32px;
    top: 58%; left: -180px;
    animation-duration: 95s;
    animation-delay: 25s;
    opacity: 0.6;
}
.efh-cloud-4 {
    width: 90px; height: 24px;
    top: 75%; left: -130px;
    animation-duration: 70s;
    animation-delay: 38s;
    opacity: 0.55;
}
.efh-cloud-5 {
    width: 120px; height: 30px;
    top: 8%; left: -160px;
    animation-duration: 110s;
    animation-delay: 52s;
    opacity: 0.45;
}
@keyframes efh-cloud-drift {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(100vw + 200px)); }
}

/* Airplane */
.efh-plane {
    position: absolute;
    width: 110px;
    height: auto;
    top: 28%;
    left: -150px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
    animation: efh-plane-fly 28s linear infinite;
    animation-delay: 4s;
}
@keyframes efh-plane-fly {
    0%   { transform: translate(0, 0) rotate(-1deg); }
    25%  { transform: translate(calc(25vw + 200px), -30px) rotate(2deg); }
    50%  { transform: translate(calc(50vw + 200px), 10px) rotate(-2deg); }
    75%  { transform: translate(calc(75vw + 200px), -20px) rotate(1deg); }
    100% { transform: translate(calc(100vw + 250px), 0) rotate(-1deg); }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .efh-cloud, .efh-plane, .efh-stars span {
        animation: none !important;
        opacity: 0.5;
    }
}

/* ============================================================
   KIOSK ENROLLMENT OVERLAY
   ============================================================ */
.efh-kiosk-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.efh-kiosk-overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(10, 41, 68, .82);
    backdrop-filter: blur(6px);
}
.efh-kiosk-overlay-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: var(--efh-r);
    width: 100%;
    max-width: 720px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    animation: efh-pop-in .2s ease-out;
}
@keyframes efh-pop-in {
    from { opacity: 0; transform: scale(.96) translateY(8px); }
    to   { opacity: 1; transform: scale(1)   translateY(0); }
}
.efh-kiosk-overlay-head {
    padding: 22px 28px 14px;
    border-bottom: 1px solid var(--efh-grey-100);
    background: linear-gradient(135deg, var(--efh-navy), var(--efh-navy-soft));
    color: #fff;
    border-radius: var(--efh-r) var(--efh-r) 0 0;
}
.efh-kiosk-overlay-head h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
}
.efh-kiosk-overlay-head p {
    margin: 0;
    font-size: 13px;
    opacity: .9;
}
.efh-kiosk-overlay-grid {
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 600px) {
    .efh-kiosk-overlay-grid { grid-template-columns: 1fr; }
}
.efh-snap-preview {
    background: var(--efh-grey-50);
    border: 1px solid var(--efh-grey-200);
    border-radius: var(--efh-rs);
    padding: 12px;
    text-align: center;
}
.efh-snap-preview img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--efh-rs);
    background: #000;
}
.efh-snap-empty {
    width: 100%;
    aspect-ratio: 1;
    background: var(--efh-grey-100);
    border-radius: var(--efh-rs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--efh-grey-400);
    font-size: 32px;
    font-weight: 800;
}
.efh-snap-meta {
    margin-top: 10px;
    text-align: left;
}
.efh-snap-meta strong {
    display: block;
    color: var(--efh-navy);
    font-size: 15px;
}
.efh-snap-meta small {
    display: block;
    color: var(--efh-grey-600);
    font-size: 12px;
    margin-top: 2px;
}
.efh-snap-form label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--efh-grey-600);
    font-weight: 700;
    margin: 12px 0 4px;
}
.efh-snap-form label:first-child { margin-top: 0; }
.efh-snap-form input,
.efh-snap-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--efh-grey-200);
    border-radius: var(--efh-rs);
    font-size: 14px;
    background: #fff;
}
.efh-kiosk-overlay-actions {
    padding: 18px 28px;
    border-top: 1px solid var(--efh-grey-100);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.efh-kiosk-overlay-actions button {
    padding: 11px 18px;
    font-size: 14px;
    width: auto;
}
