/* =========================================================
 * VERIFICADOR DE CERTIFICADOS - TB Consulting Academy
 * Paleta: #14549c (azul) | #f57722 (naranja)
 * Fuente: Poppins (Google Fonts, cargada por el tema)
 * ========================================================= */

.vc-contenedor {
    max-width: 920px;
    margin: 0 auto;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── ENCABEZADO ── */
.vc-header {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #14549c 0%, #1a6bc4 100%);
    color: #ffffff;
    padding: 26px 30px;
    border-radius: 12px;
    margin-bottom: 28px;
    box-shadow: 0 4px 18px rgba(20, 84, 156, .22);
    border-left: 5px solid #f57722;
}

.vc-header-icon {
    font-size: 42px;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    color: #f57722;
}

.vc-header h2 {
    margin: 0 0 5px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -.01em;
}

.vc-header p {
    margin: 0;
    font-size: 14px;
    color: #c8daf0;
}

/* ── FORMULARIO DE BÚSQUEDA ── */
.vc-form {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.vc-input-icon {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.vc-input-icon .dashicons {
    position: absolute;
    left: 14px;
    color: #9aa5b1;
    font-size: 18px;
}

.vc-form input[type="text"] {
    width: 100%;
    padding: 15px 16px 15px 44px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid #d6dbe1;
    border-radius: 8px;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
    color: #1d2327;
}

.vc-form input[type="text"]:focus {
    border-color: #14549c;
    box-shadow: 0 0 0 3px rgba(20, 84, 156, .14);
    outline: none;
}

.vc-form button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f57722;
    color: #fff;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s ease, transform .1s ease;
    white-space: nowrap;
}

.vc-form button:hover {
    background: #d4601a;
    transform: translateY(-1px);
}

.vc-form button .dashicons {
    font-size: 18px;
}

@media (max-width: 600px) {
    .vc-form { flex-direction: column; }
    .vc-form button { padding: 14px; justify-content: center; }
}

/* ── INFO DNI ── */
.vc-info-dni {
    background: #eef4fb;
    border-left: 4px solid #14549c;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    color: #0d3b72;
    font-size: 14.5px;
}

/* ── TABLA DE RESULTADOS ── */
.vc-resultado {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    border: 1px solid #e0e7ef;
}

.vc-table-scroll {
    overflow-x: auto;
}

.vc-tabla {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.vc-tabla thead th {
    background: #14549c;
    color: #fff;
    font-weight: 600;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 14px 12px;
    text-align: center;
}

.vc-tabla tbody td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid #eef1f4;
    font-size: 14px;
    color: #2d3748;
}

.vc-tabla tbody tr:last-child td { border-bottom: none; }

.vc-tabla tbody tr:hover { background: #f5f8fd; }

.vc-codigo-tag {
    display: inline-block;
    background: #eef4fb;
    color: #14549c;
    padding: 4px 11px;
    border-radius: 5px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    letter-spacing: .06em;
    border: 1px solid #c8daf0;
}

/* ── ESTADO ── */
.vc-estado {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12.5px;
}

.vc-estado .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

.vc-estado-valido  { background: #e8f7ed; color: #1a7a40; }
.vc-estado-invalido { background: #fbe9e9; color: #c0392b; }

/* ── BOTÓN DE DESCARGA ── */
.vc-boton-descarga {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f57722;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: background .2s ease;
}

.vc-boton-descarga:hover { background: #d4601a; }

.vc-boton-descarga .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

.vc-sin-archivo { color: #a0aec0; font-size: 13px; font-style: italic; }

/* ── NO ENCONTRADO ── */
.vc-no-encontrado {
    text-align: center;
    background: #fff;
    border: 1px solid #f3d2d2;
    border-radius: 10px;
    padding: 40px 24px;
    color: #c0392b;
}

.vc-no-encontrado .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.vc-no-encontrado p {
    margin: 6px 0;
    font-weight: 700;
    font-size: 16px;
}

.vc-no-encontrado-sub {
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #8c8f94;
}

/* ── BOTÓN SECUNDARIO ── */
.vc-centrado { text-align: center; margin-top: 24px; }

.vc-boton-secundario {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: #f0f4f9;
    color: #14549c !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1.5px solid #c8daf0;
    transition: background .2s ease, color .2s ease;
}

.vc-boton-secundario:hover {
    background: #14549c;
    color: #fff !important;
    border-color: #14549c;
}

.vc-boton-secundario .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .vc-header {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
    }

    .vc-tabla { font-size: 13px; }
}
