/* =====================================
AI Recruitment Platform UI
===================================== */


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body{

    font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

    background:#f4f7fb;

    color:#1e293b;

}


/* =====================================
Layout
===================================== */


.wrapper{

    display:flex;

    min-height:100vh;

}



.main-content{

    margin-left:260px;

    width:calc(100% - 260px);

    transition:0.3s;

}





/* =====================================
Sidebar
===================================== */
/* old

.sidebar{

    width:260px;

    height:100vh;

    position:fixed;

    left:0;

    top:0;

    background:#0f172a;

    color:white;

    padding:25px 15px;

}



.sidebar .logo{


    font-size:22px;

    font-weight:600;

    padding:15px;

    margin-bottom:25px;


}


.sidebar ul{

    list-style:none;

    padding:0;

}



.sidebar li{

    margin-bottom:10px;

}



.sidebar a{


    display:flex;

    align-items:center;

    gap:15px;

    padding:13px 18px;

    color:#cbd5e1;

    text-decoration:none;

    border-radius:10px;


}



.sidebar a:hover{


    background:#0f8a5f;

    color:white;

}

*/
/* Legacy white sidebar rules removed: premium sidebar is defined below. */

/* ============================================================
   PREMIUM APPLICATION SHELL
   ============================================================ */

:root{
    --sidebar-width:260px;
    --topbar-height:72px;

    --sidebar-bg:#073f30;
    --sidebar-bg-dark:#052f24;
    --sidebar-hover:rgba(255,255,255,.075);
    --sidebar-active:rgba(255,255,255,.13);

    --sidebar-text:#dcece5;
    --sidebar-muted:#91afa2;
    --sidebar-accent:#8ce0bd;
}


/* ============================================================
   APP WRAPPER
   ============================================================ */

.app-wrapper{
    display:flex;
    width:100%;
    min-height:100vh;
    background:var(--body-bg);
}


/* ============================================================
   SIDEBAR SHELL
   ============================================================ */

aside.sidebar{
    position:fixed;
    top:0;
    left:0;
    bottom:0;

    width:var(--sidebar-width);
    height:100vh;

    margin:0;
    padding:0;

    background:
        linear-gradient(
            180deg,
            #073f30 0%,
            #06392b 52%,
            #052f24 100%
        ) !important;

    border-right:1px solid rgba(255,255,255,.06);

    box-shadow:
        8px 0 30px rgba(5,47,36,.10);

    overflow:hidden;

    z-index:1040;
}


/* ============================================================
   MAIN CONTENT
   ============================================================ */

.main-content{
    width:calc(100% - var(--sidebar-width));
    min-height:100vh;

    margin-left:var(--sidebar-width);

    display:flex;
    flex-direction:column;

    background:var(--body-bg);

    transition:
        margin-left .25s ease,
        width .25s ease;
}


/* Main page area */

.main-content > main{
    flex:1 0 auto;
}


/* ============================================================
   LEGACY SIDEBAR RESET
   ============================================================ */

/*
   Old sidebar classes are no longer used by components/sidebar.html.
   Keep the reset narrow; do not use `all: unset`, which can break
   inherited display, typography and accessibility behaviour.
*/
.sidebar .logo,
.sidebar .sidebar-menu,
.sidebar .sidebar-section-title {
    margin: 0;
    padding: 0;
}

/*
IMPORTANT:
The premium-sidebar classes inside components/sidebar.html
will control the sidebar appearance.
*/

.sidebar .premium-sidebar,
.sidebar .premium-sidebar *,
.sidebar .premium-sidebar *::before,
.sidebar .premium-sidebar *::after{
    box-sizing:border-box;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media(max-width:991.98px){

    aside.sidebar{
        transform:translateX(-100%);
        transition:transform .25s ease;
    }

    aside.sidebar.show{
        transform:translateX(0);
    }

    .main-content{
        width:100%;
        margin-left:0;
    }
}


/* ============================================================
   PREMIUM SIDEBAR COMPONENT
   app/templates/components/sidebar.html
   ============================================================ */

.sidebar,
aside.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #073f30 0%,
            #06392b 50%,
            #052f24 100%
        ) !important;
    color: #ffffff;
    border-right: 1px solid rgba(255,255,255,.06);
    box-shadow: 8px 0 30px rgba(5,47,36,.10);
    z-index: 1040;
}

.sidebar *,
.sidebar *::before,
.sidebar *::after {
    box-sizing: border-box;
}

.premium-sidebar {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 13px 14px;
    overflow: hidden;
}

.premium-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 82px;
    height: 82px;
    flex: 0 0 82px;
    margin: 0;
    padding: 0 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.premium-sidebar-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex: 0 0 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 13px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.15),
            rgba(255,255,255,.06)
        );
    color: #afe9d0;
    font-size: 15px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 6px 16px rgba(0,0,0,.10);
}

.premium-sidebar-logo::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    border: 2px solid #073f30;
    border-radius: 50%;
    background: #72d9ad;
}

.premium-sidebar-logo i {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    line-height: 1 !important;
}

.premium-sidebar-brand-text,
.premium-sidebar-account-text {
    flex: 1 1 auto;
    min-width: 0;
}

.premium-sidebar-title {
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.premium-sidebar-subtitle {
    margin-top: 4px;
    overflow: hidden;
    color: rgba(211,239,227,.54);
    font-size: 8px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .10em;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.premium-sidebar-scroll {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 16px 0 18px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.14) transparent;
}

.premium-sidebar-scroll::-webkit-scrollbar {
    width: 4px;
}

.premium-sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.premium-sidebar-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,255,255,.14);
}

.premium-sidebar-section {
    width: 100%;
    margin: 0 0 8px;
    padding: 0 10px;
    color: rgba(205,237,223,.43);
    font-size: 8px;
    font-weight: 800;
    line-height: 20px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.premium-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.premium-nav > li {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.sidebar .premium-nav-link,
.premium-nav-link {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 46px;
    height: 46px;
    margin: 0 !important;
    padding: 0 10px 0 7px !important;
    overflow: hidden;
    border: 1px solid transparent !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: rgba(225,242,234,.74) !important;
    text-align: left !important;
    text-decoration: none !important;
    line-height: normal !important;
    transition:
        background .17s ease,
        border-color .17s ease,
        color .17s ease,
        transform .17s ease;
}

.sidebar .premium-nav-link:hover,
.premium-nav-link:hover {
    background: rgba(255,255,255,.075) !important;
    border-color: rgba(255,255,255,.055) !important;
    color: #ffffff !important;
    transform: translateX(2px);
}

.premium-nav-link:focus-visible {
    outline: 2px solid rgba(140,224,189,.55);
    outline-offset: -2px;
}

.premium-nav-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    flex: 0 0 34px !important;
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
    border-radius: 9px;
    background: rgba(255,255,255,.045);
    color: rgba(200,234,219,.74);
    line-height: 1 !important;
}

.premium-nav-icon i {
    display: block !important;
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-align: center !important;
}

.premium-nav-label {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: inherit;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: .005em;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sidebar .premium-nav-link.active,
.premium-nav-link.active {
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.16),
            rgba(255,255,255,.075)
        ) !important;
    border-color: rgba(171,232,207,.15) !important;
    color: #ffffff !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 6px 16px rgba(0,0,0,.06);
}

.premium-nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 3px;
    height: 26px;
    border-radius: 0 5px 5px 0;
    background: #8ce0bd;
    box-shadow: 0 0 10px rgba(140,224,189,.35);
}

.premium-nav-link.active .premium-nav-icon {
    background: rgba(174,235,210,.15);
    color: #b8edd7;
}

.premium-ai-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 19px;
    flex: 0 0 auto;
    margin-left: 7px;
    padding: 0 6px;
    border: 1px solid rgba(164,231,203,.17);
    border-radius: 999px;
    background: rgba(139,222,187,.12);
    color: #aae9cf;
    font-size: 7px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.premium-sidebar-divider {
    width: calc(100% - 16px);
    height: 1px;
    margin: 17px 8px 15px;
    background: rgba(255,255,255,.075);
}

.premium-sidebar-account {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 62px;
    flex: 0 0 auto;
    margin: 0;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.075),
            rgba(255,255,255,.04)
        );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.premium-sidebar-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex: 0 0 38px;
    margin-right: 10px;
    border: 1px solid rgba(179,235,212,.13);
    border-radius: 11px;
    background:
        linear-gradient(
            145deg,
            rgba(177,235,212,.18),
            rgba(177,235,212,.08)
        );
    color: #c7f1df;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
}

.premium-sidebar-account-name {
    overflow: hidden;
    color: #ffffff;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.premium-sidebar-account-role {
    margin-top: 3px;
    overflow: hidden;
    color: rgba(211,238,227,.46);
    font-size: 8px;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.premium-sidebar-online {
    width: 7px;
    height: 7px;
    min-width: 7px;
    flex: 0 0 7px;
    margin-left: 8px;
    border-radius: 50%;
    background: #69d6a7;
    box-shadow: 0 0 0 3px rgba(105,214,167,.10);
}

/* Fixed sidebar / content relationship */
.main-content {
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}

/* ============================================================
   PREMIUM SIDEBAR RESPONSIVE
   ============================================================ */

@media (max-width: 991.98px) {
    .sidebar,
    aside.sidebar {
        transform: translateX(-100%);
        transition: transform .25s ease;
    }

    .sidebar.show,
    aside.sidebar.show {
        transform: translateX(0);
    }

    .main-content,
    .sidebar + .main-content {
        width: 100%;
        margin-left: 0;
    }
}


/* =====================================
Navbar
===================================== */


.navbar{


    height:70px;

    background:white;

    padding:0 30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    box-shadow:0 2px 10px rgba(0,0,0,.05);


}



/* ================================
   Dashboard Modern UI
================================ */


.dashboard-wrapper {

padding:10px;

}



.dashboard-top {


display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:35px;


}



.dashboard-top h1 {


font-size:32px;

font-weight:700;

color:#1f2937;


}



.dashboard-top p {

color:#6b7280;

}



.quick-actions {

display:flex;

gap:15px;

}



.btn-primary,
.btn-secondary {


padding:12px 22px;

border-radius:12px;

text-decoration:none;

font-weight:600;

}



.btn-primary {


background:#0f8a5f;

color:white;


}



.btn-secondary {


background:#16a34a;

color:white;


}




/* Cards */


.stats-container {


display:grid;

grid-template-columns:
repeat(4,1fr);

gap:25px;


}



.dashboard-card {


padding:25px;

border-radius:20px;

display:flex;

align-items:center;

gap:20px;

color:white;

box-shadow:
0 10px 25px rgba(0,0,0,.08);

transition:.3s;


}



.dashboard-card:hover {


transform:translateY(-6px);


}



.dashboard-card h2 {


font-size:36px;

margin:0;

font-weight:700;


}



.dashboard-card p {

margin:0;

opacity:.9;

}




.card-icon {


height:65px;

width:65px;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-size:28px;

background:white;

color:#333;


}





.blue-card {


background:
linear-gradient(
135deg,
#0f8a5f,
#43aa7f
);


}



.green-card {


background:
linear-gradient(
135deg,
#16a34a,
#4ade80
);


}



.orange-card {


background:
linear-gradient(
135deg,
#ea580c,
#fb923c
);


}



.purple-card {


background:
linear-gradient(
135deg,
#526d62,
#7f9b8e
);


}




/* Tables */


.dashboard-columns {


display:grid;

grid-template-columns:
repeat(2,1fr);

gap:25px;

margin-top:35px;


}




.content-card {


background:white;

border-radius:20px;

padding:25px;

box-shadow:
0 5px 20px rgba(0,0,0,.06);


}



.card-header-custom {


display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:20px;


}



.card-header-custom h3 {


font-size:20px;

font-weight:700;


}



.card-header-custom a {


text-decoration:none;

color:#0f8a5f;

font-weight:600;


}




.modern-table {


width:100%;

border-collapse:collapse;


}



.modern-table th {


background:#f8fafc;

padding:14px;

color:#64748b;

}



.modern-table td {


padding:15px;

border-bottom:
1px solid #e5e7eb;


}



.modern-table tr:hover {


background:#f8fafc;


}



.user-icon {

color:#0f8a5f;

margin-right:8px;

}


.job-icon {

color:#16a34a;

margin-right:8px;

}





/* Mobile */


@media(max-width:1100px){


.stats-container {


grid-template-columns:
repeat(2,1fr);


}



.dashboard-columns {


grid-template-columns:1fr;


}


}



@media(max-width:700px){


.dashboard-top {


flex-direction:column;

align-items:flex-start;

gap:20px;


}


.stats-container {


grid-template-columns:1fr;


}


}


/* ======================================
Footer
====================================== */


.footer{


height:60px;

background:white;

border-top:1px solid #e5e7eb;

display:flex;

align-items:center;

justify-content:space-between;

padding:0 30px;

font-size:13px;

color:#6b7280;


}





.sidebar-footer{


position:absolute;

bottom:30px;

left:25px;

color:#94a3b8;

font-size:13px;


}



.sidebar-footer i{


margin-right:8px;

color:#38bdf8;


}

/* ==========================================================
    Upload Zone
========================================================== */

.upload-zone{

    border:3px dashed var(--primary);

    border-radius:18px;

    background:white;

    padding:70px 30px;

    text-align:center;

    transition:.35s;

    cursor:pointer;

}

.upload-zone:hover{

    border-color:var(--primary-dark);

    background:#f4f8ff;

    transform:translateY(-3px);

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.upload-zone.dragover{

    background:#edf5ff;

    border-color:#0f8a5f;

    transform:scale(1.01);

}


/* ==========================================================
    Upload Icon
========================================================== */

.upload-icon{

    font-size:70px;

    color:var(--primary);

    animation:float 2.5s infinite ease-in-out;

}


@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0px);

    }

}


/* ==========================================================
    Cards
========================================================== */

.card{

    border:none;

    border-radius:16px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}


.card-header{

    background:white;

    border-bottom:1px solid #edf0f4;

    font-weight:600;

}


/* ==========================================================
    Buttons
========================================================== */

.btn-primary{

    background:#0f8a5f;

    border:none;

}

.btn-primary:hover{

    background:#086846;

}

.btn-success{

    border:none;

}


/* ==========================================================
    Progress
========================================================== */

.progress{

    height:26px;

    border-radius:30px;

    overflow:hidden;

}


.progress-bar{

    font-weight:600;

    font-size:13px;

}


/* ==========================================================
    Table
========================================================== */

.table{

    margin-bottom:0;

}


.table th{

    font-size:14px;

    color:#555;

    text-transform:uppercase;

    letter-spacing:.05rem;

}


.table td{

    vertical-align:middle;

}


/* ==========================================================
    Status Badges
========================================================== */

.badge{

    padding:8px 12px;

    font-weight:500;

    border-radius:20px;

}


/* ==========================================================
    Selected File Card
========================================================== */

#selectedFileCard{

    border-left:5px solid #0f8a5f;

}


/* ==========================================================
    Empty State
========================================================== */

.empty-icon{

    font-size:65px;

    color:#b9bec8;

}


/* ==========================================================
    Animations
========================================================== */

.fade-up{

    animation:fadeUp .5s ease;

}


@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ==========================================================
    File Preview Card
========================================================== */

.file-preview{

    border:1px solid #ececec;

    border-radius:14px;

    padding:18px;

    background:white;

}


.file-preview i{

    font-size:40px;

    color:#0f8a5f;

}


/* ==========================================================
    Upload Statistics
========================================================== */

.upload-stats{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}


.stat-card{

    flex:1;

    background:white;

    border-radius:14px;

    padding:25px;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}


.stat-card h5{

    color:#6b7280;

    font-size:14px;

}


.stat-card h2{

    margin-top:10px;

    font-weight:700;

}


/* ==========================================================
    AI Status
========================================================== */

.ai-status{

    display:flex;

    align-items:center;

    gap:10px;

}


.ai-circle{

    width:12px;

    height:12px;

    border-radius:50%;

}


.pending{

    background:#f59e0b;

}


.success{

    background:#10b981;

}


.failed{

    background:#ef4444;

}


/* ==========================================================
    Responsive
========================================================== */

@media(max-width:992px){

.upload-zone{

padding:45px 20px;

}

.upload-icon{

font-size:50px;

}

}

@media(max-width:768px){

.table{

font-size:13px;

}

.upload-zone h3{

font-size:22px;

}

}

@media(max-width:576px){

.upload-zone{

padding:35px 15px;

}

.btn{

width:100%;

margin-top:10px;

}

}
/* =========================================================
   AI RECRUITMENT PLATFORM
   MODERN ENTERPRISE UI — APPROVED GREEN THEME
========================================================= */

:root {
    --primary: #0f8a5f;
    --primary-hover: #086846;
    --primary-dark: #07543b;
    --primary-soft: #eaf7f1;
    --primary-pale: #f4fbf7;

    --success: #0f8a5f;
    --success-soft: #eaf7f1;

    --warning: #b87916;
    --warning-soft: #fff8e8;

    --danger: #dc2626;
    --danger-soft: #fef2f2;

    --info: #397a67;
    --info-soft: #edf7f3;

    --body-bg: #f5f7f6;
    --surface: #ffffff;

    --border: #e2e8e4;
    --border-light: #edf1ee;

    --text-primary: #17231e;
    --text-secondary: #69756f;
    --text-muted: #8b9791;

    --sidebar-width: 260px;
    --topbar-height: 72px;

    --radius-sm: 7px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 2px rgba(16, 60, 43, 0.04);
    --shadow-md: 0 5px 18px rgba(16, 60, 43, 0.06);
}

/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}


html {
    font-size: 14px;
}


body {

    margin: 0;

    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 13px;

    line-height: 1.55;

    color: var(--text-primary);

    background: var(--body-bg);

    -webkit-font-smoothing: antialiased;
}


a {
    text-decoration: none;
}


.main-content {
    min-height: 100vh;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    color: #101828;

    font-weight: 600;

    letter-spacing: -0.02em;
}


h1 {
    font-size: 24px;
}


h2 {
    font-size: 21px;
}


h3 {
    font-size: 18px;
}


h4 {
    font-size: 16px;
}


h5 {
    font-size: 14px;
}


h6 {
    font-size: 13px;
}


.text-muted {
    color: var(--text-secondary) !important;
}


/* =========================================================
   CONTENT AREA
========================================================= */

.sidebar + .main-content {

    margin-left: var(--sidebar-width);
}


.container-fluid {

    max-width: 1800px;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar,
.top-navbar {

    min-height: 60px;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    box-shadow: none;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 20px;
}


.page-title {

    margin: 0;

    font-size: 21px;

    font-weight: 650;

    color: #101828;

    letter-spacing: -0.4px;
}


.page-subtitle {

    margin-top: 4px;

    margin-bottom: 0;

    font-size: 12px;

    color: var(--text-secondary);
}


/* =========================================================
   CARDS
========================================================= */

.card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.card:hover {

    box-shadow: var(--shadow-md);
}


.card-header {

    padding: 14px 17px;

    background: #ffffff;

    border-bottom: 1px solid var(--border-light);

    font-size: 13px;

    font-weight: 600;
}


.card-body {

    padding: 17px;
}


/* =========================================================
   DASHBOARD METRIC CARDS
========================================================= */

.metric-card {

    position: relative;

    overflow: hidden;

    min-height: 115px;
}


.metric-label {

    font-size: 11px;

    font-weight: 600;

    color: var(--text-secondary);
}


.metric-value {

    margin-top: 6px;

    font-size: 25px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.7px;

    color: #101828;
}


.metric-icon {

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 15px;
}


/* =========================================================
   FORMS
========================================================= */

.form-label {

    margin-bottom: 5px;

    font-size: 11.5px;

    font-weight: 600;

    color: #344054;
}


.form-control,
.form-select {

    min-height: 38px;

    border: 1px solid #d9dee7;

    border-radius: 7px;

    background: #ffffff;

    color: #344054;

    font-size: 12.5px;

    box-shadow: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.form-control:focus,
.form-select:focus {

    border-color: #77b99a;

    box-shadow:
        0 0 0 3px rgba(15, 138, 95, 0.10);
}


.form-control::placeholder {

    color: #98a2b3;
}


textarea.form-control {

    line-height: 1.6;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    min-height: 36px;

    border-radius: 7px;

    padding: 7px 13px;

    font-size: 12px;

    font-weight: 600;

    box-shadow: none;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}


.btn:hover {

    transform: translateY(-1px);
}


.btn-primary {

    background: var(--primary);

    border-color: var(--primary);
}


.btn-primary:hover {

    background: var(--primary-hover);

    border-color: var(--primary-hover);

    box-shadow:
        0 4px 10px rgba(15, 138, 95, 0.16);
}


.btn-sm {

    min-height: 31px;

    padding: 5px 10px;

    font-size: 11px;
}


/* =========================================================
   TABLES
========================================================= */

.table-responsive {

    border-radius: 9px;
}


.table {

    margin-bottom: 0;

    font-size: 11.5px;

    vertical-align: middle;
}


.table thead th {

    padding: 10px 12px;

    border-bottom: 1px solid var(--border);

    background: #f9fafb;

    color: #667085;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.035em;

    text-transform: uppercase;

    white-space: nowrap;
}


.table tbody td {

    padding: 11px 12px;

    border-color: #f0f2f5;

    color: #344054;
}


.table tbody tr {

    transition: background-color 0.15s ease;
}


.table tbody tr:hover {

    background: #fafbfc;
}


/* =========================================================
   BADGES
========================================================= */

.badge {

    padding: 5px 8px;

    border-radius: 6px;

    font-size: 10px;

    font-weight: 600;
}


.status-active {

    background: var(--success-soft);

    color: var(--success);
}


.status-inactive {

    background: #f2f4f7;

    color: #667085;
}


.status-warning {

    background: var(--warning-soft);

    color: var(--warning);
}


/* =========================================================
   SEARCH / FILTER PANEL
========================================================= */

.filter-card {

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 16px;

    margin-bottom: 18px;
}


.filter-title {

    margin-bottom: 13px;

    font-size: 12px;

    font-weight: 650;

    color: #344054;
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination {

    gap: 4px;
}


.page-link {

    min-width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 6px !important;

    border: 1px solid var(--border);

    color: #475467;

    font-size: 11px;

    font-weight: 500;
}


.page-item.active .page-link {

    background: var(--primary);

    border-color: var(--primary);
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown-menu {

    padding: 6px;

    border: 1px solid var(--border);

    border-radius: 9px;

    box-shadow: var(--shadow-md);

    font-size: 12px;
}


.dropdown-item {

    padding: 8px 10px;

    border-radius: 6px;
}


/* =========================================================
   MODAL
========================================================= */

.modal-content {

    border: none;

    border-radius: 12px;

    box-shadow:
        0 20px 50px rgba(16, 24, 40, 0.15);
}


.modal-header {

    padding: 16px 18px;

    border-bottom: 1px solid var(--border);
}


.modal-title {

    font-size: 15px;

    font-weight: 650;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {

    width: 6px;

    height: 6px;
}


::-webkit-scrollbar-track {

    background: transparent;
}


::-webkit-scrollbar-thumb {

    background: #d0d5dd;

    border-radius: 20px;
}


::-webkit-scrollbar-thumb:hover {

    background: #98a2b3;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .sidebar {

        transform: translateX(-100%);

        transition: transform 0.25s ease;
    }


    .sidebar.show {

        transform: translateX(0);
    }


    .sidebar + .main-content {

        margin-left: 0;
    }


    .page-header {

        align-items: flex-start;

        flex-direction: column;
    }

}

/* ============================================================
   FINAL THEME CONSISTENCY GUARD
   Keep this block at the END of style.css.
   ============================================================ */

:root {
    --primary: #0f8a5f;
    --primary-hover: #086846;
    --primary-dark: #07543b;
    --primary-soft: #eaf7f1;
    --primary-pale: #f4fbf7;
    --body-bg: #f5f7f6;
    --surface: #ffffff;
    --border: #e2e8e4;
    --border-light: #edf1ee;
    --text-primary: #17231e;
    --text-secondary: #69756f;
    --text-muted: #8b9791;
    --sidebar-width: 260px;
}

html,
body {
    background: var(--body-bg);
    color: var(--text-primary);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sidebar,
aside.sidebar {
    width: var(--sidebar-width) !important;
    min-width: var(--sidebar-width) !important;
    max-width: var(--sidebar-width) !important;
    background:
        linear-gradient(
            180deg,
            #073f30 0%,
            #06392b 50%,
            #052f24 100%
        ) !important;
}

.main-content,
.sidebar + .main-content {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
}

.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #77b99a !important;
    box-shadow: 0 0 0 3px rgba(15,138,95,.10) !important;
}

@media (max-width: 991.98px) {
    .main-content,
    .sidebar + .main-content {
        width: 100%;
        margin-left: 0;
    }
}



/* ============================================================
   LIGHT GREEN SIDEBAR THEME OVERRIDE
   ============================================================ */
.sidebar,
aside.sidebar {
    background: linear-gradient(180deg,#f6fcf8 0%,#edf8f2 50%,#e4f4eb 100%) !important;
    color:#173f2f !important;
    border-right:1px solid #d3e9dc !important;
    box-shadow:8px 0 30px rgba(20,84,59,.07) !important;
}

.premium-sidebar-brand {
    border-bottom-color:#d9ece2 !important;
}

.premium-sidebar-logo {
    background:linear-gradient(145deg,#0f8a5f,#08704c) !important;
    border-color:#0f8a5f !important;
    color:#fff !important;
    box-shadow:0 7px 16px rgba(15,138,95,.18) !important;
}

.premium-sidebar-logo::after {
    border-color:#f3faf6 !important;
    background:#6fd1a5 !important;
}

.premium-sidebar-title { color:#153f2f !important; }
.premium-sidebar-subtitle { color:#7b9287 !important; }
.premium-sidebar-section { color:#82988e !important; }

.sidebar .premium-nav-link,
.premium-nav-link {
    color:#52675d !important;
}

.premium-nav-icon {
    background:#e6f3ec !important;
    color:#557669 !important;
}

.sidebar .premium-nav-link:hover,
.premium-nav-link:hover {
    background:#dff1e7 !important;
    border-color:#d1e8dc !important;
    color:#07543b !important;
}

.sidebar .premium-nav-link.active,
.premium-nav-link.active {
    background:linear-gradient(90deg,#d3eddf 0%,#e7f6ee 100%) !important;
    border-color:#c3e2d2 !important;
    color:#07543b !important;
    box-shadow:0 5px 14px rgba(15,138,95,.08) !important;
}

.premium-nav-link.active::before {
    background:#0f8a5f !important;
    box-shadow:0 0 9px rgba(15,138,95,.22) !important;
}

.premium-nav-link.active .premium-nav-icon {
    background:#c8e8d6 !important;
    color:#0f8a5f !important;
}

.premium-ai-badge {
    background:#d9f0e4 !important;
    border-color:#bfe0ce !important;
    color:#08704c !important;
}

.premium-sidebar-divider { background:#d7e9df !important; }

.premium-sidebar-account {
    background:rgba(255,255,255,.68) !important;
    border-color:#d2e7dc !important;
    box-shadow:0 4px 14px rgba(20,84,59,.04) !important;
}

.premium-sidebar-avatar {
    background:#dcefe5 !important;
    border-color:#c8e3d5 !important;
    color:#08704c !important;
}

.premium-sidebar-account-name { color:#214638 !important; }
.premium-sidebar-account-role { color:#81948b !important; }
.premium-sidebar-online { background:#28a976 !important; }

.premium-sidebar-scroll {
    scrollbar-color:#bdd7ca transparent !important;
}
.premium-sidebar-scroll::-webkit-scrollbar-thumb {
    background:#bdd7ca !important;
}