        #whatsapp-icon {
            position: fixed;
            bottom: 20px;
            right: 1%;
            background-color: transparent;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            cursor: pointer;
            border: none;  
            width: 10%;
            height: 10%;
            z-index: 2147483647 !important; /* Valor máximo posible */
            pointer-events: auto; /* Asegura que siga siendo clickeable */
        }
        
        :root {
            --primary-color: #e63946;
            --dark-color: #1a1a1a;
            --light-color: #ffffff;
            --gray-color: #f5f5f5;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background: linear-gradient(135deg, var(--dark-color) 0%, #2b2b2b 100%);
            color: var(--dark-color);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            overflow-x: hidden;
            position: relative;
            flex-direction: column;
        }

        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* background: url('https://images.unsplash.com/photo-1552674605-db6ffd4facb5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center; */
            background: white;
            background-size: cover;
            /* opacity: 0.15; */
            z-index: -1;
        }

        .race-form-container {
            width: 100%;
            max-width: 1400px;
            background: var(--light-color);
            border-radius: 15px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            transition: var(--transition);
            transform-style: preserve-3d;
            perspective: 1000px;
            position: relative;
            display: flex; 
        }

        .race-form-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
        }


        .form-decoration {
            width: 40%;
            background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
            color: var(--light-color);
        }

        .form-decoration::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            animation: pulse 15s infinite linear;
            pointer-events: none;

        }

        @keyframes pulse {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .decoration-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-align: center;
            position: relative;
            z-index: 1;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .decoration-subtitle {
            font-size: 1rem;
            text-align: center;
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
            opacity: 0.9;
        }

        .decoration-image {
            width: 80%;
            max-width: 200px;
            filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
            animation: float 6s ease-in-out infinite;
            position: relative;
            z-index: 1;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }

        .form-content {
            width: 60%;
            padding: 50px;
            position: relative;
        }
        

        .form-header {
            margin-bottom: 30px;
            text-align: center;
        }

        .form-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
        }

        .form-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 3px;
        }

        .form-subtitle {
            font-size: 0.9rem;
            color: #666;
        }

        .race-form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .race-form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            font-size: 0.9rem;
            color: #555;
            transition: var(--transition);
        }

        .race-form-input {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.95rem;
            transition: var(--transition);
            background-color: var(--gray-color);
        }

        .race-form-input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
            outline: none;
            background-color: var(--light-color);
        }

        .race-form-input::placeholder {
            color: #aaa;
        }

        .race-form-select {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.95rem;
            transition: var(--transition);
            background-color: var(--gray-color);
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 1em;
        }

        .race-form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
            outline: none;
            background-color: var(--light-color);
        }

        .race-form-select-categoria {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.95rem;
            transition: var(--transition);
            background-color: var(--gray-color);
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 1em;
        }

        .race-form-select-categoria:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
            outline: none;
            background-color: var(--light-color);
        }


        .radio-group {
            display: flex;
            gap: 20px;
            margin-top: 10px;
        }

        .radio-option {
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        .radio-input {
            display: none;
        }

        .radio-label {
            position: relative;
            padding-left: 30px;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .radio-label::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            border: 2px solid #ddd;
            border-radius: 50%;
            transition: var(--transition);
        }

        .radio-input:checked + .radio-label::before {
            border-color: var(--primary-color);
            background-color: var(--primary-color);
            box-shadow: inset 0 0 0 3px var(--light-color);
        }

        .form-actions {
            margin-top: 40px;
            display: flex;
            justify-content: center;
        }

        .submit-btn {
            background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
            color: var(--light-color);
            border: none;
            padding: 15px 40px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 20px rgba(230, 57, 70, 0.6);
        }

        .submit-btn:active {
            transform: translateY(1px);
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }

        .submit-btn:hover::before {
            left: 100%;
        }



        

        .error-message {
            color: var(--primary-color);
            font-size: 0.8rem;
            margin-top: 5px;
            display: none;
            animation: shake 0.5s ease-in-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20%, 60% { transform: translateX(-5px); }
            40%, 80% { transform: translateX(5px); }
        }

        .race-form-input.error, .race-form-select.error {
            border-color: var(--primary-color);
            animation: shake 0.5s ease-in-out;
        }

        .race-form-input.success, .race-form-select.success {
            border-color: #2ecc71;
        }

        .success-icon, .error-icon {
            position: absolute;
            right: 15px;
            top: 38px;
            font-size: 1.2rem;
            opacity: 0;
            transition: var(--transition);
        }

        .success-icon {
            color: #2ecc71;
        }

        .error-icon {
            color: var(--primary-color);
        }

        .race-form-input.success ~ .success-icon, 
        .race-form-select.success ~ .success-icon {
            opacity: 1;
        }

        .race-form-input.error ~ .error-icon, 
        .race-form-select.error ~ .error-icon {
            opacity: 1;
        }

        .talla-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 10px;
        }

        .talla-option {
            position: relative;
        }

        .talla-input {
            display: none;
        }

        .talla-label {
            display: inline-block;
            padding: 8px 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            font-size: 0.9rem;
        }

        .talla-input:checked + .talla-label {
            border-color: var(--primary-color);
            background-color: var(--primary-color);
            color: var(--light-color);
            font-weight: 600;
        }

        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        @media (max-width: 768px) {
            .race-form-container {
                flex-direction: column;
            }
            
            .form-decoration, .form-content {
                width: 100%;
            }
            
            .form-decoration {
                padding: 30px 20px;
            }
            
            .form-content {
                padding: 30px;
            }
            
            .decoration-title {
                font-size: 1.5rem;
            }
            
            .form-title {
                font-size: 1.5rem;
            }
            
            .radio-group {
                flex-direction: column;
                gap: 10px;
            }
        }

        /* Select2 customization */
        .select2-container--default .select2-selection--single {
            height: auto;
            padding: 12px 15px;
            border: 2px solid #ddd !important;
            border-radius: 8px !important;
            background-color: var(--gray-color) !important;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 100% !important;
            right: 10px !important;
        }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            padding: 0 !important;
            line-height: 1.5 !important;
        }

        .select2-container--default.select2-container--focus .select2-selection--single {
            border-color: var(--primary-color) !important;
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2) !important;
        }

        .select2-container--default .select2-results__option--highlighted[aria-selected] {
            background-color: var(--primary-color) !important;
        }

            /* Estilo para mensajes informativos */
    .info-message {
        color: #17a2b8;
        font-size: 0.85em;
        margin-top: 5px;
        font-style: italic;
    }
    
    /* Estilo para campos deshabilitados */
    .race-form-input:disabled, 
    .race-form-select:disabled, 
    .radio-input:disabled, 
    .talla-input:disabled {
        background-color: #f8f9fa;
        cursor: not-allowed;
    }
    
    /* Estilo para etiquetas de campos deshabilitados */
    .race-form-label:disabled {
        color: #6c757d;
    }

/* Galería de imágenes del evento */
.event-gallery-container {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    position: relative;
    z-index: 1;
}

.event-gallery {
    width: 100%;
}

.gallery-item {
    padding: 5px;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Flechas del carrusel */
.slick-prev, .slick-next {
    width: 30px;
    height: 30px;
    z-index: 2;
}

.slick-prev:before, .slick-next:before {
    color: var(--light-color);
    font-size: 30px;
    opacity: 0.8;
}

.slick-prev {
    left: -35px;
}

.slick-next {
    right: -35px;
}

/* Puntos indicadores */
.slick-dots {
    bottom: -25px;
}

.slick-dots li button:before {
    color: var(--light-color);
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: var(--light-color);
    opacity: 1;
}

/* Estilo para cuando no hay imágenes */
.decoration-image {
    width: 80%;
    max-width: 200px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}




/* Botón Primario (como el que ya tienes) */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

/* Botón Secundario - Azul */
.btn-secondary {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Botón Éxito - Verde */
.btn-success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

/* Botón Advertencia - Amarillo/Naranja */
.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

/* Botón Peligro - Rojo Oscuro */
.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

/* Botón Info - Azul Claro */
.btn-info {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.4);
}

/* Botón Dark - Gris Oscuro */
.btn-dark {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.4);
}

/* Botón Light - Blanco/Gris Claro */
.btn-light {
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(189, 195, 199, 0.4);
}

/* Estilos base para todos los botones (compartidos) */
.btn {
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin: 5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(1px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Versión pequeña */
.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Versión grande */
.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}
        /* Navbar Styles */
        .race-navbar {
            background-color: var(--light-color);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
        }

        .race-navbar.scrolled {
            padding: 10px 5%;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .navbar-logo {
            height: 40px;
            margin-right: 10px;
            transition: var(--transition);
        }

        .navbar-brand-text {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark-color);
            transition: var(--transition);
        }

        .navbar-brand-text span {
            color: var(--primary-color);
        }

        .navbar-menu {
            display: flex;
            align-items: center;
        }

        .navbar-links {
            display: flex;
            list-style: none;
            margin-right: 30px;
        }

        .navbar-item {
            margin-left: 25px;
            position: relative;
        }

        .navbar-link {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            font-size: 0.95rem;
            transition: var(--transition);
            padding: 8px 0;
            position: relative;
        }

        .navbar-link:hover {
            color: var(--primary-color);
        }

        .navbar-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: var(--transition);
        }

        .navbar-link:hover::after {
            width: 100%;
        }

        .navbar-link.active {
            color: var(--primary-color);
            font-weight: 600;
        }

        .navbar-link.active::after {
            width: 100%;
        }

        .navbar-actions {
            display: flex;
            align-items: center;
        }

        .login-btn {
            background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
            color: var(--light-color);
            border: none;
            padding: 10px 20px;
            font-size: 0.9rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
        }

        .login-btn:active {
            transform: translateY(0);
        }

        .login-btn i {
            margin-right: 8px;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--dark-color);
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 70px;
            left: 0;
            width: 100%;
            background-color: var(--light-color);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            padding: 20px;
            transform: translateY(-150%);
            opacity: 0;
            transition: var(--transition);
            z-index: 999;
        }

        .mobile-menu.active {
            transform: translateY(0);
            opacity: 1;
        }

        .mobile-links {
            list-style: none;
        }

        .mobile-item {
            margin-bottom: 15px;
        }

        .mobile-link {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            font-size: 1rem;
            display: block;
            padding: 10px;
            transition: var(--transition);
        }

        .mobile-link:hover {
            color: var(--primary-color);
            padding-left: 15px;
        }

        .mobile-login-btn {
            width: 100%;
            margin-top: 10px;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .navbar-links {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .navbar-actions .login-btn {
                display: none;
            }
        }

        @media (max-width: 576px) {
            .navbar-brand-text {
                font-size: 1.2rem;
            }
            
            .navbar-logo {
                height: 30px;
            }
        }

                /* Main Content Padding */
        main {
            padding-top: 80px;
            padding-bottom: 40px;
            /* min-height: 100vh;
            flex: 1;
            padding-bottom: 60px;  */

        }


         /* Footer Styles */
        .race-footer {
            background-color: var(--dark-color);
            color: var(--light-color);
            padding: 50px 0 30px;
            position: relative;
        }

        .footer-wave {
            position: absolute;
            top: -50px;
            left: 0;
            width: 100%;
            height: 50px;
            background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%231a1a1a" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%231a1a1a" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231a1a1a"/></svg>');
            background-size: cover;
            background-repeat: no-repeat;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 5%;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }

        .footer-logo-col {
            display: flex;
            flex-direction: column;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            text-decoration: none;
        }

        .footer-logo-img {
            height: 40px;
            margin-right: 10px;
        }

        .footer-logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--light-color);
        }

        .footer-logo-text span {
            color: var(--primary-color);
        }

        .footer-description {
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 20px;
            opacity: 0.8;
        }

        .footer-social {
            display: flex;
            gap: 15px;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--light-color);
            transition: var(--transition);
        }

        .social-link:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-heading {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--primary-color);
        }

        .footer-links {
            list-style: none;
        }

        .footer-link-item {
            margin-bottom: 12px;
        }

        .footer-link {
            color: var(--light-color);
            text-decoration: none;
            font-size: 0.95rem;
            opacity: 0.8;
            transition: var(--transition);
            display: flex;
            align-items: center;
        }

        .footer-link:hover {
            opacity: 1;
            color: var(--primary-color);
            padding-left: 5px;
        }

        .footer-link i {
            margin-right: 8px;
            width: 20px;
            text-align: center;
        }

        .footer-contact-item {
            display: flex;
            margin-bottom: 15px;
        }

        .contact-icon {
            color: var(--primary-color);
            margin-right: 15px;
            font-size: 1.1rem;
            margin-top: 3px;
        }

        .contact-text {
            font-size: 0.95rem;
            opacity: 0.8;
            line-height: 1.6;
        }

        .footer-bottom {
            background-color: rgba(0, 0, 0, 0.2);
            padding: 20px 5%;
            text-align: center;
            margin-top: 40px;
        }

        .footer-copyright {
            font-size: 0.85rem;
            opacity: 0.7;
        }

        .footer-legal-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 10px;
        }

        .legal-link {
            color: var(--light-color);
            text-decoration: none;
            font-size: 0.8rem;
            opacity: 0.7;
            transition: var(--transition);
        }

        .legal-link:hover {
            opacity: 1;
            color: var(--primary-color);
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .footer-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .footer-heading {
                margin-bottom: 15px;
            }
            
            .footer-wave {
                top: -30px;
                height: 30px;
            }
        }

        @media (max-width: 576px) {
            .footer-logo-text {
                font-size: 1.3rem;
            }
            
            .footer-logo-img {
                height: 35px;
            }
        }




.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-input {
    margin-right: 5px;
}

.race-form-group.error .radio-label {
    color: #ff3860;
}

.race-form-group.success .radio-label {
    color: #09c372;
}

#email.invalid {
    border-color: #ff3860;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}
.race-details {
    margin-top: 30px;
}

.race-details-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.race-details-title span {
    color: var(--primary-color);
    font-weight: 600;
}

.race-badge {
    background-color: var(--primary-color);
    border-radius: 50px;
    padding: 5px 10px;
    color: white;
    font-size: 0.8rem;
}

.race-list-group {
    list-style: none;
    margin-bottom: 20px;
}

.race-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.race-list-item div h6 {
    margin: 0;
    font-size: 0.95rem;
}

.race-text-muted {
    color: #666;
}

.race-items-section {
    display: none;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 10px;
}

.race-message {
    margin-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
}



/* Apartado de pago */
        .payment-container {
            width: 100%;
            max-width: 1200px;
            background: var(--light-color);
            border-radius: 15px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            transition: var(--transition);
            transform-style: preserve-3d;
            perspective: 1000px;
            position: relative;
            display: flex; 
        }

        .payment-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
        }

        .payment-decoration {
            width: 40%;
            background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
            color: var(--light-color);
        }

        .payment-decoration::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            animation: pulse 15s infinite linear;
        }

        @keyframes pulse {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .decoration-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-align: center;
            position: relative;
            z-index: 1;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .decoration-subtitle {
            font-size: 1rem;
            text-align: center;
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
            opacity: 0.9;
        }

        .decoration-image {
            width: 80%;
            max-width: 200px;
            filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
            animation: float 6s ease-in-out infinite;
            position: relative;
            z-index: 1;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }

        .payment-content {
            width: 60%;
            padding: 50px;
            position: relative;
        }

        .payment-header {
            margin-bottom: 30px;
            text-align: center;
        }

        .payment-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
        }

        .payment-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 3px;
        }

        .payment-subtitle {
            font-size: 0.9rem;
            color: #666;
        }

        .payment-options {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 30px;
        }

        .payment-option {
            position: relative;
        }

        .payment-input {
            position: absolute;
            opacity: 0;
        }

        .payment-label {
            display: flex;
            align-items: center;
            padding: 20px;
            border: 2px solid #ddd;
            border-radius: 10px;
            cursor: pointer;
            transition: var(--transition);
            background-color: var(--gray-color);
        }

        .payment-input:checked + .payment-label {
            border-color: var(--primary-color);
            background-color: rgba(230, 57, 70, 0.05);
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
        }

        .payment-input:checked + .payment-label .payment-icon {
            color: var(--primary-color);
            transform: scale(1.1);
        }

        .payment-input:checked + .payment-label .payment-radio {
            border-color: var(--primary-color);
        }

        .payment-input:checked + .payment-label .payment-radio::after {
            transform: scale(1);
        }

        .payment-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-right: 15px;
            color: #777;
            transition: var(--transition);
        }

        .payment-text {
            flex: 1;
        }

        .payment-method {
            font-weight: 600;
            margin-bottom: 5px;
        }

        .payment-description {
            font-size: 0.85rem;
            color: #666;
        }

        .payment-radio {
            width: 20px;
            height: 20px;
            border: 2px solid #ddd;
            border-radius: 50%;
            margin-left: 15px;
            position: relative;
            transition: var(--transition);
        }

        .payment-radio::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 12px;
            height: 12px;
            background: var(--primary-color);
            border-radius: 50%;
            transform: scale(0);
            transition: var(--transition);
        }

        .payment-details {
            display: none;
            padding: 20px;
            margin-top: -10px;
            margin-bottom: 20px;
            border: 1px solid #eee;
            border-radius: 0 0 10px 10px;
            background-color: rgba(245, 245, 245, 0.5);
            animation: fadeIn 0.3s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .payment-details.active {
            display: block;
        }

        .payment-form-group {
            margin-bottom: 15px;
        }

        .payment-form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            font-size: 0.9rem;
            color: #555;
        }

        .payment-form-input {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.95rem;
            transition: var(--transition);
        }

        .payment-form-input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
            outline: none;
        }

        .payment-form-row {
            display: flex;
            gap: 15px;
        }

        .payment-form-row .payment-form-group {
            flex: 1;
        }

        .payment-card-icons {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }

        .payment-card-icon {
            width: 40px;
            height: 25px;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: var(--transition);
        }

        .payment-card-icon.active {
            filter: grayscale(0);
            opacity: 1;
        }

        .payment-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 30px;
        }

        .payment-back-btn {
            background: none;
            border: none;
            color: #777;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            transition: var(--transition);
        }

        .payment-back-btn:hover {
            color: var(--primary-color);
        }

        .payment-back-btn i {
            margin-right: 8px;
        }

        .payment-submit-btn {
            background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
            color: var(--light-color);
            border: none;
            padding: 15px 40px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
        }

        .payment-submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 20px rgba(230, 57, 70, 0.6);
        }

        .payment-submit-btn:active {
            transform: translateY(1px);
        }

        .payment-submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }

        .payment-submit-btn:hover::before {
            left: 100%;
        }

        .payment-success {
            text-align: center;
            padding: 30px;
            display: none;
        }

        .payment-success-icon {
            font-size: 5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
            animation: bounceIn 0.8s;
        }

        .payment-success-title {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        .payment-success-message {
            color: #666;
            margin-bottom: 30px;
        }

        .payment-folio {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark-color);
            margin: 20px 0;
            padding: 15px;
            background-color: var(--gray-color);
            border-radius: 8px;
            display: inline-block;
        }

        .payment-store-info {
            margin-top: 30px;
            padding: 20px;
            background-color: var(--gray-color);
            border-radius: 10px;
        }

        .payment-store-title {
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--dark-color);
        }

        .payment-store-list {
            list-style: none;
        }

        .payment-store-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .payment-store-icon {
            margin-right: 10px;
            color: var(--primary-color);
        }

        @media (max-width: 768px) {
            .payment-container {
                flex-direction: column;
            }
            
            .payment-decoration, .payment-content {
                width: 100%;
            }
            
            .payment-decoration {
                padding: 30px 20px;
            }
            
            .payment-content {
                padding: 30px;
            }
            
            .decoration-title {
                font-size: 1.5rem;
            }
            
            .payment-title {
                font-size: 1.5rem;
            }
            
            .payment-form-row {
                flex-direction: column;
                gap: 15px;
            }
            
            .payment-actions {
                flex-direction: column-reverse;
                gap: 15px;
            }
            
            .payment-back-btn {
                margin-top: 10px;
            }
        }

        /* Bloquea scroll del fondo cuando el modal está abierto */
        body.modal-open { overflow: hidden; }

        /* Backdrop */
        .modal {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,.45);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity .2s ease, visibility .2s ease;
            height: 100dvh;                /* altura real de viewport en móviles */
            overscroll-behavior: contain;  /* evita scroll de fondo */
        }
        .modal.is-open {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .modal-dialog {
            width: min(720px, 92vw);
            /* NO pongas max-height aquí; limítalo en .modal-content */
        }

        .modal-content {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,.15);
            overflow: hidden;
            display: flex;                 /* columna flexible */
            flex-direction: column;
            max-height: 90dvh;             /* límite para que el cuerpo pueda scrollear */
            transform: translateY(10px);
            transition: transform .2s ease;
        }
        .modal.is-open .modal-content { transform: translateY(0); }

        .modal-header, .modal-footer {
            flex: 0 0 auto;                /* tamaño contenido, sin crecer */
            padding: 12px 18px;
            border-bottom: 1px solid #eee;
        }
        .modal-footer { border-top: 1px solid #eee; border-bottom: 0; }

        .modal-body {
            flex: 1 1 auto;                /* ocupa el resto del alto disponible */
            min-height: 0;                 /* necesario para que overflow funcione en flex */
            overflow-y: auto;              /* aquí sucede el scroll */
            -webkit-overflow-scrolling: touch; /* inercia en iOS */
            overscroll-behavior: contain;  /* no propaga al body */
            touch-action: pan-y;           /* habilita gesto vertical */
            padding: 16px 18px;
            line-height: 1.5;
        }


        /* Base */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;   /* alto × ancho */
  font-size: 0.75rem;        /* 12px aprox. */
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;      /* píldora */
  border: 1px solid transparent;
  vertical-align: middle;
  white-space: nowrap;
}

/* Variante: warning (tono claro con texto oscuro) */
.badge-warning {
  background-color: #fff3cd; /* amarillo claro */
  color: #664d03;            /* texto legible */
  border-color: #ffecb5;     /* borde sutil */
}


/* fin de pago */


/* Comienzo registro completo */

        .success-container {
            width: 100%;
            max-width: 1200px;
            background: var(--light-color);
            border-radius: 15px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            transition: var(--transition);
            transform-style: preserve-3d;
            perspective: 1000px;
            position: relative;
            display: flex; 

        }

        .success-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
        }

        .success-decoration {
            width: 40%;
            background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
            color: var(--light-color);
        }

        .success-decoration::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            animation: pulse 15s infinite linear;
        }

        @keyframes pulse {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .decoration-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-align: center;
            position: relative;
            z-index: 1;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .decoration-subtitle {
            font-size: 1rem;
            text-align: center;
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
            opacity: 0.9;
        }

        .decoration-image {
            width: 80%;
            max-width: 200px;
            filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
            animation: float 6s ease-in-out infinite;
            position: relative;
            z-index: 1;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }

        .success-content {
            width: 60%;
            padding: 50px;
            position: relative;
            text-align: center;
        }

        .success-header {
            margin-bottom: 30px;
        }

        .success-icon-xl {
            font-size: 5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
            animation: bounceIn 0.8s;
        }

        .success-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .success-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 3px;
        }

        .success-subtitle {
            font-size: 1rem;
            color: #666;
            margin-bottom: 30px;
        }

        .success-muted {
            font-size: 0.75rem;
            color: #666;
        }


        .success-details {
            background-color: var(--gray-color);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 30px;
            text-align: left;
        }

        .success-detail {
            display: flex;
            margin-bottom: 15px;
        }

        .success-detail:last-child {
            margin-bottom: 0;
        }

        .detail-icon {
            color: var(--primary-color);
            margin-right: 15px;
            font-size: 1.2rem;
            min-width: 25px;
        }

        .detail-text {
            flex: 1;
        }

        .detail-label {
            font-weight: 600;
            font-size: 0.9rem;
            color: #555;
            margin-bottom: 3px;
        }

        .detail-value {
            font-size: 1rem;
        }

        .success-folio {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark-color);
            margin: 20px 0;
            padding: 15px;
            background-color: var(--gray-color);
            border-radius: 8px;
            display: inline-block;
        }

        .success-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
        }

        .success-btn {
            background: var(--light-color);
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            padding: 12px 25px;
            font-size: 0.95rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 200px;
        }

        .success-btn:hover {
            background: var(--primary-color);
            color: var(--light-color);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
        }

        .success-btn:active {
            transform: translateY(1px);
        }

        .success-btn i {
            margin-right: 10px;
            font-size: 1.1rem;
        }

        .success-btn-primary {
            background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
            color: var(--light-color);
            border: none;
            padding: 15px 30px;
            box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
        }

        .success-btn-primary:hover {
            background: linear-gradient(135deg, #c1121f 0%, var(--primary-color) 100%);
            box-shadow: 0 7px 20px rgba(230, 57, 70, 0.6);
        }

        .confetti {
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: var(--primary-color);
            opacity: 0;
        }

        @media (max-width: 768px) {
            .success-container {
                flex-direction: column;
            }
            
            .success-decoration, .success-content {
                width: 100%;
            }
            
            .success-decoration {
                padding: 30px 20px;
            }
            
            .success-content {
                padding: 30px;
            }
            
            .decoration-title {
                font-size: 1.5rem;
            }
            
            /* .success-title {
                font-size: 1.5rem;
            } */
            
            .success-actions {
                flex-direction: column;
                align-items: center;
            }
            
            .success-btn {
                width: 100%;
            }

        }

/* final registro completo */
/* Estilos para la navbar */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Estilos para el botón de login */
.login-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
}

.login-btn:hover {
    background: #f5f5f5;
}

.login-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Estilos para el menú desplegable */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.user-menu {
    background: #f8f9fa;
    position: relative;
    padding-right: 30px;
}

.session-badge {
    background: #28a745;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

/* .dropdown:hover .dropdown-menu {
    display: block;
} */

.dropdown-menu.show {
    display: block;
}



.dropdown-item {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

/* Icono de flecha */
.fa-caret-down {
    margin-left: 5px;
    font-size: 14px;
}



/* Estilos específicos para el dropdown móvil */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-session-badge {
    background: #28a745;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    margin: 0 8px;
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 20px;
    background: #f9f9f9;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-dropdown-item {
    border-top: 1px solid #eee;
}

.mobile-dropdown-link {
    display: block;
    padding: 10px 20px;
    color: #555;
    text-decoration: none;
}

.mobile-dropdown-link:hover {
    color: var(--primary-color);
}

/* Iconos */
.mobile-link i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Media queries para mostrar solo en móvil */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .navbar-actions {
        display: none;
    }
}

.form-decoration-footer{
    margin-top: -50px;
}
.tabla-categorias {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px 0;
    font-size: 0.95rem;
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tabla-categorias th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
    color: var(--light-color);
    text-align: left;
    padding: 15px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.tabla-categorias th:first-child {
    border-top-left-radius: 10px;
}

.tabla-categorias th:last-child {
    border-top-right-radius: 10px;
}

.tabla-categorias td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
    transition: var(--transition);
}

.tabla-categorias tr:last-child td {
    border-bottom: none;
}

.tabla-categorias tr:nth-child(even) {
    background-color: rgba(230, 57, 70, 0.03);
}

.tabla-categorias tr:hover td {
    background-color: rgba(230, 57, 70, 0.08);
    transform: translateX(5px);
}

/* Estilo para la columna de costo */
.tabla-categorias td:nth-child(4) {
    font-weight: 600;
    color: var(--primary-color);
}

/* Efecto de borde sutil en hover para filas */
.tabla-categorias tr {
    position: relative;
}

.tabla-categorias tr:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-left: 4px solid var(--primary-color);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .tabla-categorias {
        font-size: 0.85rem;
    }
    
    .tabla-categorias th, 
    .tabla-categorias td {
        padding: 12px 15px;
    }
}


/* inicio */

        .video-container {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
        }

        .video-container video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translateX(-50%) translateY(-50%);
            z-index: 1;
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.6);
            z-index: 2;
        }

        .video-content {
            position: relative;
            z-index: 3;
            padding: 40px 20px;
            color: var(--light-color);
            height: 100%;
            overflow-y: auto;
        }

        .hero-section {
            text-align: center;
            margin-bottom: 50px;
            padding-top: 30px;
        }

        .hero-button {
            background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
            color: var(--light-color);
            border: none;
            padding: 15px 30px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(230, 57, 70, 0.6);
        }

        .events-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 30px;
            color: var(--dark-color);
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
            padding: 0 20px;
        }

        .events-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary-color);
            border-radius: 2px;
        }

        .events-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            padding: 20px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .event-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            transition: var(--transition);
            position: relative;
        }

        .event-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }

        .event-card.sold-out::before {
            content: 'SOLD OUT';
            position: absolute;
            top: 20px;
            right: -35px;
            background: var(--primary-color);
            color: white;
            padding: 5px 40px;
            font-weight: 700;
            transform: rotate(45deg);
            z-index: 10;
            font-size: 0.9rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .event-image {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .event-image-background {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: var(--transition);
        }

        .event-card:hover .event-image-background {
            transform: scale(1.05);
        }

        .event-sold-out {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            background-image: url('<?php echo base_url(); ?>img/sold.png');
            z-index: 5;
            opacity: 0.9;
        }

        .event-content {
            padding: 25px;
        }

        .event-countdown {
            background: var(--dark-color);
            color: var(--light-color);
            padding: 15px;
            text-align: center;
            margin-bottom: 20px;
            border-radius: 10px;
        }

        .countdown-label {
            font-size: 0.9rem;
            margin-bottom: 5px;
            opacity: 0.8;
        }

        .countdown-timer {
            font-family: 'Courier New', monospace;
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: 2px;
        }

        .countdown-units {
            display: flex;
            justify-content: space-between;
            font-size: 0.7rem;
            opacity: 0.8;
            margin-top: 5px;
        }

        .event-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .event-details {
            margin-bottom: 20px;
        }

        .event-detail {
            display: flex;
            margin-bottom: 8px;
            font-size: 0.95rem;
        }

        .event-detail i {
            color: var(--primary-color);
            margin-right: 10px;
            min-width: 20px;
            margin-top: 3px;
        }

        .event-button {
            display: block;
            width: 100%;
            padding: 12px 20px;
            background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 100%);
            color: var(--light-color);
            border: none;
            border-radius: 8px;
            font-weight: 600;
            text-align: center;
            text-decoration: none;
            transition: var(--transition);
            margin-top: 15px;
        }

        .event-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
        }

        .event-button:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .recovery-section {
            text-align: center;
            margin: 50px auto;
            max-width: 600px;
            padding: 30px;
            /* background: rgba(255, 255, 255, 0.95); */
            background: rgba(0, 0, 0, 0.95);

            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .recovery-button {
            display: inline-block;
            padding: 15px 30px;
            background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
            color: var(--light-color);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: var(--transition);
            box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
        }

        .recovery-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4);
        }

        .recovery-button i {
            margin-right: 8px;
        }

        .alert-message {
            padding: 15px;
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 8px;
            margin-bottom: 20px;
            text-align: center;
            color: #856404;
        }

        /* .banners-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 100;
        }

        .banner-item {
            position: absolute;
            pointer-events: auto;
            transition: opacity 0.5s ease;
        }

        .banner-movil {
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            max-width: 300px;
            display: none;
        }

        .banner-izquierda, .banner-derecha {
            top: 50%;
            transform: translateY(-50%);
            max-width: 160px;
        }

        .banner-izquierda {
            left: 20px;
        }

        .banner-derecha {
            right: 20px;
        }

        .banner-item img {
            max-width: 100%;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .banner-item:hover img {
            transform: scale(1.05);
        } */

        @media (max-width: 768px) {
            .events-container {
                grid-template-columns: 1fr;
                padding: 10px;
            }
            
            .events-title {
                font-size: 2rem;
            }
            
            .banner-movil {
                display: block;
            }
            
            .banner-izquierda, .banner-derecha {
                display: none;
            }
            
            .video-content {
                padding: 20px 10px;
            }
            
            .event-card {
                margin-bottom: 20px;
            }
        }

        @media (max-width: 576px) {
            .events-title {
                font-size: 1.8rem;
            }
            
            .hero-button {
                padding: 12px 25px;
                font-size: 1rem;
            }
            
            .event-content {
                padding: 20px;
            }
            
            .countdown-timer {
                font-size: 1.1rem;
            }
        }

        .certificate-link {
            display: block;
            text-align: center;
            margin-top: 15px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
        }

        .certificate-link:hover {
            text-decoration: underline;
        }

        .certificate-link img {
            vertical-align: middle;
            margin-right: 8px;
            border-radius: 4px;
        }
        .color-dark{
            color: black;
        }

/* inicio */