﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;*/
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}
/*
.banner {
    width: 100%;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #4a2c6f 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(26, 11, 46, 0.85) 0%, rgba(45, 27, 78, 0.85) 50%, rgba(74, 44, 111, 0.85) 100%);
    }

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}*/

.logo {
    text-align: center;
    margin-bottom: 20px;
}

    .logo h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 5px;
    }

.event-details {
    text-align: center;
    margin-bottom: 20px;
}

    .event-details h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .event-details p {
        font-size: 1.1rem;
        opacity: 0.9;
    }

.organizers {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 15px;
}

.directive {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.content-section {
    background: #fff;
    color: #000;
    border-radius: 20px;
    padding: 40px 30px;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: none;
    background: #f5f5f5;
    border-radius: 10px;
    font-size: 1rem;
    transition: background 0.3s;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="tel"]:focus {
        outline: none;
        background: #e8e8e8;
    }

.help-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-icon {
    color: #25D366;
    font-size: 1.1rem;
}

.phone-input {
    display: flex;
    gap: 10px;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.flag {
    font-size: 1.5rem;
}

.phone-input input {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
}

input[type="checkbox"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-top: 2px;
    accent-color: #5b21b6;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

    .checkbox-label a {
        color: #5b21b6;
        text-decoration: none;
    }

        .checkbox-label a:hover {
            text-decoration: underline;
        }

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #5b21b6;
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}

    .submit-btn:hover {
        background: #4c1d95;
    }

.camera-icon {
    font-size: 1.3rem;
}

.disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.camera-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    padding: 0;
}

    .camera-modal.active {
        display: flex;
    }

@media (max-width: 768px) {
    .camera-modal {
        padding: 0;
        flex-direction: column;
    }

    .camera-container-wrapper {
        width: 100%;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .camera-container {
        width: 100%;
        height: 100%;
        aspect-ratio: 9 / 16;
        border-radius: 0;
        max-width: 100%;
        position: relative;
    }

    .camera-instruction {
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        z-index: 10;
        font-size: 0.9rem;
        margin-bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        padding: 8px 12px;
        border-radius: 8px;
    }

    .liveness-feedback {
        position: absolute;
        top: 60px;
        left: 10px;
        right: 10px;
        z-index: 10;
        margin-bottom: 0;
        font-size: 12px;
    }

    .camera-controls {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        padding: 15px 20px 30px 20px;
        margin-top: 0;
        background: rgba(0, 0, 0, 0.95);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        order: 2;
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    #loadingIndicator {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }
}

@media (min-width: 769px) {
    .camera-modal {
        padding: 20px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .camera-container-wrapper {
        max-width: 640px;
        height: auto;
        flex: none;
        margin-bottom: 30px;
    }

    .camera-container {
        max-width: 640px;
        height: auto;
        aspect-ratio: 9 / 16;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }

    .camera-instruction {
        margin-bottom: 20px;
        font-size: 1.1rem;
    }

    .camera-controls {
        position: relative;
        margin-top: 0;
        order: auto;
        padding: 0;
        background: transparent;
        border-top: none;
    }

    #loadingIndicator {
        margin-top: 16px;
    }
}

.camera-container-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.camera-container {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 0;
    overflow: hidden;
    background: #000;
}

#camera-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

#camera-canvas {
    display: none;
}

.camera-controls {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.camera-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 60px;
}

.capture-btn {
    background: #fff;
    color: #000;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 5px solid #ef4444;
    padding: 0;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

    .capture-btn:hover {
        background: #f0f0f0;
        box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
        transform: scale(1.05);
    }

    .capture-btn:active {
        transform: scale(0.95);
    }

.cancel-btn {
    background: #ef4444;
    color: #fff;
}

    .cancel-btn:hover {
        background: #dc2626;
    }

.retake-btn {
    background: #f59e0b;
    color: #fff;
}

    .retake-btn:hover {
        background: #d97706;
    }

.submit-photo-btn {
    background: #10b981;
    color: #fff;
}

    .submit-photo-btn:hover {
        background: #059669;
    }

@media (max-width: 768px) {
    .camera-controls {
        gap: 12px;
    }

    .camera-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .capture-btn {
        width: 75px;
        height: 75px;
        font-size: 1.6rem;
        border: 4px solid #ef4444;
    }
}

@media (max-width: 480px) {
    .camera-controls {
        gap: 10px;
    }

    .capture-btn {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
        border: 4px solid #ef4444;
    }

    .camera-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .liveness-feedback {
        font-size: 12px;
        padding: 8px 10px;
    }

    .camera-instruction {
        font-size: 0.9rem;
    }
}

.camera-preview {
    display: none;
}

    .camera-preview.active {
        display: block;
    }

    .camera-preview img {
        width: 100%;
        border-radius: 15px;
    }

.camera-instruction {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 8px;
    display: none;
}

.checkbox-group.error .error-message {
    display: block;
}

.checkbox-group.error input[type="checkbox"] {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

#selfie-data {
    display: none;
}

@media (max-width: 768px) {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 8px;
    display: none;
}

.checkbox-group.error .error-message {
    display: block;
}

.checkbox-group.error input[type="checkbox"] {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .banner {
        padding: 15px;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    .event-details h2 {
        font-size: 1.3rem;
    }

    .event-details p {
        font-size: 0.95rem;
    }

    .container {
        padding: 15px;
    }

    .content-section {
        padding: 30px 20px;
    }

    h3 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .phone-input {
        flex-direction: column;
    }

    .country-code {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .event-details h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 1.3rem;
    }
}


.banner {
    position: relative;
    width: 100%;
    height:200px;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slides {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .banner-slide.active {
        opacity: 1;
    }

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    margin: 20px;
}

.logo h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.event-details h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.event-details p {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.organizers p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.directive p {
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    margin-top: 15px;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.banner-dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .banner-dot:hover {
        background-color: rgba(255, 255, 255, 0.8);
        transform: scale(1.2);
    }

    .banner-dot.active {
        background-color: white;
    }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .banner {
        min-height: 500px;
    }

    .banner-content {
        padding: 30px 15px;
        width: 95%;
    }

    .logo h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .event-details h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .event-details p {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .organizers p {
        font-size: 0.95rem;
        margin-top: 8px;
    }

    .directive p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .banner-dots {
        bottom: 10px;
    }

    .banner-dot {
        height: 10px;
        width: 10px;
    }
}

@media (max-width: 480px) {
    .banner {
        min-height: 550px;
    }

    .banner-content {
        padding: 20px 10px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .event-details h2 {
        font-size: 1.1rem;
    }

    .event-details p {
        font-size: 0.9rem;
    }

    .organizers p {
        font-size: 0.85rem;
    }

    .directive p {
        font-size: 0.85rem;
    }
}