/* BASE */
body {
    background-color: #f4f7fb;
    font-family: Arial, sans-serif;
    color: #003366;
    margin: 0;
    padding: 0;
}

/* HEADER */
.main-header {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 10px 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    margin-bottom: 0 !important;
}

.titulo-header {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

/* TARJETA PRINCIPAL */
.consulta-card {
    background-color: #fff;
    max-width: 580px;
    width: 100%;
    margin: 1rem auto;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* FOTO - OCUPA TODO EL ANCHO */
.foto-full {
    width: 100%;
}

.candidate-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* === TEXTO ARRIBA DEL INPUT (MAYÚSCULA + MÁS GRANDE) === */
.instruccion-text {
    color: #001f3f;
    font-size: 1.15rem !important;
    font-weight: 700;
    text-transform: uppercase !important;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
}

/* INPUT DNI */
.dni-input-custom {
    width: 90% !important;
    border: 2px solid #003366 !important;
    border-radius: 6px !important;
    padding: 14px 16px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-align: left !important;
    color: #001f3f !important;
    background-color: #ffffff !important;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.dni-input-custom:not(:placeholder-shown) {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #000 !important;
}

.dni-input-custom::placeholder {
    color: #9ba8b7 !important;
    text-align: left !important;
    font-weight: 400 !important;
    font-size: 1rem !important;
}

.dni-input-custom:focus {
    border-color: #001530 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 34, 68, 0.25) !important;
    outline: none !important;
}

/* BOTÓN CONSULTAR */
.btn-consultar-full {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 90% !important;
    height: 54px !important;
    background-color: #003366 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer;
}

.btn-consultar-full i {
    font-size: 1.2rem !important;
}

.btn-consultar-full:hover {
    background-color: #001f4d !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2) !important;
}

/* MODAL */
.header-modal {
    background-color: #003366 !important;
    color: #ffffff !important;
    border-bottom: none !important;
}

.modal-content {
    border-radius: 12px !important;
    border: 2px solid #003366 !important;
    overflow: hidden !important;
}

/* === SUBIR EL BOTÓN OK DEL MODAL === */
.modal-footer {
    margin-top: -10px !important;
    padding-top: 0 !important;
}

/* BOTÓN OK MODAL */
.btn-ok-modal {
    display: block !important;
    width: 60% !important;
    margin: 0 auto !important;
    background-color: #003366 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    text-transform: uppercase !important;
}

.btn-ok-modal:hover {
    background-color: #001f4d !important;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .consulta-card {
        max-width: 94%;
    }

    .dni-input-custom,
    .btn-consultar-full {
        width: 95% !important;
    }

    .btn-ok-modal {
        width: 60% !important;
    }
}
