:root {
    --primary-color: #b72521;
    --primary-hover: #b72521;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "XOPQ" 96,
        "XTRA" 468,
        "YOPQ" 79,
        "YTAS" 750,
        "YTDE" -203,
        "YTFI" 738,
        "YTLC" 514,
        "YTUC" 712;
    background: #f8f9fa;
    min-height: 100vh;
    padding: 0px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Clases específicas para Roboto Flex */
.roboto-flex-light {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "XOPQ" 96,
        "XTRA" 468,
        "YOPQ" 79,
        "YTAS" 750,
        "YTDE" -203,
        "YTFI" 738,
        "YTLC" 514,
        "YTUC" 712;
}

.roboto-flex-medium {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "XOPQ" 96,
        "XTRA" 468,
        "YOPQ" 79,
        "YTAS" 750,
        "YTDE" -203,
        "YTFI" 738,
        "YTLC" 514,
        "YTUC" 712;
}

.roboto-flex-semibold {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "XOPQ" 96,
        "XTRA" 468,
        "YOPQ" 79,
        "YTAS" 750,
        "YTDE" -203,
        "YTFI" 738,
        "YTLC" 514,
        "YTUC" 712;
}

.roboto-flex-bold {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "XOPQ" 96,
        "XTRA" 468,
        "YOPQ" 79,
        "YTAS" 750,
        "YTDE" -203,
        "YTFI" 738,
        "YTLC" 514,
        "YTUC" 712;
}

.container {
    min-width: 1200px;
    width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.form-container {
    padding: 50px;
}


.step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding: 25px 0;
    background: white;
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.step-nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
    margin: 0 10px;
}

.step-nav-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.step-nav-icon.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.step-item {
    display: flex;
    align-items: center;
    margin: 0 12px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    background: white;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 10px;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}

.step-number i {
    font-size: 0.9rem;
    line-height: 1;
}

.step-item.active .step-number {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.step-item.active .step-number i {
    font-size: 1rem;
}

.step-item.completed .step-number {
    background: var(--success-color);
    color: white;
}

.step-item.completed .step-number i {
    font-size: 0.85rem;
}


.step-title {
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.step-item.active .step-title {
    color: var(--primary-color);
}

.step-item.completed .step-title {
    color: var(--success-color);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.navigation-buttons .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "XOPQ" 96,
        "XTRA" 468,
        "YOPQ" 79,
        "YTAS" 750,
        "YTDE" -203,
        "YTFI" 738,
        "YTLC" 514,
        "YTUC" 712;
}

.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: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    background: #d1d5db !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
}

.btn.disabled:hover {
    background: #d1d5db !important;
    border-color: #d1d5db !important;
    transform: none !important;
    box-shadow: none !important;
}

.license-types {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.license-types h3 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.license-option {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.license-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.license-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.license-option:hover::before {
    transform: scaleY(1);
}

.license-option.selected {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.license-option.selected::before {
    transform: scaleY(1);
}

.license-option input[type="radio"] {
    margin: 0;
    transform: scale(1.3);
    accent-color: var(--primary-color);
}

.license-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.license-option label {
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.1rem;
    margin: 0;
}

.license-description {
    margin-top: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 0;
}

/* Estilos para el Card de Documentos */
.documents-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
}

.documents-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.documents-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.document-embed h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.embed-container {
    background: white;
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.embed-container iframe {
    border-radius: none;
    box-shadow: none;
}

/* Estilos para el nuevo diseño del Paso 2 */
.denuncia-info-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.denuncia-details {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.denuncia-icon {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.denuncia-content h4 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: "Roboto Flex", sans-serif;
    font-variation-settings: "wght" 600;
}

.denuncia-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.contact-highlight,
.process-info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-highlight i,
.process-info i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.documents-section {
    margin-bottom: 30px;
}

.documents-header {
    cursor: pointer;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.documents-header:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.documents-section h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: "Roboto Flex", sans-serif;
    font-variation-settings: "wght" 600;
    text-align: center;
}

.documents-toggle {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.documents-toggle.rotated {
    transform: rotate(180deg);
}

.documents-content {
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 1000px;
    opacity: 1;
    margin-top: 20px;
}

.documents-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.embed-container {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.embed-container iframe {
    border-radius: none;
    box-shadow: none;
    border: none;
    width: 100%;
    height: 350px;
    display: block;
    overflow: hidden;
}

/* Prevenir que el scroll del iframe afecte el ancho del contenedor */
.documents-content {
    width: 100%;
    box-sizing: border-box;
}

.document-embed {
    width: 100%;
    box-sizing: border-box;
}

.confidentiality-section {
    margin-bottom: 30px;
}

.confidentiality-section h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "Roboto Flex", sans-serif;
    font-variation-settings: "wght" 600;
    text-align: center;
}

.confidentiality-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.confidentiality-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.confirmation-checkbox {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-md);
    padding: 20px;
}

.confirmation-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.confirmation-checkbox input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2);
    accent-color: var(--primary-color);
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.nota-importante {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-top: 16px;
}

.form-section {
    margin-bottom: 40px;
}

.denunciante-fields,
.denunciado-fields {
    margin-top: 20px;
}

.field-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.field-section:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

/* Estilos mejorados para secciones específicas */
.victima-presunta-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 2px solid #e0f2fe;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.victima-presunta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #0ea5e9;
}

.victima-presunta-card:hover {
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
    transform: translateY(-2px);
}

.victima-presunta-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.victima-presunta-title i {
    color: #0ea5e9;
    font-size: 1.2rem;
}

.victima-name-highlight {
    color: #0ea5e9;
    font-weight: 700;
    text-decoration: underline;
    padding: 0 5px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    border-radius: 30px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    border: 2px solid transparent;
    position: relative;
}

.radio-option:hover {
    background: #e2e8f0;
}

.radio-option.selected {
    background: rgba(14, 165, 233, 0.12);
    border-color: #38bdf8;
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.15);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.radio-option.selected label {
    color: var(--primary-color);
    font-weight: 700;
}

.radio-option .radio-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    border-radius: 50%;
    background: white;
    border: 2px solid #cbd5e1;
    transition: all 0.3s ease;
}

.radio-option.selected .radio-icon {
    color: var(--success-color);
    border-color: transparent;
    background: rgba(16, 185, 129, 0.15);
}

.situacion-denuncia-card {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    border: 2px solid #fed7aa;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.situacion-denuncia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #f59e0b;
}

.situacion-denuncia-card:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    transform: translateY(-2px);
}

.situacion-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.situacion-title i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.situacion-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.checkbox-item {
    position: relative;
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-item label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px 12px;
    background: white;
    border: 2px solid #f5f5f5;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    min-height: 110px;
    gap: 12px;
}

.checkbox-item input[type="checkbox"]:checked + label {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.checkbox-item label:hover {
    border-color: #fcd34d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.checkbox-item label::before {
    content: '';
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    order: -1;
}

.checkbox-item input[type="checkbox"]:checked + label::before {
    background: #f59e0b;
    border-color: #f59e0b;
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .victima-presunta-card,
    .situacion-denuncia-card {
        padding: 20px;
    }
}


.field-help {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: var(--radius-sm);
    padding: 12px 15px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #0c4a6e;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.field-help i {
    color: #0ea5e9;
    margin-top: 2px;
    flex-shrink: 0;
}

.incidencia-fields {
    margin-top: 20px;
}

.section-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--success-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.required {
    color: var(--danger-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.file-upload {
    border: 2px dashed var(--success-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    background: var(--light-bg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.file-upload::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-upload:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.file-upload:hover::before {
    opacity: 1;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload label {
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.file-list {
    margin-top: 15px;
    text-align: left;
}

.file-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.file-icon {
    color: var(--primary-color);
}

.contact-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

.contact-info h4 {
    color: #92400e;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.contact-info p {
    color: #92400e;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.error-message {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.error-message::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
}

.success-message {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    border: 1px solid var(--success-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.success-message::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--success-color);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        margin: 0;
        border-radius: 0;
    }
    
    .form-container {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-indicator {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }

    .step-nav-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 0 5px;
    }
    
    .step-item {
        margin: 5px;
        padding: 6px 8px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
        margin-right: 8px;
    }

    .step-number i {
        font-size: 0.8rem;
    }

    .step-item.active .step-number i {
        font-size: 0.9rem;
    }

    .step-item.completed .step-number i {
        font-size: 0.75rem;
    }

    .step-title {
        font-size: 0.8rem;
    }

    .license-option {
        padding: 20px;
    }

    .license-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .license-description {
        padding-left: 0;
    }

    .documents-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .documents-card h4 {
        font-size: 1.2rem;
    }

    .document-embed h5 {
        font-size: 1rem;
    }

    .embed-container {
        padding: 10px;
    }

    .embed-container iframe {
        height: 300px;
    }

    .denuncia-info-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .denuncia-details {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .denuncia-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto;
    }

    .denuncia-content h4 {
        font-size: 1.2rem;
    }

    .contact-highlight,
    .process-info {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .documents-section h4,
    .confidentiality-section h4 {
        font-size: 1.1rem;
    }

    .documents-header {
        padding: 12px 16px;
    }

    .confidentiality-card,
    .confirmation-checkbox {
        padding: 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .navigation-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .file-upload {
        padding: 20px;
    }

    .contact-info {
        padding: 20px;
    }

    .field-section {
        padding: 20px;
        margin-bottom: 20px;
    }


    .field-help {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    .license-types h3 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .step-indicator {
        padding: 10px;
    }

    .step-nav-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin: 0 3px;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        margin: 3px;
        padding: 8px 6px;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 5px;
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .step-number i {
        font-size: 0.75rem;
    }

    .step-item.active .step-number i {
        font-size: 0.8rem;
    }

    .step-item.completed .step-number i {
        font-size: 0.7rem;
    }

    .field-section {
        padding: 15px;
        margin-bottom: 15px;
    }


    .field-help {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

/* Estilos personalizados para Select2 */
.select2-container {
    width: 100% !important;
    font-family: "Roboto Flex", sans-serif;
}

.select2-container--default .select2-selection--single {
    height: 48px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
    padding: 0 12px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single:hover {
    border-color: var(--primary-color);
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(183, 37, 33, 0.1);
    outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary);
    line-height: 44px;
    padding-left: 0;
    font-size: 14px;
    font-weight: 400;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--text-secondary);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--text-secondary) transparent transparent transparent;
    border-width: 5px 4px 0 4px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--primary-color) transparent;
    border-width: 0 4px 5px 4px;
}

.select2-dropdown {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-family: "Roboto Flex", sans-serif;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 14px;
    font-family: "Roboto Flex", sans-serif;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(183, 37, 33, 0.1);
}

.select2-results__option {
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-primary);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color);
    color: white;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(183, 37, 33, 0.1);
    color: var(--primary-color);
}

.select2-results__message {
    color: var(--text-secondary);
    font-style: italic;
    padding: 10px 12px;
}

/* Estilos para el sistema de grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding: 0 15px;
    box-sizing: border-box;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
    box-sizing: border-box;
}

.col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 15px;
    box-sizing: border-box;
}

.col-mobile-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

.turnstile-navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.turnstile-section {
    flex: 0 0 66.666667%; /* col-8 equivalent */
    max-width: 66.666667%;
    min-width: 0; /* Permite que el contenido se reduzca */
}

.turnstile-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.turnstile-container .cf-turnstile {
    flex-shrink: 0;
    min-width: 200px; /* Ancho mínimo para el widget */
    width: auto;
}

/* Asegurar que el iframe de Turnstile se expanda */
.cf-turnstile iframe {
    width: 100% !important;
    max-width: none !important;
}

.turnstile-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
    min-width: 0;
}

.button-section {
    flex: 0 0 33.333333%; /* col-4 equivalent */
    max-width: 33.333333%;
    display: flex;
    justify-content: flex-end;
}

.w-100 {
    width: 100% !important;
}

.logo-container img {
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* Responsive para el grid */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        margin: 0;
    }

    .col-9,
    .col-3 {
        flex: none;
        max-width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }

    .logo-container {
        order: -1; /* Mostrar el logo primero en móvil */
    }

    /* Para turnstile en móvil - usar col-mobile-6 */
    .turnstile-navigation-container {
        flex-direction: row !important;
        gap: 10px !important;
    }

    .turnstile-section {
        flex: 0 0 50% !important; /* col-mobile-6 equivalent */
        max-width: 50% !important;
    }

    .button-section {
        flex: 0 0 50% !important; /* col-mobile-6 equivalent */
        max-width: 50% !important;
    }

    .turnstile-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .turnstile-container .cf-turnstile {
        min-width: auto !important;
        width: 100% !important;
    }

    .turnstile-text {
        white-space: normal !important;
        text-align: left !important;
        font-size: 0.8rem !important;
        flex: none !important;
    }
}

.denuncias-site-header {
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 50;
    margin-bottom: 30px;
}

.denuncias-site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.denuncias-site-header__logo img {
    height: 48px;
    width: auto;
    display: block;
}

.denuncias-site-header__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #b72521;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    flex: 1;
}

.denuncias-site-header__nav ul {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
}

.denuncias-site-header__nav a {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 30px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    gap: 8px;
}

.denuncias-site-header__nav a i {
    font-size: 1rem;
}

.denuncias-site-header__nav a:hover,
.denuncias-site-header__nav a:focus {
    background: rgba(183, 37, 33, 0.08);
    color: #b72521;
}

@media (max-width: 992px) {
    .denuncias-site-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .denuncias-site-header__title {
        font-size: 1.2rem;
        text-align: left;
        width: 100%;
        margin-top: 12px;
    }

    .denuncias-site-header__nav ul {
        justify-content: flex-start;
        gap: 12px;
    }

    .denuncias-site-header__nav a {
        padding: 8px 12px;
    }
}

@media (max-width: 640px) {
    .denuncias-site-header__inner {
        padding: 16px;
    }

    .denuncias-site-header__title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .denuncias-site-header__nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .denuncias-site-header__nav a {
        width: 100%;
        padding: 10px 12px;
    }
}