/* =========================================================
   WorthSelection · Entrevistas y Ofertas
   ========================================================= */

.ws-selection-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:18px;
}

.ws-selection-tab{
    border:1px solid #d0d5dd;
    background:#fff;
    color:#475467;
    border-radius:20px;
    padding:8px 13px;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

.ws-selection-tab.active{
    background:var(--navy);
    border-color:var(--navy);
    color:#fff;
}

.ws-selection-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:13px;
    margin-bottom:19px;
}

.ws-selection-stat{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:17px;
}

.ws-selection-stat-label{
    color:#667085;
    font-size:11.5px;
}

.ws-selection-stat-value{
    color:var(--navy);
    font-family:"Roboto Condensed",sans-serif;
    font-size:29px;
    line-height:1;
    font-weight:800;
    margin-top:7px;
}

.ws-selection-list{
    display:grid;
    gap:12px;
}

.ws-interview-card,
.ws-offer-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:13px;
    padding:18px 19px;
}

.ws-selection-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
}

.ws-selection-person{
    color:var(--navy);
    font-family:"Roboto Condensed",sans-serif;
    font-size:20px;
    font-weight:800;
}

.ws-selection-job{
    color:#667085;
    font-size:12px;
    margin-top:3px;
}

.ws-selection-badge{
    border-radius:15px;
    padding:5px 9px;
    font-size:10px;
    font-weight:750;
    white-space:nowrap;
}

.ws-selection-badge.SCHEDULED,
.ws-selection-badge.SENT{
    background:#eff8ff;
    color:#175cd3;
}

.ws-selection-badge.COMPLETED,
.ws-selection-badge.ACCEPTED{
    background:#ecfdf3;
    color:#067647;
}

.ws-selection-badge.CANCELLED,
.ws-selection-badge.DECLINED,
.ws-selection-badge.WITHDRAWN{
    background:#fef3f2;
    color:#b42318;
}

.ws-selection-badge.NO_SHOW{
    background:#fffaeb;
    color:#b54708;
}

.ws-selection-meta{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:14px;
}

.ws-selection-meta-item{
    background:#f7f8fa;
    border-radius:7px;
    padding:6px 9px;
    color:#475467;
    font-size:11.5px;
}

.ws-selection-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding-top:14px;
    margin-top:14px;
    border-top:1px solid var(--border);
}

.ws-selection-btn{
    border:1px solid #d0d5dd;
    background:#fff;
    color:#344054;
    border-radius:20px;
    padding:8px 12px;
    font-size:11.5px;
    font-weight:700;
    cursor:pointer;
}

.ws-selection-btn:hover{
    border-color:var(--purple);
    color:var(--purple);
}

.ws-selection-btn.primary{
    background:var(--purple);
    border-color:var(--purple);
    color:#fff;
}

.ws-selection-btn.danger{
    border-color:#fda29b;
    color:#b42318;
}

.ws-selection-btn.warning{
    border-color:#fedf89;
    color:#b54708;
}

.ws-selection-empty{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:40px 20px;
    text-align:center;
    color:#667085;
    font-size:13px;
}

.ws-selection-empty strong{
    display:block;
    color:var(--navy);
    font-size:16px;
    margin-bottom:5px;
}


/* FINALISTAS SIN OFERTA */

.ws-finalists-block{
    margin-bottom:20px;
}

.ws-finalists-title{
    color:var(--navy);
    font-family:"Roboto Condensed",sans-serif;
    font-size:20px;
    font-weight:800;
    margin-bottom:11px;
}

.ws-finalists-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:11px;
}

.ws-finalist-card{
    background:#fff;
    border:1px solid #d9d6fe;
    border-radius:12px;
    padding:16px;
}

.ws-finalist-name{
    color:var(--navy);
    font-size:14px;
    font-weight:750;
}

.ws-finalist-job{
    color:#667085;
    font-size:11.5px;
    margin-top:3px;
}


/* MODALES */

.ws-selection-overlay{
    position:fixed;
    inset:0;
    z-index:2900;
    background:rgba(8,26,53,.58);
    display:flex;
    justify-content:center;
    align-items:flex-start;
    overflow:auto;
    padding:55px 18px;
}

.ws-selection-modal{
    width:min(700px,100%);
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 28px 90px rgba(0,0,0,.22);
}

.ws-selection-modal.large{
    width:min(820px,100%);
}

.ws-selection-modal-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    padding:21px 23px;
    border-bottom:1px solid var(--border);
}

.ws-selection-modal-title{
    color:var(--navy);
    font-family:"Roboto Condensed",sans-serif;
    font-size:23px;
    font-weight:800;
}

.ws-selection-modal-subtitle{
    color:#667085;
    font-size:12px;
    margin-top:4px;
}

.ws-selection-modal-close{
    width:35px;
    height:35px;
    flex:0 0 35px;
    border:0;
    background:#f2f4f7;
    border-radius:50%;
    font-size:19px;
    cursor:pointer;
}

.ws-selection-modal-body{
    padding:21px 23px;
}

.ws-selection-modal-footer{
    display:flex;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:8px;
    padding:16px 23px;
    border-top:1px solid var(--border);
}

.ws-selection-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.ws-selection-field{
    margin-bottom:15px;
}

.ws-selection-field.full{
    grid-column:1/-1;
}

.ws-selection-label{
    display:block;
    color:#344054;
    font-size:12.5px;
    font-weight:700;
    margin-bottom:7px;
}

.ws-selection-input,
.ws-selection-select,
.ws-selection-textarea{
    width:100%;
    border:1px solid #d0d5dd;
    border-radius:8px;
    background:#fff;
    color:#101828;
    font-family:"Inter",sans-serif;
    font-size:14px;
    outline:none;
    padding:11px 12px;
}

.ws-selection-input,
.ws-selection-select{
    min-height:44px;
}

.ws-selection-textarea{
    min-height:100px;
    resize:vertical;
    line-height:1.55;
}

.ws-selection-input:focus,
.ws-selection-select:focus,
.ws-selection-textarea:focus{
    border-color:var(--purple);
    box-shadow:0 0 0 3px rgba(104,88,255,.10);
}

.ws-selection-detail-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}

.ws-selection-detail{
    background:#f8f9fb;
    border-radius:9px;
    padding:12px;
}

.ws-selection-detail-label{
    color:#667085;
    font-size:10.5px;
}

.ws-selection-detail-value{
    color:var(--navy);
    font-size:13px;
    font-weight:700;
    margin-top:4px;
    overflow-wrap:anywhere;
}

.ws-selection-section-title{
    color:var(--navy);
    font-size:14px;
    font-weight:750;
    margin:20px 0 9px;
}

.ws-selection-text-block{
    background:#f8f9fb;
    color:#475467;
    border-radius:9px;
    padding:12px 13px;
    font-size:12.5px;
    line-height:1.6;
    white-space:pre-line;
}

.ws-selection-help{
    color:#667085;
    font-size:11px;
    line-height:1.5;
    margin-top:6px;
}

@media(max-width:900px){
    .ws-selection-stats{
        grid-template-columns:repeat(2,1fr);
    }

    .ws-finalists-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:650px){
    .ws-selection-stats,
    .ws-selection-grid,
    .ws-selection-detail-grid{
        grid-template-columns:1fr;
    }
}
