.registration {
    background: linear-gradient(135deg, #09B7E3 0%, #0091ea 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,80C1248,64,1344,64,1392,64L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    pointer-events: none;
    opacity: 0.5;
}

.registration::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><circle cx="15" cy="15" r="5" fill="rgba(255,255,255,0.2)"/></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="10" fill="rgba(255,255,255,0.1)"/></svg>');
    background-repeat: repeat;
    opacity: 0.5;
    animation: floatingBubbles 60s linear infinite;
}

@keyframes floatingBubbles {
    from { background-position: 0 0, 0 0; }
    to { background-position: 100px 100px, -100px -100px; }
}

.registration .section-title {
    text-align: center;
    color: white;
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.registration .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    border: none;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, #09B7E3, #0091ea);
}

.form-container::after {
    content: '🏕️';
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-size: 120px;
    opacity: 0.05;
    transform: rotate(10deg);
    z-index: 0;
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

#registration-form {
    display: grid;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e5eb;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #09B7E3;
    background: white;
    box-shadow: 0 0 0 4px rgba(9, 183, 227, 0.1);
    outline: none;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label {
    color: #09B7E3;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23555" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group button {
    background: linear-gradient(135deg, #ffab00, #ff6d00);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255,171,0,0.3);
}

.form-group button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,171,0,0.4);
}

.form-group button:active {
    transform: translateY(1px);
}

.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    grid-column: span 2;
}

.form-footer a {
    color: #ff6d00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.form-footer a:hover {
    color: #ffab00;
    text-decoration: underline;
}

/* Estilos para el mensaje de WhatsApp */
.whatsapp-note {
    font-size: 0.8rem;
    color: #555;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

/* Estilos para el enlace de WhatsApp */
.whatsapp-link {
    color: #25D366;
    font-weight: bold;
    text-decoration: underline;
}

/* Estilos para validación de formulario */
.error {
    border: 1px solid #ff3860 !important;
    background-color: #fff5f7;
}

.error-message {
    color: #ff3860;
    font-size: 0.8rem;
    margin-top: 5px;
}

.form-success-message {
    background-color: #f0fdf4;
    color: #16a34a;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* Estilos para el mensaje de éxito de WhatsApp */
.whatsapp-success {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

.success-icon {
    background-color: #25D366;
    color: white;
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 35px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.whatsapp-success h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.whatsapp-success p {
    color: #666;
    margin-bottom: 20px;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white !important;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none !important;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    margin-right: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.camp-decoration {
    position: absolute;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

.camp-decoration.sun {
    top: 10%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,235,59,0.7) 0%, rgba(255,193,7,0.5) 70%);
    border-radius: 50%;
    animation: glow 4s ease-in-out infinite alternate;
}

.camp-decoration.tree {
    bottom: 10%;
    left: 10%;
    font-size: 120px;
}

@keyframes glow {
    from { box-shadow: 0 0 30px rgba(255,235,59,0.5); }
    to { box-shadow: 0 0 50px rgba(255,193,7,0.8); }
}

/* Responsive design */
@media (max-width: 1024px) {
    .form-container {
        max-width: 90%;
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .registration {
        padding: 70px 0;
    }
    
    .form-container {
        max-width: 95%;
        padding: 25px 20px;
        margin-top: 20px;
    }
    
    .form-group {
        width: 100%;
        padding: 0;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 1rem;
    }
    
    .form-group button {
        padding: 14px 20px;
        font-size: 1rem;
        width: 100%;
    }
    
    /* Improve touch targets */
    .form-group input,
    .form-group select,
    .form-group textarea,
    .form-group button {
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    /* Fix checkbox alignment */
    .form-group.checkbox {
        display: flex;
        align-items: flex-start;
    }
    
    .form-group.checkbox input {
        margin-top: 4px;
        margin-right: 10px;
    }
    
    .form-footer {
        font-size: 0.8rem;
        text-align: center;
        padding: 10px 0 0;
    }
    
    .form-footer a {
        display: inline-block;
        padding: 2px;
    }
}

@media (max-width: 480px) {
    .registration {
        padding: 50px 0;
    }
    
    .form-container {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .form-header {
        margin-bottom: 15px;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    animation: fadeInUp 0.8s ease-out;
}

.form-group {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

#registration-form .form-group:nth-child(1) { animation-delay: 0.1s; }
#registration-form .form-group:nth-child(2) { animation-delay: 0.2s; }
#registration-form .form-group:nth-child(3) { animation-delay: 0.3s; }
#registration-form .form-group:nth-child(4) { animation-delay: 0.4s; }
#registration-form .form-group:nth-child(5) { animation-delay: 0.5s; }
#registration-form .form-group:nth-child(6) { animation-delay: 0.6s; }
#registration-form .form-group:nth-child(7) { animation-delay: 0.7s; }

/* Field validation styles */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #4caf50;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #f44336;
}

.error-message {
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Estilos adicionales para el diseño limpio y profesional */
.whatsapp-success-card {
    max-width: 400px;
    margin: 40px auto 60px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 38px 28px 30px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.7s;
}
.whatsapp-success-icon {
    color: #25D366;
    font-size: 3.2rem;
    margin-bottom: 18px;
}
.whatsapp-success-card h3 {
    color: #222;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.whatsapp-success-card p {
    color: #444;
    font-size: 1.08rem;
    margin-bottom: 20px;
}
.whatsapp-success-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #25D366 70%, #128C7E 100%);
    color: #fff !important;
    padding: 15px 32px;
    border-radius: 30px;
    font-size: 1.08rem;
    font-weight: 700;
    text-decoration: none;
    margin: 16px 0 10px 0;
    box-shadow: 0 4px 16px rgba(37,211,102,0.18);
    border: none;
    transition: background 0.2s, box-shadow 0.2s;
}
.whatsapp-success-btn i {
    font-size: 1.4rem;
    margin-right: 10px;
}
.whatsapp-success-btn:hover {
    background: #128C7E;
    color: #fff;
}
.whatsapp-success-info {
    margin: 18px 0 0 0;
    color: #888;
    font-size: 0.98rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    justify-content: center;
}
.whatsapp-success-info i {
    color: #25D366;
    margin-top: 2px;
}
.whatsapp-success-reset {
    margin-top: 26px;
    background: none;
    border: 2px solid #25D366;
    color: #25D366;
    padding: 10px 26px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.whatsapp-success-reset:hover {
    background: #25D366;
    color: #fff;
}
