body{
    margin:0;
    padding:0;
    background:#eef3f8;
    font-family:Arial, Helvetica, sans-serif;
}

/* ================= LOGIN ================= */

.login{

    width:420px;

    background:white;

    padding:40px;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    text-align:center;

    margin:80px auto;

}

h1{

    color:#0A4D8C;

    font-size:20px;

    margin-bottom:10px;

}

p{

    color:#666;

    margin-bottom:30px;

}

input{

    width:100%;

    padding:15px;

    margin-bottom:15px;

    border:1px solid #ccc;

    border-radius:8px;

    font-size:16px;

    box-sizing:border-box;

}

button{

    width:100%;

    padding:15px;

    background:#0A4D8C;

    color:white;

    border:none;

    border-radius:8px;

    font-size:16px;

    cursor:pointer;

    transition:.3s;

}

button:hover{

    background:#08345e;

}

/* ================= DASHBOARD ================= */

.dashboard{

    width:95%;

    max-width:1200px;

    margin:30px auto;

}

header{

    background:#0f4d8a;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:8px 20px;

    border-radius:15px;

    margin-bottom:20px;

}

header h2{

    margin:0;

    color:white;

}

.contenido{

    display:flex;

    gap:20px;

}

.menu{

    width:280px;

    display:flex;

    flex-direction:column;

    gap:15px;

}

.principal{

    flex:1;

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.10);

}

/* ================= EXPEDIENTE ================= */

.expediente{

    width:95%;

    max-width:1400px;

    margin:30px auto;

}

.barra-superior{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

}

.barra-superior h1{

    font-size:34px;

}

.barra-superior button{

    width:150px;

}

.contenedor-expediente{

    display:grid;

    grid-template-columns:220px 350px 1fr;

    gap:25px;

}

.foto,
.informacion,
.cv{

    background:white;

    padding:20px;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.10);

}

.avatar{

    width:160px;

    height:160px;

    background:#0A4D8C;

    color:white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:55px;

    font-weight:bold;

    margin:auto;

}

.informacion h2{

    color:#0A4D8C;

    margin-bottom:20px;

}

.informacion p{

    margin-bottom:12px;

}

.cv iframe{

    width:100%;

    height:550px;

    border:none;

    border-radius:10px;

}/*==================================================
                BANCO DE TALENTO
==================================================*/

.banco-talento{

    width:95%;

    max-width:1400px;

    margin:30px auto;

}

.acciones{

    display:flex;

    align-items:center;

    gap:25px;

    margin:30px 0;

}

.acciones input{

    width:70%;

    padding:15px 20px;

    font-size:16px;

    border:2px solid #d9e3f0;

    border-radius:10px;

    outline:none;

    transition:0.3s;

    box-sizing:border-box;

}

.acciones input:focus{

    border-color:#0A4D8C;

    box-shadow:0 0 10px rgba(10,77,140,.20);

}

.acciones button{

    width:250px;

    height:52px;

    flex-shrink:0;

}

.vista{

    display:flex;

    gap:15px;

    margin-bottom:25px;

}

.vista button{

    width:180px;

}

table{

    width:100%;

    border-collapse:collapse;

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.10);

}

table th{

    background:#0A4D8C;

    color:white;

    padding:18px;

    text-align:left;

}

table td{

    padding:18px;

    border-bottom:1px solid #eee;

}
.fila-talento {
    cursor: pointer;
}

.fila-talento:hover {
    background: #f5f7fa;
}

table tr:hover{

    background:#f5f9ff;

}
.tarjetas-indicadores {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    width: 100%;

    margin-bottom: 25px;

}
@media (max-width: 1000px) {

    .tarjetas-indicadores {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}

@media (max-width: 600px) {

    .tarjetas-indicadores {

        grid-template-columns: 1fr;

    }

}
table button{

    width:auto;

    padding:10px 18px;

}.indicadores{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin:30px 0;

}

.card{

    background:white;

    padding:25px;

    border-radius:15px;

    text-align:center;

    box-shadow:0 8px 20px rgba(0,0,0,.10);

}

.card h3{

    color:#0A4D8C;

    font-size:34px;

    margin:0;

}

.card p{

    margin-top:10px;

}/*======================================
        TARJETAS BANCO DE TALENTO
======================================*/

.tarjetas {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    width: 100%;

    margin-top: 30px;

}
.tarjeta-talento-ficha {

    background: white;

    padding: 25px;

    border-radius: 15px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.10);

    text-align: center;

}

.tarjeta{

    width:320px;

    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.10);

}
.tarjetas-banco-talento {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    width: 100%;

    margin-bottom: 25px;

}

.avatar-mini{

    width:45px;

    height:45px;

    background:#0A4D8C;

    color:white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:bold;

}

.avatar-grande{

    width:120px;

    height:120px;

    background:#0A4D8C;

    color:white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:40px;

    margin:auto;

    margin-bottom:20px;

}

.estado{

    display:inline-block;

    padding:8px 15px;

    border-radius:30px;

    color:white;

    margin:15px 0;

}

.estado.postulante{
    background:#3d1fc6;
}

.estado.assessment{
    background:#f4b400;
}

.estado.contratado{
    background:#1fb743;
}

.estado.descartado{
    background:#ce1e30;
}

.estado.onboarding{
    background:#109d88;
}
.estado.evaluacion{
    background:#d5690b;
}
.estado.preseleccionado {
    background: #6f42c1;
    color: #ffffff;
}

.barra{

    width:100%;

    height:12px;

    background:#ddd;

    border-radius:10px;

    overflow:hidden;

    margin:10px 0;

}

.progreso{

    height:100%;

    background:#0A4D8C;

}/* ================= MODAL ================= */

.modal{

    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);

    justify-content:center;
    align-items:center;
    z-index:999;

}

.modal-contenido{

    background:white;
    width:500px;
    max-width:90%;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);

}

.modal-contenido h2{

    margin-top:0;
    margin-bottom:20px;
    text-align:center;
    color:#0A4D8C;

}

.modal-contenido input,
.modal-contenido select{

    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #d9d9d9;
    border-radius:8px;
    box-sizing:border-box;
    font-size:16px;

}

.cerrar{

    float:right;
    font-size:30px;
    cursor:pointer;
    color:#555;

}

.cerrar:hover{

    color:red;

}
.logo-sistema{

    width:180px;

    height:auto;

}
/* ========================================= */
/* TARJETA HISTORIAL - FINAL */
/* ========================================= */

#timelineProceso .tarjeta-historial {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    border-radius: 12px !important;
    border-left: 5px solid #0A4D8C !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
}

#timelineProceso .cabecera-historial {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 15px !important;
}

#timelineProceso .cabecera-historial strong {
    font-size: 16px !important;
    color: #222 !important;
}

#timelineProceso .cabecera-historial span {
    font-size: 13px !important;
    color: #777 !important;
}

#timelineProceso .contenido-historial {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

#timelineProceso .cambio-estado-historial {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

#timelineProceso .estado-anterior {
    display: inline-block !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    background: #eeeeee !important;
    color: #555 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

#timelineProceso .flecha-historial {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #777 !important;
}

#timelineProceso .estado-nuevo {
    display: inline-block !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    background: #e8f1f8 !important;
    color: #0A4D8C !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

/* Permitir desplazamiento dentro de los modales */
.modal-contenido {
    max-height: 90vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

/* Barra de desplazamiento del modal */
.modal-contenido::-webkit-scrollbar {
    width: 8px;
}

.modal-contenido::-webkit-scrollbar-thumb {
    background: #b8c8d9;
    border-radius: 8px;
}

.modal-contenido::-webkit-scrollbar-track {
    background: #f1f5f9;
}
