/* ==========================================================
   WorthSelection · Acciones del candidato
   ========================================================== */

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

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

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

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

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

.ws-action-modal-subtitle{
    color:#667085;
    font-size:12.5px;
    margin-top:5px;
}

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

.ws-action-modal-body{
    padding:22px 24px;
}

.ws-action-modal-footer{
    padding:17px 24px;
    border-top:1px solid var(--border);
    display:flex;
    justify-content:flex-end;
    gap:9px;
}

.ws-action-field{
    margin-bottom:16px;
}

.ws-action-field:last-child{
    margin-bottom:0;
}

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

.ws-action-input,
.ws-action-select,
.ws-action-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-action-input,
.ws-action-select{
    min-height:44px;
}

.ws-action-textarea{
    min-height:115px;
    resize:vertical;
    line-height:1.55;
}

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

.ws-action-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

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

.ws-action-warning{
    padding:13px 14px;
    border:1px solid #fedf89;
    background:#fffaeb;
    color:#93370d;
    border-radius:9px;
    font-size:12px;
    line-height:1.55;
    margin-bottom:17px;
}

.ws-action-btn{
    border:1px solid #d0d5dd;
    background:#fff;
    color:#344054;
    border-radius:21px;
    padding:9px 14px;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

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

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

.ws-action-btn.success{
    background:#12b76a;
    border-color:#12b76a;
    color:white;
}

.ws-action-btn.danger{
    border-color:#fda29b;
    color:#b42318;
    background:#fff;
}

.ws-action-btn:disabled{
    opacity:.55;
    cursor:not-allowed;
}

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

.ws-status-actions-label{
    width:100%;
    color:#667085;
    font-size:11px;
    font-weight:600;
    margin-bottom:1px;
}


/* TOAST */

.ws-toast-container{
    position:fixed;
    top:82px;
    right:20px;
    z-index:3000;
    display:grid;
    gap:9px;
    width:min(390px,calc(100vw - 40px));
}

.ws-toast{
    background:white;
    border:1px solid var(--border);
    border-radius:11px;
    padding:14px 16px;
    box-shadow:0 14px 38px rgba(16,38,76,.15);
    display:flex;
    gap:11px;
    align-items:flex-start;
    animation:wsToastIn .2s ease;
}

.ws-toast.success{
    border-left:4px solid #12b76a;
}

.ws-toast.error{
    border-left:4px solid #f04438;
}

.ws-toast-icon{
    font-weight:900;
    font-size:16px;
    line-height:1.3;
}

.ws-toast.success .ws-toast-icon{
    color:#067647;
}

.ws-toast.error .ws-toast-icon{
    color:#b42318;
}

.ws-toast-title{
    color:var(--navy);
    font-size:13px;
    font-weight:700;
}

.ws-toast-text{
    color:#667085;
    font-size:12px;
    margin-top:2px;
    line-height:1.45;
}

@keyframes wsToastIn{
    from{
        opacity:0;
        transform:translateY(-8px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media(max-width:700px){
    .ws-action-grid{
        grid-template-columns:1fr;
    }

    .ws-action-modal-backdrop{
        padding:20px 10px;
    }
}
