/* ============================================================
   SISGEDWEB — Estilos radicación web
   Cubre: inicio.php (hero, pasos, requisitos) y home.php (formulario, carga)
   ============================================================ */

/* ── Hero ── */
.rad-hero {
    background: linear-gradient(135deg, #004884 0%, #3366cc 100%);
    color: #fff !important;
    padding: 52px 0 44px;
    text-align: center;
}
.rad-hero h1,
.rad-hero h2,
.rad-hero h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff !important;
}
.rad-hero p,
.rad-hero span,
.rad-hero small {
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 24px;
    color: #fff !important;
    opacity: .92;
}
.rad-hero .btn-hero {
    background: #f5a623;
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 14px 40px;
    border-radius: 4px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
}
.rad-hero .btn-hero:hover { background: #e0941a; color: #fff; text-decoration: none; }
.rad-hero .btn-hero i { margin-right: 8px; }

/* ── Sección pasos ── */
.rad-steps {
    padding: 52px 0 40px;
    background: #f5f7fa;
}
.rad-steps .section-label {
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3366cc;
    margin-bottom: 8px;
}
.rad-steps h2 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 36px;
}

/* Tarjetas de paso */
.step-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.step-box {
    background: #fff;
    border-radius: 6px;
    padding: 28px 22px 22px;
    flex: 1 1 180px;
    max-width: 210px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
    position: relative;
}
.step-box .step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3366cc;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(51, 102, 204, .4);
}
.step-box .step-icon {
    font-size: 2rem;
    color: #3366cc;
    margin: 8px 0 12px;
    display: block;
}
.step-box h4 {
    font-size: .92rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.step-box p {
    font-size: .82rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Flecha entre pasos — solo desktop */
.step-arrow {
    display: flex;
    align-items: center;
    color: #c0cfe8;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 16px;
}
@media (max-width: 768px) {
    .step-arrow { display: none; }
    .step-box { max-width: 100%; flex: 1 1 100%; }
}

/* ── Sección requisitos ── */
.rad-reqs {
    padding: 40px 0 36px;
    background: #fff;
}
.rad-reqs h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}
.req-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.req-item .req-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8efff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #3366cc;
    font-size: 1rem;
}
.req-item .req-text {
    font-size: .9rem;
    color: #444;
    line-height: 1.5;
}
.req-item .req-text strong { color: #1a1a1a; }

/* ── Aviso ── */
.rad-notice {
    background: #fff8e1;
    border-left: 4px solid #f5a623;
    border-radius: 4px;
    padding: 14px 18px;
    font-size: .88rem;
    color: #444;
}

/* ── CTA final ── */
.rad-cta {
    padding: 44px 0 52px;
    background: #f5f7fa;
    text-align: center;
    margin-bottom: 120px;
}
.rad-cta h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}
.rad-cta p {
    color: #666;
    margin-bottom: 24px;
    font-size: .95rem;
}

/* ── Zona de carga documento principal ── */
.govco-upload-zone {
    border: 2px dashed #3366cc;
    border-radius: 6px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    background: #f5f8ff;
    transition: background 0.2s;
    display: block;
    width: 100%;
}
.govco-upload-zone:hover { background: #e8efff; }
.govco-upload-zone .upload-icon {
    font-size: 2.4em;
    color: #3366cc;
    display: block;
    margin-bottom: 8px;
}
.govco-upload-zone .upload-label-text {
    color: #3366cc;
    font-weight: 600;
    font-size: 1em;
}
.govco-upload-zone .upload-hint {
    display: block;
    color: #6c757d;
    font-size: 0.82em;
    margin-top: 6px;
}
.govco-upload-success {
    border-color: #28a745;
    background: #f0fff4;
}
.govco-upload-success .upload-icon,
.govco-upload-success .upload-label-text { color: #28a745; }

/* ── Sobreescritura pekeUpload para identidad GOVCO ── */
.pekeupload-drag-area {
    background: #f5f8ff !important;
    border: 2px dashed #3366cc !important;
    border-radius: 6px !important;
    padding: 24px !important;
    text-align: center !important;
    box-shadow: none !important;
}
.pekeupload-btn-file {
    background: #3366cc !important;
    background-image: none !important;
    filter: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border: none !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: .9rem !important;
    padding: 10px 22px !important;
    cursor: pointer !important;
    display: inline-block !important;
    transition: background .2s !important;
}
.pekeupload-btn-file:hover {
    background: #254f9e !important;
    background-image: none !important;
    color: #fff !important;
    text-decoration: none !important;
}
.pekeupload-btn-file::before {
    content: none;
}
.bar-pekeupload {
    background-color: #3366cc !important;
    background-image: none !important;
}
.progress-pekeupload {
    background: #e0e7f5 !important;
    border: none !important;
    box-shadow: none !important;
}
.pkdel { color: #3366cc !important; }

/* ── Corrección btn-round: cdnv3.css define white-space:pre-line que rompe ícono+texto ── */
.btn-round {
    white-space: nowrap !important;
}

/* ── Espaciado entre hero y contenido del formulario ── */
.kit-area {
    padding-top: 40px !important;
}

/* ── Anula el cap de 600px de GOVCO: los campos deben ocupar todo el ancho de su columna ── */
.kit-area .form-group.gov-co-form-group {
    max-width: 100% !important;
}

/* ── Confirmación: círculo icono éxito ── */
.confirm-check-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e8f5e9;
    border: 3px solid #28a745;
    font-size: 2.4rem;
    color: #28a745;
    line-height: 74px;
    text-align: center;
    display: block;
    margin: 0 auto 16px;
}
