/* Estilos para Registro de Patentes - AMPYME */
html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(to right, #d6d3d1, #f5f5f4);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Hero Banner Styles */
#hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    mask-image: linear-gradient(to bottom, black 70%, rgba(0,0,0,0.8) 85%, rgba(0,0,0,0.4) 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, rgba(0,0,0,0.8) 85%, rgba(0,0,0,0.4) 95%, transparent 100%);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    margin-bottom: -1px;
}

#hero-banner {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    #hero-banner {
        min-height: auto !important;
    }
    
    #hero-banner img {
        max-height: none !important;
    }
    
    #registro {
        padding-top: 2rem !important;
    }
}

@media (max-width: 768px) {
    #hero-banner {
        min-height: auto !important;
    }
    
    #hero-banner img {
        max-height: none !important;
    }
    
    #registro {
        padding-top: 1rem !important;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #0d9488, #0891b2, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Formulario con colores azul - tema Registro de Patentes */
.form-container {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.15);
}

.form-input {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(59, 130, 246, 0.3) !important;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
    background: rgba(255, 255, 255, 1) !important;
}

.form-button {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4) !important;
    transition: all 0.3s ease;
}

.form-button:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.6) !important;
}

/* Social Media Toggle Styles */
.social-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-toggle-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.social-toggle-label:hover {
    transform: scale(1.05);
}

.social-toggle-input {
    display: none;
}

.social-toggle-slider {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border: 3px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.social-toggle-knob {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-toggle-knob i {
    font-size: 20px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.social-toggle-input:checked + .social-toggle-slider {
    background: linear-gradient(135deg, #ea580c, #f97316);
    border-color: #f97316;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
}

.social-toggle-input:checked + .social-toggle-slider .social-toggle-knob {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-toggle-input:checked + .social-toggle-slider .social-toggle-knob i {
    color: #ea580c;
    transform: scale(1.1);
}

.social-toggle-text {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
    transition: all 0.3s ease;
}

.social-toggle-input:checked ~ .social-toggle-text {
    color: #ea580c;
    font-weight: 600;
}

.social-field {
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-field.hidden {
    opacity: 0;
    max-height: 0;
}

.social-field:not(.hidden) {
    opacity: 1;
    max-height: 50px;
}

/* Estilos adicionales para sobrescribir Tailwind */
#registration-form input[type="text"],
#registration-form input[type="email"],
#registration-form input[type="tel"],
#registration-form select {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(59, 130, 246, 0.3) !important;
    color: #1f2937 !important;
}

#registration-form input[type="text"]:focus,
#registration-form input[type="email"]:focus,
#registration-form input[type="tel"]:focus,
#registration-form select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
    background: rgba(255, 255, 255, 1) !important;
}

#registration-form button[type="submit"] {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4) !important;
}

#registration-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.6) !important;
}

#registration-form input[type="radio"] {
    accent-color: #ea580c !important;
}

#registration-form input[type="checkbox"] {
    accent-color: #ea580c !important;
}

/* Estilos para el cronograma colapsable */
#cronograma-content {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

#cronograma-toggle {
    transition: transform 0.3s ease;
}

#cronograma-toggle:hover {
    transform: scale(1.1);
}

