/* PARTNERS PAGE STYLES */

/* Hero Section */
.partners-hero {
    padding: 8rem 0 4rem 0;
    background: #508991;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.partners-hero .hero-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.partners-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.partners-hero .hero-description {
    font-size: 1.25rem;
    font-weight: 400;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: white !important;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    display: block;
    /* Asegurar centrado perfecto */
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .partners-hero .hero-description {
        text-align: center;
        max-width: 900px;
        margin: 0 auto;
    }
}

/* Benefits Section */
.partners-benefits {
    padding: 6rem 0;
    background: white;
}

.partners-benefits .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-900);
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-100);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 1rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Form Section */
.partners-form-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-container .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.form-container .section-description {
    text-align: center;
    font-size: 1.125rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.partners-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif !important;
}

/* Asegurar que la fuente se mantenga en todos los estados del textarea */
.form-group textarea,
.form-group textarea:focus,
.form-group textarea:active,
.form-group textarea:hover {
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif !important;
}

/* Submit Button */
.form-actions {
    text-align: center;
    margin-top: 1rem;
}

.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.btn-submit:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

/* SVG Icon in button */
.btn-submit svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* CERTIFICACIONES CHECKBOXES PERSONALIZADOS */
.certificaciones-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.certificacion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    background: white;
    transition: all 0.2s ease;
    cursor: pointer;
}

.certificacion-item:hover {
    border-color: var(--primary);
    background: var(--primary-50);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(80, 137, 145, 0.1);
}

.certificacion-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.certificacion-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-700);
    cursor: pointer;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    line-height: 1.4;
    user-select: none;
}

.certificacion-item:has(.certificacion-checkbox:checked) {
    border-color: var(--primary);
    background: var(--primary-50);
    box-shadow: 0 2px 8px rgba(80, 137, 145, 0.15);
}

.certificacion-item:has(.certificacion-checkbox:checked) .certificacion-label {
    color: var(--primary-700);
    font-weight: 500;
}

/* Responsive para certificaciones */
@media (max-width: 768px) {
    .certificaciones-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .certificacion-item {
        padding: 0.625rem;
    }
    
    .certificacion-label {
        font-size: 0.8rem;
    }
}

/* Button Loader - Estilos específicos para el botón */
.btn-loader {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-submit:disabled .btn-loader {
    display: flex;
}

/* Success Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-900);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: var(--gray-100);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.success-icon {
    color: var(--green-400);
    margin-bottom: 1.5rem;
}

.modal-body p {
    font-size: 1.125rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid var(--gray-200);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-600);
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-hero {
        padding: 6rem 0 3rem 0;
    }
    
    .partners-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .partners-hero .hero-description {
        font-size: 1.125rem;
    }
    
    .partners-benefits,
    .partners-form-section {
        padding: 4rem 0;
    }
    
    .partners-benefits .section-title,
    .form-container .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .partners-hero .hero-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 0 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Checkbox Styles */
.checkbox-group {
    margin: 2rem 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
}

.checkbox-wrapper input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary);
    transition: all 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.checkbox-wrapper.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.checkbox-wrapper.error .checkbox-label {
    color: #dc2626;
}

/* Estilos para mensajes de error del formulario */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 400;
    margin-top: 0.5rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    line-height: 1.4;
}

.invalid-feedback {
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 400;
    margin-top: 0.5rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    line-height: 1.4;
    display: block;
}

/* Estilos para campos con estado de error */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group.has-error .form-label {
    color: #dc2626;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.checkbox-label {
    font-size: 0.95rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-700);
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    margin: 0 !important;
    margin-bottom: 0 !important;
}

.policy-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    transition: color 0.3s ease;
}

.policy-link:hover {
    color: var(--primary-600);
    text-decoration: underline;
}

/* Policy Page Styles */
.main-content {
    margin-top: 64px;
}

.hero-section {
    padding: 6rem 0 4rem 0;
    background: var(--gray-50);
    text-align: center;
}

.hero-section .hero-title {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.hero-section .hero-description {
    font-size: 1.25rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.policy-content-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.policy-section p {
    font-size: 1.125rem;
    font-family: 'Geist', 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.policy-section ul,
.policy-section ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-section li {
    font-size: 1.125rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.policy-section strong {
    color: var(--gray-900);
    font-weight: 600;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.policy-footer p {
    font-size: 1rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for policy page */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 2rem 0;
    }
    
    .hero-section .hero-title {
        font-size: 2rem;
    }
    
    .hero-section .hero-description {
        font-size: 1.125rem;
    }
    
    .policy-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .policy-section h2 {
        font-size: 1.25rem;
    }
    
    .policy-section p,
    .policy-section li {
        font-size: 1rem;
    }
}

/* Placeholder styles for textarea */
textarea::placeholder {
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Multiple select styles for certifications */
select[multiple] {
    min-height: 120px;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: white;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
}

select[multiple] option {
    padding: 0.5rem;
    margin: 0.25rem 0;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

select[multiple] option:hover {
    background-color: var(--primary-50);
}

select[multiple] option:checked {
    background-color: var(--primary);
    color: white;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    font-style: italic;
}

/* File upload styles */
.file-upload-container {
    position: relative;
    width: 100%;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* SPINNER STYLES (copiado de style.css) */
.spinner-container {
    text-align: center;
}

.spinner {
    color: #508991;
    font-size: 45px;
    text-indent: -9999em;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    transform: translateZ(0);
    animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
    margin: 0 auto 20px;
}

/* Spinner específico para el botón de partners */
.btn-submit .spinner {
    margin: 0 auto; /* Sin margen inferior para el botón */
    font-size: 24px; /* Tamaño más pequeño para el botón */
    width: 24px; /* Ancho fijo para el botón */
    height: 24px; /* Alto fijo para el botón */
}

/* Estados del botón durante la carga */
.btn-submit:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

/* Estilos para el loader del botón */
.btn-loader {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-submit:disabled .btn-loader {
    display: flex;
}

@keyframes mltShdSpin {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em,
        0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
        0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    5%,
    95% {
        box-shadow: 0 -0.83em 0 -0.4em, 
        0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 
        0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    10%,
    59% {
        box-shadow: 0 -0.83em 0 -0.4em, 
        -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, 
        -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }
    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
         -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, 
         -0.749em -0.34em 0 -0.477em;
    }
    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
         -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, 
         -0.82em -0.09em 0 -0.477em;
    }
    100% {
        box-shadow: 0 -0.83em 0 -0.42em, 
        0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@keyframes round {
    0% { transform: rotate(0deg) }
    100% { transform: rotate(360deg) }
}

.file-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.file-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.file-upload-area:hover {
    border-color: #508991;
    background-color: #f0f9fa;
}

.file-upload-area.dragover {
    border-color: #508991;
    background-color: #f0f9fa;
    transform: scale(1.02);
}

.file-upload-icon {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.file-upload-text {
    color: #6b7280;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.upload-main-text {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.upload-sub-text {
    display: block;
    font-size: 0.875rem;
    color: #9ca3af;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.file-selected {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: #f9fafb;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.file-icon {
    color: #508991;
    flex-shrink: 0;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.file-name {
    flex: 1;
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.file-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #ef4444;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.file-remove:hover {
    background-color: #fee2e2;
}

/* Responsive file upload */
@media (max-width: 768px) {
    .file-upload-area {
        padding: 1.5rem 1rem;
    }
    
    .upload-main-text {
        font-size: 0.875rem;
    }
    
    .upload-sub-text {
        font-size: 0.75rem;
    }
}

/* CLASE GENÉRICA PARA SECCIONES CON FONDO VERDE/AZULADO */
.section-description-white {
    color: white !important;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 1.25rem !important;
    font-weight: 300 !important;
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

/* MODAL DE ÉXITO */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    flex: 1;
    text-align: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gray-600);
    background-color: var(--gray-100);
}

.modal-body {
    margin-bottom: 2rem;
}

.success-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    /* Asegurar que el SVG se vea completo */
    overflow: hidden;
    position: relative;
    /* Contenedor más compacto para el SVG */
    min-height: 80px;
    min-width: 80px;
}

.success-icon svg {
    width: 80px;
    height: 80px;
    color: var(--primary);
    filter: drop-shadow(0 4px 8px rgba(80, 137, 145, 0.2));
    /* Asegurar que el SVG se ajuste al contenedor */
    overflow: hidden;
    display: block;
    /* Ajustar el viewBox para que se vea completo */
    max-width: 100%;
    max-height: 100%;
    /* Asegurar que el SVG esté por encima */
    position: relative;
    z-index: 1;
}

.modal-body p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

.modal-footer .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    min-width: 120px;
}

/* Responsive modal */
@media (max-width: 640px) {
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .modal-header h3 {
        font-size: 1.25rem;
    }
    
    .success-icon {
        min-height: 80px;
        min-width: 80px;
    }
    
    .success-icon svg {
        width: 80px;
        height: 80px;
    }
    
    .modal-body p {
        font-size: 1rem;
    }
}

/* ESTILOS PARA ICONOS DE CATEGORÍAS EN EL DROPDOWN */
.categoria-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

/* Estilos para las opciones del select con iconos */
#categoria option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
}

/* Mejorar la apariencia del select */
#categoria {
    font-family: 'Geist', 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
}

/* Estilos para el hover del select */
#categoria:hover {
    border-color: var(--primary);
}

/* Estilos para el focus del select */
#categoria:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(80, 137, 145, 0.1);
}
