/* Kiosk Vertical Layout - 1080x1920 */
:root {
    --kiosk-primary: #6f42c1;
    --kiosk-secondary: #ffc107;
    --kiosk-bg: #1a1a1a;
    --kiosk-text: #ffffff;
    --kiosk-font-size: 24px;
    --kiosk-glow: 0 0 30px rgba(111, 66, 193, 0.6);
}

body.kiosk-mode {
    background-color: transparent;
    color: var(--kiosk-text);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    min-height: 100vh;
}

.kiosk-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Header */
.kiosk-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 20px;
}

.kiosk-logo img {
    height: 80px;
    filter: drop-shadow(0 4px 20px rgba(111, 66, 193, 0.5));
}

/* Main Content Area - Centered Vertical */
.kiosk-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.kiosk-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 40px;
    padding: 60px 50px;
    width: 90%;
    max-width: 600px;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.4),
        0 0 100px rgba(111, 66, 193, 0.2);
    backdrop-filter: blur(20px);
    animation: card-appear 0.6s ease-out;
}

@keyframes card-appear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.kiosk-title {
    font-size: 3rem;
    color: var(--kiosk-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(111, 66, 193, 0.3);
}

.kiosk-text {
    font-size: 1.5rem;
    line-height: 2.2rem;
    color: #555;
    margin-bottom: 2rem;
}

/* Buttons - Centralizados com Pulso */
.btn-kiosk {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    min-height: 100px;
    padding: 35px 40px;
    margin: 0 auto 25px;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.3),
        0 0 0 0 rgba(255,255,255,0.4);
}

.btn-kiosk::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-kiosk:hover::before {
    left: 100%;
}

.btn-kiosk:active {
    transform: scale(0.97);
}

.btn-primary-kiosk {
    background: linear-gradient(135deg, var(--kiosk-primary) 0%, #9b59b6 100%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.btn-primary-kiosk:hover {
    box-shadow: 
        0 15px 40px rgba(111, 66, 193, 0.5),
        0 0 60px rgba(111, 66, 193, 0.3);
    transform: translateY(-3px);
}

.btn-secondary-kiosk {
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    color: #333;
}

.btn-secondary-kiosk:hover {
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.2),
        0 0 40px rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-success-kiosk {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.btn-success-kiosk:hover {
    box-shadow: 
        0 15px 40px rgba(40, 167, 69, 0.5),
        0 0 60px rgba(32, 201, 151, 0.3);
    transform: translateY(-3px);
}

/* Pulse Animation Intensificada */
.pulse {
    animation: pulse-intense 2s ease-in-out infinite;
    box-shadow: 
        0 10px 30px rgba(111, 66, 193, 0.4),
        0 0 0 0 rgba(111, 66, 193, 0.7);
}

@keyframes pulse-intense {
    0% {
        transform: scale(1);
        box-shadow: 
            0 10px 30px rgba(111, 66, 193, 0.4),
            0 0 0 0 rgba(111, 66, 193, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 15px 50px rgba(111, 66, 193, 0.6),
            0 0 0 20px rgba(111, 66, 193, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 
            0 10px 30px rgba(111, 66, 193, 0.4),
            0 0 0 0 rgba(111, 66, 193, 0);
    }
}

/* Glow Animation Alternativa */
.glow {
    animation: button-glow 2s ease-in-out infinite;
}

@keyframes button-glow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(111, 66, 193, 0.5));
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 0 30px rgba(111, 66, 193, 0.8));
    }
}

/* Footer */
.kiosk-footer {
    width: 100%;
    padding: 20px;
    font-size: 1rem;
    opacity: 0.8;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

/* Formularios - Maiores e Legiveis */
.form-control-lg {
    height: auto;
    min-height: 80px;
    padding: 25px 30px;
    font-size: 2rem;
    border-radius: 20px;
    border: 3px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    border-color: var(--kiosk-primary);
    box-shadow: 0 0 30px rgba(111, 66, 193, 0.3);
}

.form-group label {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

/* Utilities */
.hidden { display: none !important; }

/* Idle Video Background */
#idle-video-bg {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
}

/* Kiosk Custom Modals */
.kiosk-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.kiosk-modal-card {
    background: rgba(255, 255, 255, 0.98);
    color: #333;
    width: 100%;
    max-width: 800px;
    border-radius: 50px;
    padding: 60px;
    text-align: center;
    box-shadow: 
        0 30px 80px rgba(0,0,0,0.5),
        0 0 100px rgba(111, 66, 193, 0.2);
    animation: modal-enter 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kiosk-modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--kiosk-primary);
    margin-bottom: 2rem;
}

.kiosk-modal-text {
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #555;
    margin-bottom: 3rem;
}

.kiosk-modal-actions {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

@keyframes modal-enter {
    from { 
        opacity: 0; 
        transform: scale(0.8) translateY(50px); 
    }
    to { 
        opacity: 1; 
        transform: scale(1) translateY(0); 
    }
}

/* Badge Status */
.badge {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
}

.badge-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.badge-danger {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
}

/* Timer Display */
.timer {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    background: rgba(0,0,0,0.3);
    padding: 10px 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

/* Responsive para tela vertical 9:16 */
@media (max-width: 1080px) {
    .kiosk-container {
        padding: 20px;
    }
    
    .kiosk-title {
        font-size: 2.5rem;
    }
    
    .kiosk-text {
        font-size: 1.3rem;
    }
    
    .btn-kiosk {
        min-height: 80px;
        padding: 25px 30px;
        font-size: 1.6rem;
    }
    
    .kiosk-card {
        padding: 40px 30px;
    }
}

@media (max-height: 1000px) {
    .kiosk-header {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .kiosk-logo img {
        height: 60px;
    }
    
    .kiosk-content {
        padding: 10px 0;
    }
    
    .btn-kiosk {
        min-height: 70px;
        margin-bottom: 15px;
    }
}
