*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:"Segoe UI", Arial, sans-serif;
    background:#f3f6fb;
    color:#111827;
}

/* LAYOUT */

.layout{
    display:flex;
}


.sidebar::-webkit-scrollbar{
    width:7px;
}

.sidebar::-webkit-scrollbar-thumb{
    background:#64748b;
    border-radius:10px;
}

.logo{
    font-size:24px;
    font-weight:800;
    color:#ffffff;
    margin-bottom:22px;
}

.logo span{
    color:#ef4444;
}

.menu-title{
    color:#94a3b8;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1.2px;
    margin:22px 8px 8px;
    font-weight:700;
}

.sidebar a{
    display:flex;
    align-items:center;
    gap:10px;
    color:#e5e7eb;
    text-decoration:none;
    padding:12px;
    margin-bottom:5px;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
    opacity:1;
}

.sidebar a:hover,
.sidebar a.active-menu{
    background:#dc2626;
    color:#ffffff;
}

.layout{
    display:flex;
    height:100vh;
}


.main{
    margin-left:265px;
    width:calc(100% - 265px);
    height:100vh;
    overflow-y:auto;
}
.topbar{
    height:72px;
    background:#ffffff;
    border-bottom:1px solid #e5e7eb;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 32px;
    position:sticky;
    top:0;
    z-index:20;
    box-shadow:0 2px 8px rgba(0,0,0,0.04);
}

.topbar strong{
    font-size:18px;
}

.content{
    padding:32px;
}

/* HEADERS */

h2{
    margin:0 0 24px;
    font-size:28px;
    font-weight:800;
}

.page-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:24px;
    gap:16px;
}

.page-header h2{
    margin:0;
    font-size:28px;
    font-weight:800;
}

.page-header p{
    margin:6px 0 0;
    color:#64748b;
    font-size:14px;
}

/* CARD / FORM */

.card,
.form{
    background:#ffffff;
    border-radius:18px;
    padding:28px;
    margin-bottom:24px;
    border:1px solid #e5e7eb;
    box-shadow:0 8px 22px rgba(15,23,42,0.06);
    overflow-x:auto;
}

.card h3,
.form h3{
    margin-top:0;
    margin-bottom:22px;
    font-size:21px;
}

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

.full{
    grid-column:1 / -1;
}

label{
    display:block;
    margin-bottom:6px;
    font-weight:700;
    color:#334155;
    font-size:14px;
}

input,
select,
textarea{
    width:100%;
    min-height:48px;
    padding:13px 15px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    font-size:15px;
    background:#ffffff;
    outline:none;
}

textarea{
    min-height:85px;
    resize:vertical;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#dc2626;
    box-shadow:0 0 0 3px rgba(220,38,38,0.12);
}

.input-error{
    border:2px solid #dc2626!important;
    background:#fff1f2!important;
}

/* BUTTONS */

.btn,
button,
.btn-primary{
    height:40px;
    min-width:90px;
    padding:0 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin:0;
    border:none;
    cursor:pointer;
    text-decoration:none;
    white-space:nowrap;
    background:#dc2626;
    color:#ffffff;
}

.btn:hover,
button:hover,
.btn-primary:hover{
    background:#b91c1c;
}

.btn-dark{
    background:#0f172a;
    color:#ffffff;
}

.btn-dark:hover{
    background:#020617;
}

.btn-danger{
    background:#dc2626;
    color:#ffffff;
}

.btn-danger:hover{
    background:#b91c1c;
}

.btn-success{
    background:#16a34a;
    color:#ffffff;
}

.btn-success:hover{
    background:#15803d;
}

.btn-outline{
    background:#ffffff;
    color:#0f172a;
    border:1px solid #cbd5e1;
}

.btn-outline:hover{
    background:#f8fafc;
}

.btn-sm{
    height:36px;
    min-width:78px;
    padding:0 14px;
    font-size:13px;
    margin:0;
}

.form-actions{
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
    margin-top:18px;
}

.action-buttons{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;
}

.inline-form{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;
}

.inline-form select,
.inline-form input{
    min-width:140px;
    height:38px;
    min-height:38px;
    padding:8px 10px;
}

/* TABLE */

.table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    background:#ffffff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 22px rgba(15,23,42,0.06);
}

.table th{
    background:#111827;
    color:white;
    text-align:left;
    padding:16px;
    font-size:14px;
    white-space:nowrap;
}

.table td{
    padding:16px;
    border-bottom:1px solid #e5e7eb;
    vertical-align:middle;
    font-size:14px;
}

.table tr:hover td{
    background:#f9fafb;
}

.table .btn,
.table button{
    height:36px;
    min-width:78px;
    margin:0;
    padding:0 14px;
    font-size:13px;
}

.table td:last-child,
.table th:last-child{
    width:220px;
    min-width:220px;
    text-align:center;
}

/* BADGES */

.badge{
    display:inline-block;
    padding:6px 11px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    background:#e5e7eb;
}

.badge-green,
.status-open{
    background:#dcfce7;
    color:#166534;
}

.status-open{
    padding:8px 14px;
    border-radius:20px;
    font-weight:700;
    font-size:13px;
}

.badge-blue{
    background:#dbeafe;
    color:#1d4ed8;
}

.badge-red{
    background:#fee2e2;
    color:#991b1b;
}

.badge-orange{
    background:#ffedd5;
    color:#9a3412;
}

.badge-purple{
    background:#ede9fe;
    color:#5b21b6;
}

/* DASHBOARD / REPORT */

.grid,
.report-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:22px;
}

.metric{
    font-size:36px;
    font-weight:800;
    color:#dc2626;
}

.report-card{
    background:#ffffff;
    padding:22px;
    border-radius:14px;
    border:1px solid #e5e7eb;
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
}

.report-card h3{
    margin:0;
    font-size:15px;
    color:#374151;
}

.report-card p{
    font-size:34px;
    margin:10px 0 0;
    font-weight:800;
    color:#dc2626;
}

/* SEARCH */

.filter-row{
    display:flex;
    gap:12px;
    align-items:center;
}

.filter-row input{
    flex:1;
}

.filter-row .btn,
.filter-row button{
    width:140px;
    min-width:140px;
    height:48px;
}

.search-toolbar{
    display:flex;
    gap:12px;
    align-items:center;
}

.search-toolbar input{
    flex:1;
}

.search-toolbar button,
.search-toolbar a{
    height:48px;
    padding:0 24px;
}

/* CANDIDATE CARD LIST */

.candidate-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.candidate-card{
    display:grid;
    grid-template-columns:90px 1fr auto;
    align-items:center;
    gap:24px;
    background:#fff;
    border-radius:18px;
    padding:28px;
    margin-bottom:22px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.candidate-card:hover{
    border-color:#bfdbfe;
    box-shadow:0 10px 26px rgba(15,23,42,0.10);
}

.candidate-main h3{
    margin:0 0 10px;
    font-size:19px;
    font-weight:800;
    color:#111827;
}

.candidate-meta{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    color:#475569;
    font-size:14px;
    margin-bottom:12px;
}

.candidate-skills{
    color:#334155;
    font-weight:600;
    margin-bottom:12px;
}

.candidate-info{
    display:flex;
    gap:16px;
    color:#64748b;
    font-size:14px;
}

.candidate-actions{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:nowrap;
}

/* CHECKBOX LIST */

input[type="checkbox"]{
    width:18px!important;
    height:18px!important;
    min-height:18px!important;
    padding:0!important;
    margin:0!important;
    cursor:pointer;
    accent-color:#dc2626;
}

.select-all-box{
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 16px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#ffffff;
    margin-bottom:16px;
}

.select-all-box label{
    margin:0;
    font-weight:700;
    cursor:pointer;
}

.candidate-select-box{
    max-height:400px;
    overflow-y:auto;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:0;
    background:#ffffff;
}

.candidate-row{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    border-bottom:1px solid #f1f5f9;
    cursor:pointer;
}

.candidate-row:hover{
    background:#f8fafc;
}

.candidate-row span{
    font-size:14px;
    line-height:1.5;
}

/* KANBAN */

.kanban-board{
    display:flex;
    gap:18px;
    overflow-x:auto;
    padding-bottom:20px;
}

.kanban-column{
    min-width:280px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:16px;
}

.kanban-column h3{
    font-size:17px;
    margin-bottom:15px;
    color:#111827;
}

.kanban-card{
    background:white;
    border-radius:14px;
    padding:15px;
    margin-bottom:15px;
    box-shadow:0 5px 16px rgba(0,0,0,0.08);
    border-left:5px solid #dc2626;
}

.kanban-card p{
    margin:6px 0;
    font-size:14px;
}

.kanban-card select{
    margin-top:10px;
}

.kanban-card button{
    width:100%;
}

/* EMPTY STATE */

.empty-state{
    text-align:center!important;
    padding:50px 20px!important;
    color:#64748b;
}

.empty-state div{
    font-size:46px;
    margin-bottom:12px;
}

.empty-state h3{
    margin:0 0 8px;
    color:#111827;
}

/* LOGIN */

.login-body{
    margin:0;
    min-height:100vh;
    background:linear-gradient(135deg,#0f172a,#991b1b);
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:"Segoe UI", Arial, sans-serif;
}

.login-card{
    width:430px;
    background:#ffffff;
    padding:38px;
    border-radius:18px;
    box-shadow:0 25px 70px rgba(0,0,0,0.35);
}

.login-card h1{
    margin:0 0 8px;
    color:#dc2626;
    font-size:34px;
    font-weight:800;
}

.login-card p{
    margin-bottom:22px;
    color:#111827;
    font-size:16px;
}

.login-card label{
    display:block;
    margin:14px 0 6px;
    font-weight:600;
}

.login-card input{
    width:100%;
    height:48px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    padding:12px 14px;
    font-size:15px;
}

.login-card button{
    margin-top:18px;
    height:48px;
    width:100%;
}

.error{
    color:#dc2626!important;
    font-weight:700;
}

/* RESPONSIVE */

@media(max-width:900px){
    .sidebar{
        position:relative;
        width:100%;
        height:auto;
    }

    .main{
        margin-left:0;
        width:100%;
    }

    .form-grid,
    .grid,
    .report-grid{
        grid-template-columns:1fr;
    }

    .page-header,
    .candidate-card{
        flex-direction:column;
        align-items:flex-start;
    }

    .filter-row,
    .search-toolbar{
        flex-direction:column;
    }

    .filter-row input,
    .filter-row button,
    .search-toolbar input,
    .search-toolbar button,
    .search-toolbar a{
        width:100%;
    }

    .candidate-actions{
        flex-wrap:wrap;
    }
}

.sidebar{
    width:265px;
    height:100vh;
    overflow-y:auto;
    overflow-x:hidden;
    position:fixed;
    left:0;
    top:0;
    background:#0f172a;
    padding:22px 16px;
    scrollbar-width:thin;
}

.sidebar a.active-menu{
    background:#dc2626;
    color:#ffffff;
    font-weight:700;
}

.sidebar a.active-menu:hover{
    background:#b91c1c;
}


.sidebar a.active-menu{
    background:#dc2626;
    color:#ffffff;
    font-weight:700;
}

.alert-danger{
    background:#fee2e2;
    border:1px solid #fecaca;
    color:#991b1b;
    padding:15px;
    border-radius:10px;
    margin-bottom:15px;
    font-weight:700;
}

.form{
    height:auto!important;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.full{
    grid-column:1 / -1;
}

.form-actions{
    margin-top:20px;
    display:flex;
    justify-content:flex-start;
}

textarea{
    min-height:70px!important;
}

.card,
.form{
    overflow:visible!important;
}

.upload-section{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.form-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.btn-dark{
    background:#08152f;
    color:#fff;
    padding:12px 20px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.action-cell{
    min-width:620px!important;
}

.interview-actions{
    display:flex;
    gap:8px;
    align-items:center;
    margin-bottom:8px;
    flex-wrap:nowrap;
}

.interview-actions select,
.interview-actions input{
    height:38px;
    min-height:38px;
    padding:6px 10px;
}

.interview-actions button,
.action-cell .btn{
    height:38px;
    margin:0;
}

.interview-action-cell{
    min-width:620px!important;
}

.corporate-action-box{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:12px;
}

.status-row,
.feedback-row{
    display:grid;
    gap:10px;
    margin-bottom:10px;
    align-items:center;
}

.status-row{
    grid-template-columns:1fr 90px;
}

.feedback-row{
    grid-template-columns:100px 120px 130px 1fr 80px;
}

.corporate-action-box select,
.corporate-action-box input{
    height:38px;
    min-height:38px;
    border-radius:9px;
    font-size:13px;
}

.calendar-btn{
    width:100%;
}

.interview-action-cell{
    min-width:680px!important;
}

.ats-action-panel{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:14px;
    box-shadow:0 8px 22px rgba(15,23,42,.08);
}

.ats-action-title{
    font-size:13px;
    font-weight:800;
    color:#475569;
    margin-bottom:10px;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.ats-action-row{
    display:grid;
    grid-template-columns:1fr 100px;
    gap:10px;
    margin-bottom:10px;
}

.ats-action-grid{
    display:grid;
    grid-template-columns:90px 110px 125px 1fr 85px;
    gap:10px;
    margin-bottom:10px;
}

.ats-action-panel select,
.ats-action-panel input{
    height:40px!important;
    min-height:40px!important;
    border-radius:10px;
    font-size:13px;
}

.ats-action-panel button,
.ats-action-panel .btn{
    height:40px!important;
    border-radius:10px;
    font-size:13px;
    margin:0;
}

.ats-full-btn{
    width:100%;
    background:#0f172a!important;
}

.login-page{
    min-height:100vh;
    margin:0;
    background:linear-gradient(135deg,#0f172a,#111827,#7f1d1d);
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:"Segoe UI",Arial,sans-serif;
}

.login-wrapper{
    width:980px;
    min-height:560px;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    background:#ffffff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 30px 80px rgba(0,0,0,.35);
}

.login-left{
    background:linear-gradient(135deg,#0f172a,#1e293b);
    color:#ffffff;
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.brand-box h1{
    font-size:44px;
    margin:0 0 12px;
}

.brand-box span{
    color:#ef4444;
}

.brand-box p{
    color:#cbd5e1;
    font-size:17px;
}

.login-points div{
    background:rgba(255,255,255,.08);
    padding:14px 16px;
    border-radius:12px;
    margin-top:12px;
    font-weight:600;
}

.login-card{
    padding:60px 48px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.login-card h2{
    margin:0 0 8px;
    font-size:30px;
    font-weight:800;
    color:#0f172a;
}

.login-card p{
    margin:0 0 28px;
    color:#64748b;
}

.login-card label{
    margin-top:16px;
    margin-bottom:7px;
    font-weight:700;
    color:#334155;
}

.login-card input{
    height:50px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    padding:0 15px;
    font-size:15px;
}

.login-btn{
    width:100%;
    height:50px;
    margin-top:24px;
    border-radius:12px;
    background:#dc2626;
    color:white;
    font-weight:800;
}

.login-footer{
    margin-top:24px;
    text-align:center;
    color:#94a3b8;
    font-size:13px;
}

@media(max-width:900px){
    .login-wrapper{
        width:94%;
        grid-template-columns:1fr;
    }

    .login-left{
        display:none;
    }
}

.profile-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:22px;
}

.profile-row{
    padding:10px 0;
    border-bottom:1px solid #e5e7eb;
    font-size:15px;
}

.ai-score{
    font-size:48px;
    font-weight:900;
    color:#2563eb;
}

.note-box{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:14px;
    margin-bottom:12px;
}

.action-panel{
    display:flex;
    align-items:center;
    gap:10px;
}

.action-panel select{
    min-width:180px;
    height:40px;
}

.btn-save{
    background:#16a34a;
    color:#fff;
    border:none;
    height:40px;
    padding:0 20px;
    border-radius:8px;
    font-weight:600;
    cursor:pointer;
}

.btn-view{
    background:#2563eb;
    color:#fff;
    border:none;
    height:40px;
    padding:0 20px;
    border-radius:8px;
    text-decoration:none;
}


.client-action-box{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.client-action-box select{
    width:180px;
    min-width:180px;
    height:42px;
    min-height:42px;
}

.client-action-box .btn,
.client-action-box button{
    height:42px;
    min-width:90px;
}

.client-action-box{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:nowrap;
}

.client-action-box select{
    width:190px;
    height:42px;
    min-height:42px;
}

.client-action-box .btn,
.client-action-box button{
    height:42px;
    min-width:92px;
    margin:0;
}

.timeline{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.step{
    padding:10px 18px;
    border-radius:999px;
    background:#e5e7eb;
    font-weight:700;
    color:#334155;
}

.step.done{
    background:#dcfce7;
    color:#166534;
}

.step.active{
    background:#dbeafe;
    color:#1d4ed8;
}

.profile-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:22px;
    margin-bottom:24px;
}

.profile-row{
    padding:10px 0;
    border-bottom:1px solid #eef2f7;
}

.skill-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:12px;
}

.skill-tags span{
    background:#eef2ff;
    color:#1d4ed8;
    padding:8px 12px;
    border-radius:999px;
    font-weight:700;
    font-size:13px;
}

.profile-score-card{
    text-align:center;
}

.score-circle{
    width:130px;
    height:130px;
    border-radius:50%;
    background:#16a34a;
    color:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    font-weight:800;
    margin:20px auto;
}

.note-box{
    border:1px solid #e5e7eb;
    border-left:5px solid #dc2626;
    padding:14px;
    border-radius:12px;
    margin-bottom:12px;
    background:#ffffff;
}

.analytics-bars{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:14px;
}

.analytics-bars div{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:18px;
    text-align:center;
}

.analytics-bars span{
    display:block;
    color:#64748b;
    font-weight:700;
    margin-bottom:8px;
}

.analytics-bars b{
    font-size:28px;
    color:#2563eb;
}

@media (max-width: 900px){

    .sidebar{
        width:100%;
        height:auto;
        position:relative;
    }

    .main,
    .content,
    .page-content{
        margin-left:0 !important;
        width:100% !important;
    }

    .topbar{
        left:0 !important;
        width:100% !important;
    }

    .report-grid,
    .dashboard-grid,
    .profile-grid,
    .form-grid{
        grid-template-columns:1fr !important;
    }

    .table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

    .client-action-box,
    .action-group,
    .form-actions{
        flex-wrap:wrap;
    }

    .btn,
    button,
    select,
    input,
    textarea{
        max-width:100%;
    }
}

@media (max-width: 600px){

    body{
        font-size:14px;
    }

    .card,
    .report-card{
        padding:16px;
        border-radius:14px;
    }

    h1,h2{
        font-size:24px;
    }

    .btn,
    button{
        width:100%;
        margin-bottom:8px;
    }

    .page-header{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }
}

.candidate-photo-header{
    display:flex;
    align-items:center;
    gap:22px;
}

.candidate-avatar{
    width:110px;
    height:110px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #2563eb;
}

.candidate-avatar-placeholder{
    width:110px;
    height:110px;
    border-radius:50%;
    background:#2563eb;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    font-weight:800;
}

.candidate-card{
    display:grid;
    grid-template-columns:64px 1fr auto;
    align-items:center;
    gap:20px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-left:5px solid #dc2626;
    border-radius:18px;
    padding:22px 26px;
    margin-bottom:18px;
    box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.candidate-card:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(15,23,42,.08);
}

.candidate-main h3{
    font-size:20px;
    font-weight:800;
    margin:0 0 4px;
}

.candidate-id{
    font-size:13px;
    color:#64748b;
    margin-bottom:8px;
}

.candidate-meta{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    color:#475569;
    font-size:14px;
    margin-bottom:8px;
}

.candidate-skills{
    font-weight:700;
    color:#0f172a;
    margin-bottom:8px;
}

.candidate-info{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}

.candidate-actions{
    display:flex;
    gap:10px;
    align-items:center;
}

.candidate-actions .btn{
    height:40px;
    min-width:96px;
    border-radius:10px;
    font-weight:800;
}

.candidate-list-photo,
.candidate-list-placeholder{
    width:56px;
    height:56px;
    border-radius:50%;
}

.candidate-list-photo{
    object-fit:cover;
    border:2px solid #e5e7eb;
}

.ai-score-badge{
    background:#ecfdf5;
    color:#047857;
    border:1px solid #bbf7d0;
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
}

.candidate-stats{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
    margin-bottom:24px;
}

.stat-card{
    background:#fff;
    border-radius:16px;
    padding:20px;
    text-align:center;
    border:1px solid #e5e7eb;
}

.stat-card h3{
    font-size:30px;
    margin:0;
    color:#dc2626;
}

.stat-card p{
    margin-top:6px;
    color:#64748b;
}

.candidate-stats{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
    margin:24px 0;
}

.stat-card{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:18px;
    text-align:left;
    box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.stat-card h3{
    font-size:28px;
    color:#dc2626;
    margin:0 0 6px;
}

.stat-card p{
    margin:0;
    color:#64748b;
    font-weight:700;
}

.filter-bar{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr auto;
    gap:12px;
    align-items:center;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:16px;
    margin-bottom:22px;
}

.filter-bar input,
.filter-bar select{
    height:46px;
}

.filter-bar .btn{
    height:46px;
    min-width:110px;
}

.candidate-filter-bar{
    display:grid;
    grid-template-columns:2.2fr 1fr 1fr 1fr 120px;
    gap:14px;
    align-items:center;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px;
    margin:24px 0;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.candidate-filter-bar input,
.candidate-filter-bar select{
    width:100%;
    height:48px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    padding:0 14px;
    font-size:15px;
}

.candidate-filter-bar .btn{
    height:48px;
    border-radius:12px;
}

.candidate-search-pro{
    width:100%;
    display:grid !important;
    grid-template-columns:minmax(350px,2fr) minmax(160px,1fr) minmax(160px,1fr) minmax(160px,1fr) 130px;
    gap:14px;
    align-items:center;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px;
    margin:24px 0;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.candidate-search-pro input,
.candidate-search-pro select{
    width:100% !important;
    min-width:0 !important;
    height:48px !important;
    border:1px solid #cbd5e1;
    border-radius:12px;
    padding:0 14px;
    font-size:15px;
    background:#fff;
}

.candidate-search-pro button{
    height:48px !important;
    border-radius:12px;
}

@media(max-width:1100px){
    .candidate-search-pro{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:700px){
    .candidate-search-pro{
        grid-template-columns:1fr;
    }
}

.candidate-stats{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
    margin:24px 0;
}

.stat-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:20px;
    box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.stat-card h3{
    font-size:30px;
    color:#dc2626;
    margin:0 0 6px;
}

.stat-card p{
    margin:0;
    color:#64748b;
    font-weight:700;
}

.candidate-search-pro{
    width:100%;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr 120px 110px;
    gap:14px;
    align-items:center;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px;
    margin:24px 0;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.candidate-search-pro input,
.candidate-search-pro select{
    width:100%;
    height:48px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    padding:0 14px;
    font-size:15px;
    background:#fff;
}

.candidate-search-pro .btn{
    height:48px;
    border-radius:12px;
}

.candidate-list{
    display:flex;
    flex-direction:column;
    gap:18px;
    width:100%;
}

.candidate-card{
    display:grid;
    grid-template-columns:70px 1fr auto;
    align-items:center;
    gap:22px;
    width:100%;
    background:#fff;
    border:1px solid #e5e7eb;
    border-left:5px solid #dc2626;
    border-radius:18px;
    padding:22px 26px;
    box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.candidate-card:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(15,23,42,.08);
}

.candidate-photo-wrap{
    width:70px;
    display:flex;
    justify-content:center;
}

.candidate-list-photo,
.candidate-list-placeholder{
    width:58px;
    height:58px;
    border-radius:50%;
}

.candidate-list-photo{
    object-fit:cover;
    border:2px solid #e5e7eb;
}

.candidate-list-placeholder{
    background:#2563eb;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:800;
}

.candidate-main h3{
    font-size:20px;
    font-weight:800;
    margin:0 0 4px;
}

.candidate-id{
    font-size:13px;
    color:#64748b;
    margin-bottom:8px;
}

.candidate-meta{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    color:#475569;
    font-size:14px;
    margin-bottom:8px;
}

.candidate-skills{
    font-weight:800;
    color:#0f172a;
    margin-bottom:8px;
}

.candidate-info{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}

.candidate-actions{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:flex-end;
}

.candidate-actions .btn{
    height:40px;
    min-width:95px;
    border-radius:10px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
}

.ai-score-badge{
    background:#ecfdf5;
    color:#047857;
    border:1px solid #bbf7d0;
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
}

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

    .candidate-search-pro{
        grid-template-columns:1fr 1fr;
    }

    .candidate-card{
        grid-template-columns:70px 1fr;
    }

    .candidate-actions{
        grid-column:1 / -1;
        justify-content:flex-start;
    }
}

@media(max-width:700px){
    .candidate-stats,
    .candidate-search-pro{
        grid-template-columns:1fr;
    }

    .candidate-card{
        grid-template-columns:1fr;
        text-align:left;
    }

    .candidate-photo-wrap{
        justify-content:flex-start;
    }
}

.candidate-timeline{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:14px;
}

.timeline-item{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:16px;
    min-height:120px;
}

.timeline-item span{
    width:14px;
    height:14px;
    border-radius:50%;
    background:#cbd5e1;
    display:block;
    margin-bottom:12px;
}

.timeline-item.done span{
    background:#16a34a;
}

.timeline-item.active{
    border-color:#dc2626;
    background:#fff5f5;
}

.timeline-item.active span{
    background:#dc2626;
}

.timeline-item b{
    display:block;
    font-size:14px;
}

.timeline-item p{
    font-size:12px;
    color:#64748b;
    margin-top:6px;
}

.activity-row{
    display:flex;
    gap:15px;
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.activity-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#dc2626;
    margin-top:6px;
}