/* --- Pantalla Solicitud Adhesion SICV-Pro-HyS --- */
.sicv-adhesion-page {
    max-width: 980px;
    margin: 0 auto 30px;
    color: #334155;
}

.sicv-adhesion-hero {
    text-align: center;
    margin-bottom: 24px;
}

.sicv-adhesion-title {
    margin: 0;
    color: #21446e;
    font-size: 38px;
    font-weight: 800;
}

.sicv-adhesion-subtitle {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 17px;
}

.sicv-adhesion-info {
    display: flex;
    gap: 14px;
    background: #f0f9ff;
    border-left: 4px solid #00aeef;
    border-radius: 0 8px 8px 0;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sicv-adhesion-info-icon {
    color: #00aeef;
    font-size: 20px;
    line-height: 1;
    margin-top: 2px;
}

.sicv-adhesion-info-content h2 {
    margin: 0;
    font-size: 19px;
    color: #21446e;
    font-weight: 700;
    text-transform: uppercase;
}

.sicv-adhesion-info-content p {
    margin: 10px 0 0;
    line-height: 1.6;
}

.sicv-adhesion-legal {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

.sicv-adhesion-form-card,
.sicv-adhesion-requirements {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 22px;
}

.sicv-adhesion-form-header,
.sicv-adhesion-requirements-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
}

.sicv-adhesion-form-header {
    background: #21446e;
    color: #fff;
}

.sicv-adhesion-form-header h2,
.sicv-adhesion-requirements-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.sicv-adhesion-requirements-header {
    background: #f8fafc;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

.sicv-adhesion-form-body {
    margin: 0 auto;
    padding: 30px 24px;
    text-align: center;
}

.sicv-adhesion-form-body.convenios-container {
    max-width: 100%;
    text-align: left;
}

.sicv-adhesion-form-body.convenios-container .sicv-adhesion-form-text,
.sicv-adhesion-form-body.convenios-container .sicv-adhesion-form-note {
    text-align: center;
}

.sicv-adhesion-form-body.solicitudes-container {
    max-width: 100%;
    text-align: left;
}

.sicv-adhesion-form-body.solicitudes-container .btn-outline-primary {
    margin-top: 15px;
}

.sicv-adhesion-form-text {
    margin-bottom: 5px;
}

.sicv-adhesion-form-note {
    margin-top: 0;
    color: #94a3b8;
    font-size: 13px;
}

.sicv-adhesion-form {
    margin-top: 20px;
}

.sicv-label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 600;
}

.sicv-select {
    min-height: 46px;
    border-radius: 8px;
    border-color: #cbd5e1;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04);
}

.sicv-btn-submit {
    margin-top: 20px;
    background: #4a90b9;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.sicv-btn-submit:hover,
.sicv-btn-submit:focus {
    background: #3d7a9d;
    color: #fff;
}

.sicv-adhesion-requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.sicv-adhesion-block {
    padding: 28px 24px;
}

.sicv-adhesion-block h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
}

.sicv-adhesion-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sicv-adhesion-block li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sicv-adhesion-block li i {
    color: #16a34a;
    margin-top: 2px;
}

.sicv-adhesion-docs {
    border-left: 1px solid #e2e8f0;
    background: #f8fafc;
}

.sicv-adhesion-doc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.sicv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #f97316;
    margin-top: 8px;
    flex-shrink: 0;
}

.sicv-doc-title {
    margin: 0;
    color: #334155;
    font-weight: 600;
}

.sicv-doc-subtitle {
    margin: 3px 0 0;
    font-size: 12px;
    color: #94a3b8;
}

.sicv-adhesion-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
    color: #475569;
    font-style: italic;
}

.sicv-adhesion-info-box i {
    color: #0ea5e9;
    margin-top: 2px;
}

.sicv-adhesion-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f39c12;
    color: #fff;
    padding: 16px 20px;
}

.sicv-adhesion-warning i {
    font-size: 22px;
}

.sicv-adhesion-warning p {
    margin: 0;
    line-height: 1.45;
}

/* --- Pantalla Solicitud Adhesion - Pago y Comprobante --- */
.sicv-create-page {
    max-width: 1280px;
    margin: 0 auto 32px;
}

.sicv-create-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.sicv-create-back {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    color: #21446e;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.sicv-create-back:hover {
    background: #dce7f5;
    transform: translateY(-1px);
    color: #21446e;
    text-decoration: none;
}

.sicv-create-header h1 {
    margin: 0;
    color: #21446e;
    font-size: 32px;
    font-weight: 800;
}

.sicv-create-header p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.sicv-create-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.sicv-create-main,
.sicv-create-sidebar {
    display: grid;
    gap: 18px;
}

.sicv-create-card,
.sicv-create-side-card,
.sicv-create-help-card {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(18, 38, 63, 0.06);
}

.sicv-create-card-header,
.sicv-create-side-card header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
}

.sicv-create-card-header h2,
.sicv-create-side-card h2,
.sicv-create-help-card h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.sicv-create-card-header-primary {
    background: #21446e;
    color: #fff;
}

.sicv-create-card-header-soft {
    background: #f1f6fb;
    color: #21446e;
}

.sicv-create-card-header-success {
    background: #d9f5e4;
    color: #15803d;
}

.sicv-create-card-body {
    padding: 22px;
}

.sicv-create-convenio-resumen {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    align-items: center;
}

.sicv-create-convenio-list {
    display: grid;
    gap: 10px;
}

.sicv-create-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5edf6;
}

.sicv-create-row span:first-child {
    color: #6b7280;
    font-size: 13px;
}

.sicv-create-row strong {
    color: #111827;
    text-align: right;
}

.sicv-create-badge {
    background: #d6e8ff;
    color: #21446e;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.sicv-create-monto {
    text-align: center;
    padding: 18px;
    background: #f8fbff;
    border: 1px solid #e4edf6;
    border-radius: 12px;
}

.sicv-create-monto span {
    display: block;
    color: #6b7280;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    margin-bottom: 10px;
}

.sicv-create-monto p {
    margin: 0;
    color: #2e7d32;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
}

.sicv-create-empresa {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
    background: #f7fafc;
    padding: 16px;
    border-radius: 12px;
}

.sicv-create-empresa label,
.sicv-create-bank-grid label,
.sicv-create-side-body label {
    display: block;
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
}

.sicv-create-empresa p,
.sicv-create-bank-grid p,
.sicv-create-side-body p {
    margin: 0;
    color: #111827;
    font-weight: 700;
}

.sicv-create-bank-list {
    display: grid;
    gap: 14px;
}

.sicv-create-bank-item {
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    overflow: hidden;
}

.sicv-create-bank-item h3 {
    margin: 0;
    padding: 12px 14px;
    background: #f1f5f9;
    color: #1e293b;
    font-size: 15px;
    font-weight: 800;
}

.sicv-create-bank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
}

.sicv-create-warning-line,
.sicv-create-info-line,
.sicv-create-side-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 10px;
}

.sicv-create-warning-line {
    margin-top: 16px;
    background: #ffedd5;
    border-left: 4px solid #f39c12;
    color: #7c2d12;
}

.sicv-create-info-line {
    background: #eff6ff;
    border-left: 4px solid #0ea5e9;
    color: #1e3a8a;
    margin-top: 16px;
}

.sicv-create-warning-line p,
.sicv-create-info-line p,
.sicv-create-side-note span {
    margin: 0;
    line-height: 1.45;
}

.sicv-create-label {
    display: block;
    margin-bottom: 10px;
    color: #1e293b;
    font-weight: 800;
}

.sicv-create-file-input {
    position: absolute;
    left: -9999px;
}

.sicv-create-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 170px;
    border: 2px dashed #c9d6e4;
    background: #f8fafc;
    border-radius: 14px;
    text-align: center;
    padding: 20px;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sicv-create-dropzone i {
    font-size: 42px;
    color: #21446e;
}

.sicv-create-dropzone strong {
    display: block;
    font-size: 15px;
    color: #111827;
}

.sicv-create-dropzone span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sicv-create-dropzone.is-active,
.sicv-create-dropzone.has-file {
    border-color: #21446e;
    background: #eef5ff;
    transform: translateY(-1px);
}

.sicv-create-terms-wrapper {
    margin-top: 18px;
}

.sicv-create-terms-wrapper h3 {
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
    font-size: 16px;
    font-weight: 800;
}

.sicv-create-terms-text {
    max-height: 320px;
    overflow: auto;
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 20px;
    font-size: 13px;
    line-height: 1.7;
    color: #334155;
}

.sicv-create-terms-text p {
    margin: 0 0 14px;
    text-align: justify;
}

.sicv-create-terms-text p:last-of-type {
    margin-bottom: 0;
}

.sicv-create-terms-text p:first-child {
    font-weight: 600;
    color: #1e293b;
}

.sicv-create-terms-text ul {
    margin: 10px 0 14px 20px;
    padding-left: 10px;
}

.sicv-create-terms-text ul li {
    margin-bottom: 6px;
    font-weight: 600;
    color: #0f766e;
}

.sicv-create-terms-text ul li:last-child {
    margin-bottom: 0;
}

.sicv-create-checkbox-wrap {
    margin-top: 16px;
}

.sicv-create-checkbox-wrap .checkbox {
    margin: 0;
}

.sicv-create-checkbox-wrap label {
    font-weight: 600;
    color: #374151;
    line-height: 1.5;
}

.sicv-create-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.sicv-create-btn-submit,
.sicv-create-btn-back {
    border: 0;
    border-radius: 10px;
    padding: 13px 18px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.sicv-create-btn-submit {
    background: #15803d;
    color: #fff;
}

.sicv-create-btn-submit:hover,
.sicv-create-btn-submit:focus {
    background: #166534;
    color: #fff;
}

.sicv-create-btn-back {
    background: #e5e7eb;
    color: #21446e;
}

.sicv-create-btn-back:hover,
.sicv-create-btn-back:focus {
    background: #d1d5db;
    color: #21446e;
}

.sicv-create-sidebar {
    position: sticky;
    top: 24px;
}

.sicv-create-side-card header,
.sicv-create-help-card {
    padding: 16px 18px;
}

.sicv-create-side-card header {
    background: #f1f5f9;
    color: #21446e;
}

.sicv-create-side-body {
    padding: 18px;
    display: grid;
    gap: 14px;
}

.sicv-create-side-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sicv-create-matricula {
    font-size: 22px;
    color: #21446e !important;
}

.sicv-create-side-note {
    background: #f8fafc;
    border-left: 4px solid #0ea5e9;
}

.sicv-create-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.sicv-create-steps::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #dbe3ee;
}

.sicv-create-steps li {
    position: relative;
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.sicv-create-steps li span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    z-index: 1;
}

.sicv-create-steps li.active span {
    background: #21446e;
    color: #fff;
    border-color: #21446e;
}

.sicv-create-steps li strong {
    display: block;
    font-size: 14px;
    color: #111827;
}

.sicv-create-steps li small {
    display: block;
    color: #6b7280;
    line-height: 1.4;
}

.sicv-create-help-card p,
.sicv-create-help-card a {
    display: block;
    margin: 0 0 10px;
    color: #334155;
}

.sicv-create-help-card a {
    color: #21446e;
    font-weight: 800;
    text-decoration: none;
}

.sicv-create-help-card a:hover {
    text-decoration: underline;
}

.sicv-create-help-card i {
    margin-right: 6px;
}

.sicv-create-help-card h2 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sicv-create-help-card {
    padding: 18px;
}

.sicv-create-help-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .sicv-create-grid {
        grid-template-columns: 1fr;
    }

    .sicv-create-sidebar {
        position: static;
    }
}

@media (max-width: 992px) {
    .sicv-create-convenio-resumen {
        grid-template-columns: 1fr;
    }

    .sicv-create-bank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sicv-create-header {
        align-items: flex-start;
    }

    .sicv-create-header h1 {
        font-size: 24px;
    }

    .sicv-create-card-body,
    .sicv-create-side-body,
    .sicv-create-help-card {
        padding: 16px;
    }

    .sicv-create-empresa,
    .sicv-create-bank-grid,
    .sicv-create-side-two {
        grid-template-columns: 1fr;
    }

    .sicv-create-actions {
        flex-direction: column;
    }

    .sicv-create-btn-submit,
    .sicv-create-btn-back {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .sicv-adhesion-title {
        font-size: 30px;
    }

    .sicv-adhesion-form-header h2,
    .sicv-adhesion-requirements-header h2 {
        font-size: 18px;
    }

    .sicv-adhesion-requirements-grid {
        grid-template-columns: 1fr;
    }

    .sicv-adhesion-docs {
        border-left: 0;
        border-top: 1px solid #e2e8f0;
    }
}

@media (max-width: 768px) {
    .sicv-adhesion-page {
        margin-bottom: 20px;
    }

    .sicv-adhesion-title {
        font-size: 26px;
    }

    .sicv-adhesion-subtitle {
        font-size: 15px;
    }

    .sicv-adhesion-info,
    .sicv-adhesion-block,
    .sicv-adhesion-form-body {
        padding: 18px;
    }

    .sicv-btn-submit {
        width: 100%;
    }

    .sicv-adhesion-warning {
        align-items: flex-start;
    }
}

/* Convenios Grid y Cards */
.convenios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
    text-align: left;
    max-width: 100%;
    width: 100%;
}

.convenio-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.convenio-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.convenio-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #21446e;
    font-size: 18px;
    font-weight: 700;
}

.convenio-costos {
    background: #f8fafc;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
}

.convenio-costos p {
    margin: 0 0 8px;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
}

.convenio-costos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.convenio-costos li {
    padding: 4px 0;
    color: #475569;
    font-size: 14px;
}

.convenio-card .sicv-btn-submit {
    width: 100%;
    margin-top: 0;
    padding: 10px 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .convenios-grid {
        grid-template-columns: 1fr;
    }
}

/* Boton ver todas mis solicitudes (index) */
.sicv-adhesion-ver-todas {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

/* --- Pantalla Mis Solicitudes de Adhesion SICV - Vista de Lista --- */
.sicv-mis-page {
    margin: 0 auto 32px;
}

.sicv-mis-hero {
    text-align: center;
    margin-bottom: 60px;
}

.sicv-mis-hero h1 {
    margin: 0;
    color: #012d56;
    font-size: 32px;
    font-weight: 900;
}

.sicv-mis-hero p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 16px;
}

/* Banner de exito */
.sicv-mis-banner {
    background: #15803d;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.sicv-mis-banner-body {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.sicv-mis-banner-body p { margin: 0; }

.sicv-mis-banner-close {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.sicv-mis-banner-close:hover { color: #fff; }

/* Toolbar */
.sicv-mis-toolbar {
    display: grid;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.sicv-mis-btn-new {
    background: #012d56;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 10px 22px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px rgba(1, 45, 86, 0.25);
}

.sicv-mis-btn-new:hover,
.sicv-mis-btn-new:focus {
    background: #21446e;
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Estado vacio */
.sicv-mis-empty {
    text-align: center;
    padding: 50px 24px;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(18, 38, 63, 0.05);
}

.sicv-mis-empty i {
    font-size: 52px;
    color: #94a3b8;
    margin-bottom: 18px;
    display: block;
}

.sicv-mis-empty h2 {
    color: #1e293b;
    font-size: 22px;
    margin-bottom: 10px;
}

.sicv-mis-empty p {
    color: #64748b;
    margin-bottom: 22px;
}

/* Tabla */
.sicv-mis-table-wrap {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(18, 38, 63, 0.05);
    overflow-x: auto;
}

.sicv-mis-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.sicv-mis-table thead tr {
    background: #f4f3f7;
    border-bottom: 1px solid #c3c6d0;
}

.sicv-mis-table thead th {
    padding: 14px 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    white-space: nowrap;
}

.sicv-mis-table thead th.sicv-mis-th-right { text-align: right; }

.sicv-mis-table tbody tr.sicv-mis-row {
    border-bottom: 1px solid #e5edf6;
    transition: background-color 0.15s ease;
}

.sicv-mis-table tbody tr.sicv-mis-row:hover {
    background: rgba(244, 243, 247, 0.6);
}

.sicv-mis-table td {
    padding: 16px 20px;
    vertical-align: middle;
}

/* Columna convenio */
.sicv-mis-convenio-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sicv-mis-convenio-cell i {
    font-size: 18px;
    flex-shrink: 0;
}

.sicv-mis-convenio-name {
    margin: 0;
    font-weight: 700;
    color: #1e293b;
    font-size: 15px;
}

.sicv-mis-convenio-code {
    margin: 2px 0 0;
    font-size: 12px;
    color: #64748b;
}

.sicv-mis-fecha-cell {
    font-size: 14px;
    color: #334155;
    white-space: nowrap;
}

.sicv-mis-monto-cell {
    font-size: 15px;
    font-weight: 700;
    color: #012d56;
    white-space: nowrap;
}

/* Colores de icono por estado */
.sicv-mis-ic-pending    { color: #ca8a04; }
.sicv-mis-ic-validating { color: #0369a1; }
.sicv-mis-ic-approved   { color: #16a34a; }
.sicv-mis-ic-rejected   { color: #dc2626; }

/* Badges de estado */
.sicv-mis-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sicv-mis-badge-pending {
    background: #fefce8;
    color: #ca8a04;
    border: 1px solid #fef3c7;
}

.sicv-mis-badge-validating {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.sicv-mis-badge-approved {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.sicv-mis-badge-rejected {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.sicv-mis-badge-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: sicv-pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes sicv-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* Acciones */
.sicv-mis-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.sicv-mis-btn-icon {
    padding: 8px 10px;
    color: #0369a1;
    background: transparent;
    border: 0;
    border-radius: 8px;
    transition: background-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
}

.sicv-mis-btn-icon:hover,
.sicv-mis-btn-icon:focus {
    background: #e0f2fe;
    color: #0369a1;
    text-decoration: none;
}

.sicv-mis-btn-retry {
    background: #dc2626;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.15s ease;
}

.sicv-mis-btn-retry:hover,
.sicv-mis-btn-retry:focus {
    background: #b91c1c;
    color: #fff;
    text-decoration: none;
}

/* Fila de detalle de rechazo */
.sicv-mis-rejection-row td {
    padding: 8px 20px;
    background: rgba(255, 218, 214, 0.25);
    border-bottom: 1px solid #fecaca;
}

.sicv-mis-rejection-detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

.sicv-mis-rejection-detail i { flex-shrink: 0; margin-top: 1px; }

/* Footer / volver */
.sicv-mis-footer-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.sicv-mis-btn-back {
    background: #fff;
    color: #64748b;
    border: 1px solid #dbe3ee;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    border-radius: 999px;
    padding: 10px 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sicv-mis-btn-back:hover,
.sicv-mis-btn-back:focus {
    background: #f1f5f9;
    color: #012d56;
    text-decoration: none;
}

@media (max-width: 768px) {
    .sicv-mis-hero h1 { font-size: 26px; }

    .sicv-mis-table thead { display: none; }

    .sicv-mis-table tbody tr.sicv-mis-row,
    .sicv-mis-table tbody tr.sicv-mis-rejection-row { display: block; border-bottom: 2px solid #e5edf6; }

    .sicv-mis-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        border-bottom: 1px solid #f1f5f9;
    }

    .sicv-mis-table td::before {
        content: attr(data-label);
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #94a3b8;
        flex-shrink: 0;
        margin-right: 12px;
    }

    .sicv-mis-actions { justify-content: flex-end; }

    .sicv-mis-rejection-row td { display: block; }
}
/* --- Pantalla Detalle de Solicitud de Adhesion SICV --- */
.sicv-view-page {
    max-width: 1100px;
    margin: 0 auto 32px;
}

/* Banner de estado */
.sicv-view-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    border-radius: 12px;
    margin-bottom: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.sicv-view-banner-pending    { background: #d97706; }
.sicv-view-banner-validating { background: #0369a1; }
.sicv-view-banner-approved   { background: #15803d; }
.sicv-view-banner-rejected   { background: #dc2626; }

.sicv-view-banner-left {
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 1;
}

.sicv-view-banner-icon {
    font-size: 42px;
    opacity: 0.9;
}

.sicv-view-banner-sub {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-bottom: 4px;
}

.sicv-view-banner-estado {
    margin: 0;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.sicv-view-banner-label-right {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
    z-index: 1;
}

/* Grid 2/3 + 1/3 */
.sicv-view-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.sicv-view-main   { display: flex; flex-direction: column; gap: 20px; }
.sicv-view-sidebar { display: flex; flex-direction: column; gap: 20px; }

/* Cards (columna izquierda) */
.sicv-view-card {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(18, 38, 63, 0.05);
}

.sicv-view-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sicv-view-card-header-primary {
    background: #012d56;
    color: #fff;
}

.sicv-view-card-header-light {
    background: #f4f3f7;
    color: #012d56;
    border-bottom: 1px solid #dbe3ee;
}

.sicv-view-card-body {
    padding: 24px;
}

/* DL grid */
.sicv-view-dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sicv-view-dl dt {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
}

.sicv-view-dd-lg {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.sicv-view-code {
    display: block;
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    margin-top: 2px;
}

.sicv-view-monto {
    font-size: 26px;
    font-weight: 900;
    color: #15803d;
    margin: 0;
}

/* Acciones inline */
.sicv-view-actions-inline {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sicv-view-btn-download {
    background: #00658f;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 13px 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.sicv-view-btn-download:hover,
.sicv-view-btn-download:focus {
    background: #004c6d;
    color: #fff;
    text-decoration: none;
}

.sicv-view-tyc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
}

.sicv-view-tyc-icon { color: #15803d; }

/* Notas de estado */
.sicv-view-status-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.sicv-view-note-approved {
    background: #dcfce7;
    color: #14532d;
    border: 1px solid #bbf7d0;
}

.sicv-view-note-rejected {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

/* Badge tipo matricula */
.sicv-view-badge-tipo {
    display: inline-block;
    background: #80ccfe;
    color: #001e2e;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Panels (sidebar) */
.sicv-view-panel {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(18, 38, 63, 0.05);
}

.sicv-view-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #012d56;
    padding: 16px 20px;
    margin: 0;
    border-bottom: 1px solid #dbe3ee;
}

.sicv-view-panel-body {
    padding: 16px 20px;
}

.sicv-view-panel-body .btn {
    margin-bottom: 5px;
}

/* Panel ayuda */
.sicv-view-panel-help {
    background: #012d56;
    border-color: #21446e;
}

.sicv-view-panel-title-light {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.sicv-view-help-intro {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

.sicv-view-help-item {
    display: inline-flex;
    /* text-align: left; */
    gap: 23px;
    margin-bottom: 14px;
    color: #87ceff;
}

.sicv-view-help-item i { margin-top: 2px; }

.sicv-view-help-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.65;
    color: #fff;
}

.sicv-view-help-value {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

a.sicv-view-help-value:hover { text-decoration: underline; }

/* Botones acciones sidebar */
.sicv-view-btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sicv-view-btn-action:last-child { margin-bottom: 0; }

.sicv-view-btn-outline {
    background: transparent;
    color: #475569;
    border: 1px solid #dbe3ee;
}

.sicv-view-btn-outline:hover,
.sicv-view-btn-outline:focus {
    background: #f1f5f9;
    color: #012d56;
    text-decoration: none;
}

.sicv-view-btn-primary {
    background: #012d56;
    color: #fff;
    border: 0;
}

.sicv-view-btn-primary:hover,
.sicv-view-btn-primary:focus {
    background: #21446e;
    color: #fff;
    text-decoration: none;
}

.sicv-view-btn-secondary {
    background: #80ccfe;
    color: #001e2e;
    border: 1px solid #00658f;
}

.sicv-view-btn-secondary:hover,
.sicv-view-btn-secondary:focus {
    background: #c8e6ff;
    color: #001e2e;
    text-decoration: none;
}

.sicv-view-btn-danger {
    background: #dc2626;
    color: #fff;
    border: 0;
}

.sicv-view-btn-danger:hover,
.sicv-view-btn-danger:focus {
    background: #b91c1c;
    color: #fff;
    text-decoration: none;
}

/* Timeline */
.sicv-view-timeline {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid #dbe3ee;
}

.sicv-view-timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.sicv-view-timeline-item:last-child { padding-bottom: 0; }

.sicv-view-timeline-dot {
    position: absolute;
    left: -31px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00658f;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #dbe3ee;
}

.sicv-view-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sicv-view-timeline-estado {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1e293b;
}

.sicv-view-timeline-fecha {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sicv-view-timeline-motivo {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

.sicv-view-empty-historial {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

@media (max-width: 992px) {
    .sicv-view-grid {
        grid-template-columns: 1fr;
    }

    .sicv-view-dl {
        grid-template-columns: 1fr;
    }

    .sicv-view-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px;
    }

    .sicv-view-banner-label-right { display: none; }
    .sicv-view-banner-estado { font-size: 28px; }
}

@media (max-width: 600px) {
    .sicv-view-banner-icon { font-size: 28px; }
    .sicv-view-banner-estado { font-size: 22px; }
}