:root {
    --primary: #f8a900;
    --primary-hover: #e09900;
    --secondary: #043668;
    --secondary-hover: #03274d;
    --bg-color: #f0f4f8;
    --white: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --error: #e74c3c;
    --success: #2ecc71;
    --warning: #f39c12;
    --info: #3498db;
    --shadow: 0 10px 30px rgba(4, 54, 104, 0.08);
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.05);
    --radius: 14px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 16px;
    position: relative;
    overflow-x: hidden;
}

.background-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 10% 20%, rgba(248, 169, 0, 0.04) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(4, 54, 104, 0.05) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.page-wrapper {
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transition: max-width 0.4s ease;
}

.page-wrapper.expanded {
    max-width: 1220px;
}

.container {
    width: 100%;
    background: var(--white);
    padding: 28px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
    position: relative;
    transition: var(--transition);
}

@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
    }
}

.header {
    text-align: center;
    margin-bottom: 18px;
}

.header h1 {
    color: var(--secondary);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.25;
}

.header p {
    color: var(--text-muted);
    font-size: 13.5px;
    max-width: 580px;
    margin: 0 auto;
}

/* Formulario */
.search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--secondary);
}

.input-group input {
    padding: 11px 13px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14.5px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(248, 169, 0, 0.2);
}

.error-message {
    color: var(--error);
    font-size: 11.5px;
    min-height: 14px;
    line-height: 14px;
}

/* Captcha y Botón lado a lado */
.captcha-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
}

.turnstile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    flex-shrink: 0;
    min-height: 65px;
}

#submit-btn {
    flex: 1;
    min-width: 170px;
    height: 65px;
    padding: 0 16px;
    margin: 0;
    white-space: nowrap;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#submit-btn:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 54, 104, 0.2);
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

#captcha-error {
    display: block;
    text-align: center;
    margin-top: 2px;
    min-height: 14px;
}

@media (max-width: 580px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .captcha-action-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    #submit-btn {
        height: auto;
        min-height: 48px;
        padding: 13px 16px;
    }
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-sm {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.hidden {
    display: none !important;
}

/* Resultados */
.result-container {
    margin-top: 28px;
    animation: fadeIn 0.4s ease;
}

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

/* Ficha Resumen del Graduando */
.student-summary-card {
    background: linear-gradient(135deg, #043668 0%, #0a4d8c 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(4, 54, 104, 0.15);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 14px;
    margin-bottom: 14px;
    gap: 12px;
}

.summary-header h2 {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.summary-subtitle {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
}

.badge-ciclo {
    background: rgba(248, 169, 0, 0.25);
    color: #fbd38d;
    border: 1px solid rgba(248, 169, 0, 0.5);
    font-weight: 700;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    font-size: 13px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-item .s-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item .s-val {
    color: #ffffff;
    font-size: 13.5px;
}

.text-success {
    color: #4ade80 !important;
}

/* Cuadrícula de 4 Tarjetas de Bachiller */
.bachiller-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 26px;
    margin-top: 10px;
}

@media (max-width: 650px) {
    .bachiller-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(4, 54, 104, 0.08);
}

.profile-header {
    background: #f8fafc;
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.profile-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon {
    font-size: 22px;
}

.profile-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.card-instruction {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
}

/* Normativa Box y Botón Entendido */
.bachiller-normativa-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.normativa-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.normativa-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.normativa-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.2;
}

.normativa-item strong {
    font-size: 13px;
    color: var(--secondary);
    display: block;
    margin-bottom: 2px;
}

.normativa-item p {
    font-size: 12px;
    color: #475569;
    line-height: 1.4;
    margin: 0;
}

.btn-entendido {
    background: linear-gradient(135deg, #043668 0%, #0a4d8c 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 12px rgba(4, 54, 104, 0.2);
    margin-top: 4px;
    width: 100%;
}

.btn-entendido:hover {
    background: linear-gradient(135deg, #03274d 0%, #073b6d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(4, 54, 104, 0.3);
}

/* Reglas e Instrucciones de Inglés */
.ingles-main-rule {
    font-size: 13.5px;
    color: #1e293b;
    line-height: 1.5;
}

.externo-requirements-list {
    margin: 8px 0 0 18px;
    padding: 0;
    font-size: 12.5px;
    color: #334155;
    line-height: 1.6;
}

.externo-requirements-list li {
    margin-bottom: 3px;
}

/* Badges */
.badge {
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-sin-carne {
    background: rgba(243, 156, 18, 0.12);
    color: #b7791f;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.badge-produccion {
    background: rgba(52, 152, 219, 0.12);
    color: #2980b9;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.badge-entregado {
    background: rgba(46, 204, 113, 0.12);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge-anulado {
    background: rgba(231, 76, 60, 0.12);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.badge-info {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

/* Requisitos Chips */
.bachiller-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.req-chip {
    background: #f1f5f9;
    color: #334155;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.req-bullet {
    color: #16a34a;
    font-weight: 700;
}

/* Dropzone */
.dropzone-area {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 22px 14px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: var(--transition);
}

.dropzone-area:hover, .dropzone-area.dragover {
    border-color: var(--secondary);
    background: #f0f7ff;
}

.dropzone-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.dropzone-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.dropzone-subtitle {
    font-size: 11.5px;
    color: #64748b;
}

/* Previews locales */
.bachiller-local-preview {
    display: flex;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    align-items: flex-start;
}

.bachiller-local-preview img {
    width: 90px;
    height: 115px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    flex-shrink: 0;
}

.cert-pdf-badge {
    width: 90px;
    height: 115px;
    background: #fee2e2;
    color: #991b1b;
    border: 1px dashed #f87171;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 6px;
    flex-shrink: 0;
}

.local-preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-name {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    word-break: break-all;
}

.local-preview-notice {
    font-size: 11.5px;
    line-height: 1.4;
    padding: 8px 10px;
    border-radius: 6px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.local-preview-notice.scanning {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.local-preview-notice.error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.local-preview-notice.success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.preview-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.btn-secondary-sm, .btn-primary-sm {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-secondary-sm {
    background: #e2e8f0;
    color: #334155;
}

.btn-secondary-sm:hover {
    background: #cbd5e1;
}

.btn-primary-sm {
    background: var(--secondary);
    color: #ffffff;
}

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

.btn-primary-sm:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.btn-block-sm {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
}

/* Fotos registradas */
.bachiller-preview-box {
    display: flex;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    align-items: center;
}

.bachiller-photo-wrap img {
    width: 85px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}

.registered-icon-wrap {
    font-size: 38px;
    padding: 0 10px;
}

.bachiller-photo-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bachiller-status-text {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.registered-subtext {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.cert-view-link {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: underline;
    margin-top: 4px;
    display: inline-block;
}

.bachiller-locked-note {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    margin-top: 4px;
}

/* Feedbacks */
.bachiller-feedback {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.4;
    margin-top: 8px;
}

.bachiller-feedback.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.bachiller-feedback.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.bachiller-feedback.info {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

/* Opciones de Inglés */
.ingles-option-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.ingles-option-card {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    background: #ffffff;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.ingles-option-card input {
    display: none;
}

.option-card-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-card-icon {
    font-size: 20px;
}

.option-card-text {
    display: flex;
    flex-direction: column;
}

.option-card-text strong {
    font-size: 12.5px;
    color: var(--secondary);
}

.option-card-text small {
    font-size: 10.5px;
    color: #64748b;
}

.ingles-option-card.active {
    border-color: var(--secondary);
    background: #f0f7ff;
}

.ingles-info-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    font-size: 12.5px;
    color: #334155;
    line-height: 1.45;
}

/* Rechazo de Inglés */
.ingles-rejected-card {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rejected-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rejected-icon {
    font-size: 22px;
}

.rejected-title {
    font-size: 14px;
    color: #9f1239;
    font-weight: 700;
}

.rejected-main-msg {
    font-size: 12.5px;
    color: #881337;
    line-height: 1.4;
}

.rejected-sg-notice {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 10px;
    border-radius: 6px;
    color: #4c0519;
    border-left: 3px solid #e11d48;
}

.rejected-observacion-tag {
    font-size: 11.5px;
    color: #9f1239;
    font-style: italic;
}

/* Cajas de Verificación Institucional (EP y Portal Académico) */
.institutional-verification-box {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
    align-items: flex-start;
    margin-top: 4px;
}

.institutional-verification-box.ep-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
}

.institutional-verification-box.portal-box {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-left: 4px solid #8b5cf6;
}

.iv-icon {
    font-size: 30px;
    flex-shrink: 0;
    line-height: 1;
}

.iv-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.iv-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.ep-box .iv-title {
    color: #1e40af;
}

.portal-box .iv-title {
    color: #5b21b6;
}

.iv-text {
    font-size: 12.5px;
    line-height: 1.45;
    color: #334155;
    margin: 0;
}

.iv-badge-state {
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}

.ep-box .iv-badge-state {
    color: #2563eb;
}

.portal-box .iv-badge-state {
    color: #7c3aed;
}

/* Not found container */
.not-found-container {
    margin-top: 24px;
    padding: 18px;
    text-align: center;
    background: rgba(231, 76, 60, 0.08);
    color: var(--error);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
}

.not-found-container.warning {
    background: rgba(243, 156, 18, 0.1);
    color: #b7791f;
    border-color: rgba(243, 156, 18, 0.3);
}

/* =========================================================================
   Modal Requisitos Internos (Popup Informativo)
   ========================================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 54, 104, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.25s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border-top: 5px solid var(--primary);
    overflow: hidden;
    animation: popInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

@keyframes popInModal {
    from { opacity: 0; transform: scale(0.92) translateY(14px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    background: #f8fafc;
    padding: 18px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-header-icon {
    font-size: 26px;
    background: rgba(248, 169, 0, 0.16);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.modal-header-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.modal-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.modal-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-intro {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.modal-req-card {
    border-radius: 12px;
    padding: 15px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: var(--transition);
}

.modal-req-card.ep-card {
    background: #f0f7ff;
    border-color: #bfdbfe;
}

.modal-req-card.portal-card {
    background: #faf5ff;
    border-color: #e9d5ff;
}

.modal-req-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-req-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.modal-req-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.modal-req-titles h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.modal-req-badge {
    display: inline-block;
    width: fit-content;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.ep-card .modal-req-badge {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.portal-card .modal-req-badge {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #d8b4fe;
}

.modal-req-text {
    font-size: 12.5px;
    color: #334155;
    line-height: 1.45;
    margin: 0;
}

.modal-next-steps {
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: #854d0e;
    line-height: 1.45;
}

.modal-footer {
    padding: 14px 22px 18px 22px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

.btn-comprendo {
    background: linear-gradient(135deg, #043668 0%, #0a4d8c 100%);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    padding: 12px 24px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(4, 54, 104, 0.25);
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.btn-comprendo:hover {
    background: linear-gradient(135deg, #03274d 0%, #073b6d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(4, 54, 104, 0.35);
}

/* =========================================================================
   Banner Informativo Requisitos Internos
   ========================================================================= */
.requisitos-internos-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 6px;
    animation: fadeInModal 0.3s ease;
}

.rib-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #1e40af;
    line-height: 1.4;
}

.rib-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.btn-rib-link {
    background: #ffffff;
    border: 1px solid #93c5fd;
    color: #1d4ed8;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-rib-link:hover {
    background: #dbeafe;
    border-color: #60a5fa;
}

