/* ==========================================================
 * E-PEMILOS SMAN 7 YOGYAKARTA (WIBHAKTA)
 * Voter Portal & Kiosk Ballot Stylesheet
 * ========================================================== */

.voter-layout {
    background: radial-gradient(circle at 50% 10%, #152238 0%, #080e1a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #f1f5f9;
    user-select: none; /* Prevent accidental text selection in Kiosk touch */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.voter-layout img,
.voter-layout a {
    -webkit-user-drag: none;
    user-drag: none;
}

/* Kiosk Top Header */
.voter-header {
    background: rgba(11, 19, 41, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 2px solid rgba(251, 191, 36, 0.35);
    padding: 0.45rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.voter-container {
    flex: 1;
    padding: 0.75rem 1.25rem 1rem 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Kiosk Inactivity Badge */
.kiosk-timer-badge {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.kiosk-timer-badge.normal {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

/* Auth Card for Voter Login & Verify */
.auth-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, rgba(15, 44, 89, 0.9), rgba(30, 74, 138, 0.7));
    padding: 2.2rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--accent-gold);
}

.auth-body {
    padding: 2.2rem;
}

.form-control-custom {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.form-control-custom:focus {
    background: rgba(30, 41, 59, 1);
    border-color: var(--accent-gold);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25);
}

.form-control-custom::placeholder {
    color: #94a3b8;
}

/* ==========================================================
 * KIOSK STEP PROGRESS BAR
 * ========================================================== */
.kiosk-stepper-container {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.4rem 0.85rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.kiosk-step-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.kiosk-step-pill {
    flex: 1;
    min-width: 115px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.kiosk-step-pill:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(251, 191, 36, 0.4);
}

.kiosk-step-pill.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(234, 88, 12, 0.15));
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}

.kiosk-step-pill.completed {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
}

.kiosk-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.kiosk-step-pill.active .kiosk-step-num {
    background: var(--accent-gold);
    color: #0f172a;
}

.kiosk-step-pill.completed .kiosk-step-num {
    background: var(--accent-emerald);
    color: #ffffff;
}

.kiosk-step-info {
    line-height: 1.15;
    overflow: hidden;
}

.kiosk-step-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.kiosk-step-pill.active .kiosk-step-title {
    color: var(--accent-gold-light);
}

.kiosk-step-status {
    font-size: 0.68rem;
    color: #94a3b8;
}

.kiosk-step-pill.completed .kiosk-step-status {
    color: var(--accent-emerald-light);
    font-weight: 600;
}

/* ==========================================================
 * KIOSK STAGE & STEP CAROUSEL
 * ========================================================== */
.kiosk-stage-header {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-md);
    padding: 0.55rem 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.kiosk-stage-header h3 {
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.kiosk-stage-header p {
    font-size: 0.8rem;
}

.kiosk-wizard-step {
    display: none;
    animation: fadeInStep 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.kiosk-wizard-step.active-step {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================
 * SPLIT-SCREEN 50:50 CANDIDATE CARDS (HORIZONTAL BENTO LAYOUT)
 * ========================================================== */
.kiosk-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 0.85rem;
}

.kiosk-card {
    background: rgba(30, 41, 59, 0.9);
    border: 2.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: row; /* Horizontal split: Left Photo, Right Info */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    min-height: 295px;
    max-height: 335px;
}

.kiosk-card:hover {
    border-color: rgba(251, 191, 36, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.kiosk-card.selected {
    border-color: var(--accent-gold);
    background: rgba(30, 41, 59, 1);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.45), 0 20px 50px rgba(0, 0, 0, 0.75);
    transform: translateY(-4px) scale(1.008);
}

/* Left Photo Column (Full 100% Portrait Frame) */
.kiosk-card-photo-col {
    width: 230px;
    min-width: 200px;
    max-width: 250px;
    position: relative;
    background: radial-gradient(circle at center, #1e293b 0%, #090e1a 100%);
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.kiosk-card-photo-col .kiosk-card-img-holder {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kiosk-card-photo-col .kiosk-card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.35s ease;
}

.kiosk-card:hover .kiosk-card-photo-col .kiosk-card-img-holder img {
    transform: scale(1.04);
}

/* Candidate Number Badge */
.kiosk-card-number {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f2c59, #1e4a8a);
    border: 2.5px solid var(--accent-gold);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.35rem;
    line-height: 1;
    z-index: 15;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

/* ==========================================================
 * HEAD-TO-HEAD (VS) BATTLE ARENA CARDS
 * ========================================================== */
.kiosk-battle-arena {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.kiosk-battle-card {
    flex: 1;
    min-width: 0;
    border-radius: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
    border: 2px solid transparent;
}

.kiosk-battle-card:hover {
    transform: translateY(-4px);
}

/* Candidate Red Theme (Kandidat A / No. 1) */
.kiosk-battle-card.cand-red {
    background: radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.35), transparent 60%),
                linear-gradient(155deg, #9f1239 0%, #e11d48 45%, #881337 100%);
    border-color: rgba(244, 63, 94, 0.45);
}

.kiosk-battle-card.cand-red:hover {
    border-color: #f43f5e;
    box-shadow: 0 18px 45px rgba(225, 29, 72, 0.4);
}

/* Candidate Blue Theme (Kandidat B / No. 2) */
.kiosk-battle-card.cand-blue {
    background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.35), transparent 60%),
                linear-gradient(155deg, #1e40af 0%, #2563eb 45%, #172554 100%);
    border-color: rgba(59, 130, 246, 0.45);
}

.kiosk-battle-card.cand-blue:hover {
    border-color: #38bdf8;
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.4);
}

/* Candidate Amber Theme (Fallback No. 3+) */
.kiosk-battle-card.cand-amber {
    background: radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.35), transparent 60%),
                linear-gradient(155deg, #b45309 0%, #d97706 45%, #78350f 100%);
    border-color: rgba(245, 158, 11, 0.45);
}

/* Selected Active State */
.kiosk-battle-card.selected {
    border: 3px solid #22c55e !important;
    box-shadow: 0 0 35px rgba(34, 197, 94, 0.65), 0 18px 45px rgba(0, 0, 0, 0.5) !important;
    transform: scale(1.015);
}

/* Top Battle Header */
.kiosk-battle-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.5rem 1.25rem;
    z-index: 5;
}

.kiosk-battle-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 0.3rem 0.9rem 0.3rem 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.kiosk-battle-num-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #ffffff;
}

.cand-red .kiosk-battle-num-circle {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.8);
}

.cand-blue .kiosk-battle-num-circle {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.cand-amber .kiosk-battle-num-circle {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
}

.kiosk-battle-tag-text {
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.6px;
    color: #ffffff;
    text-transform: uppercase;
}

.kiosk-battle-slogan {
    font-family: 'Segoe Print', 'Caveat', 'Dancing Script', cursive, sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    font-style: italic;
    opacity: 0.95;
    max-width: 50%;
    text-align: right;
    line-height: 1.2;
    transform: rotate(-2deg);
}

/* Middle Hero Visual & Floating Focus Box */
.kiosk-battle-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    padding: 0.25rem 1.25rem 0 1.25rem;
    min-height: 235px;
    z-index: 2;
}

/* Floating Glassmorphism Focus Points Box */
.kiosk-focus-box {
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 0.75rem 0.95rem;
    max-width: 185px;
    margin-bottom: 1rem;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.kiosk-focus-title {
    font-size: 0.76rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kiosk-focus-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

.kiosk-focus-list li {
    position: relative;
    padding-left: 0.85rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kiosk-focus-list li:last-child {
    margin-bottom: 0;
}

.kiosk-focus-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #facc15;
    font-weight: bold;
    font-size: 0.95rem;
}

/* Centered Hero Portrait Photo Frame (Enlarged Seamless Cutout) */
.kiosk-battle-photo-frame {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 240px;
    width: 230px;
    margin-left: auto;
    z-index: 1;
}

.kiosk-battle-img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.6));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kiosk-battle-card:hover .kiosk-battle-img {
    transform: scale(1.06) translateY(-4px);
}

.kiosk-battle-selected-glow {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    display: none;
    align-items: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.7);
    animation: pulseSelected 2s infinite;
}

.kiosk-battle-card.selected .kiosk-battle-selected-glow {
    display: flex !important;
}

/* Lower Bento Card Container (Clean White Container) */
.kiosk-battle-bento {
    background: #ffffff;
    color: #0f172a;
    border-radius: 18px;
    padding: 0.85rem 1.15rem 0.75rem 1.15rem;
    margin: 0.65rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 4;
}

.kiosk-bento-name {
    font-weight: 800;
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 0.15rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kiosk-bento-sub {
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.kiosk-btn-detail {
    font-size: 0.74rem;
    font-weight: 700;
    border-color: #cbd5e1;
    color: #475569;
    background: #f8fafc;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.kiosk-btn-detail:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Big Action Select Button */
.kiosk-battle-btn-select {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 0.7rem 1.25rem;
    font-weight: 800;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ffffff;
    transition: all 0.25s ease;
    cursor: pointer;
    margin-bottom: 0.35rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cand-red .kiosk-battle-btn-select {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.cand-red .kiosk-battle-btn-select:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
}

.cand-blue .kiosk-battle-btn-select {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.cand-blue .kiosk-battle-btn-select:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
}

.cand-amber .kiosk-battle-btn-select {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Selected Card Button Transformation */
.kiosk-battle-card.selected .kiosk-battle-btn-select {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(22, 163, 74, 0.75) !important;
}

/* Bottom Italic Motto Quote */
.kiosk-bento-quote {
    font-size: 0.76rem;
    font-style: italic;
    color: #64748b;
    line-height: 1.3;
    margin-top: 0.2rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================
 * CENTER VS BATTLE DIVIDER
 * ========================================================== */
.kiosk-vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 115px;
    max-width: 125px;
    z-index: 5;
    text-align: center;
    align-self: center;
}

.kiosk-vs-badge {
    font-size: 2.8rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: -2px;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7));
    transform: rotate(-6deg);
}

.vs-letter.vs-red {
    color: #f43f5e;
    text-shadow: 0 0 20px rgba(244, 63, 94, 0.8), 0 0 40px rgba(244, 63, 94, 0.4);
}

.vs-letter.vs-blue {
    color: #38bdf8;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.8), 0 0 40px rgba(56, 189, 248, 0.4);
}

.kiosk-vs-caption {
    font-family: 'Segoe Print', 'Caveat', 'Dancing Script', cursive, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    font-style: italic;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Candidate Selected Badge Legacy Support */
.kiosk-card-selected-badge {
    display: none;
}

@keyframes pulseSelected {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* ==========================================================
 * KIOSK BOTTOM CONTROLS & ACTION BAR
 * ========================================================== */
.kiosk-action-bar {
    position: sticky;
    bottom: 0.5rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border: 2px solid rgba(251, 191, 36, 0.4);
    border-radius: 16px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 99;
}

/* ==========================================================
 * REVIEW & CONFIRMATION STEP (FINAL STAGE)
 * ========================================================== */
.kiosk-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.kiosk-review-card {
    background: rgba(30, 41, 59, 0.9);
    border: 2px solid rgba(251, 191, 36, 0.35);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

.kiosk-review-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.kiosk-review-img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    flex-shrink: 0;
}

/* ==========================================================
 * SUCCESS RECEIPT & KIOSK AUTO-RESET
 * ========================================================== */
.receipt-card {
    background: #ffffff;
    color: #0f172a;
    border-radius: var(--radius-xl);
    border: 3px dashed #94a3b8;
    padding: 2.5rem;
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.receipt-header {
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.receipt-code-box {
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.5rem;
    text-align: center;
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin: 1rem 0;
}

.kiosk-countdown-alert {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 95, 70, 0.4));
    border: 2px solid var(--accent-emerald);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2rem;
    color: #ffffff;
    text-align: center;
    max-width: 620px;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.kiosk-countdown-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-emerald);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 900;
    margin-left: 0.5rem;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

/* ==========================================================
 * RESPONSIVENESS (MOBILE & TABLET TRANSFORMATION)
 * ========================================================== */
@media (max-width: 991px) {
    .voter-container {
        padding: 0.75rem 0.75rem 2rem 0.75rem;
    }

    .kiosk-battle-arena {
        flex-direction: column;
        gap: 1.25rem;
    }

    .kiosk-vs-divider {
        flex-direction: row;
        gap: 0.75rem;
        min-width: auto;
        max-width: none;
        width: 100%;
        margin: 0.25rem 0;
        justify-content: center;
    }

    .kiosk-vs-badge {
        font-size: 2rem;
        transform: rotate(0deg);
    }

    .kiosk-vs-caption {
        max-width: none;
        font-size: 0.88rem;
    }

    .kiosk-battle-hero {
        min-height: auto;
        padding: 0.5rem 0.85rem 0;
    }

    .kiosk-focus-box {
        max-width: 145px;
        padding: 0.5rem 0.65rem;
    }

    .kiosk-focus-title {
        font-size: 0.7rem;
    }

    .kiosk-focus-list {
        font-size: 0.68rem;
    }

    .kiosk-battle-photo-frame {
        width: 140px;
        height: 140px;
    }

    .kiosk-split-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .kiosk-card {
        flex-direction: column;
        min-height: auto;
        max-height: none;
    }

    .kiosk-card-photo-col {
        width: 100%;
        max-width: 100%;
        height: 220px;
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .kiosk-candidate-name {
        padding-right: 0;
        font-size: 1.25rem;
    }

    .kiosk-card-body {
        padding: 1.25rem;
    }

    .kiosk-compare-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .kiosk-review-grid {
        grid-template-columns: 1fr;
    }

    .kiosk-action-bar {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .kiosk-action-bar > div {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .kiosk-action-bar button {
        width: 100%;
    }
}
