
/* GAD Time UI v3.0.0
   Visual-only modernization layer. Built on top of Bootstrap/SB Admin.
*/
:root{
    --gad-black:#111214;
    --gad-black-2:#191a1d;
    --gad-ink:#18191b;
    --gad-muted:#73767c;
    --gad-line:#e7e8ea;
    --gad-soft:#f5f6f7;
    --gad-panel:#ffffff;
    --gad-success:#138a58;
    --gad-danger:#b84141;
    --gad-radius:14px;
    --gad-shadow:0 10px 30px rgba(20,22,25,.055);
}
html,body{min-height:100%;background:#f4f5f6;color:var(--gad-ink)}
body{font-family:Arial,Helvetica,sans-serif;font-size:14px}
a{transition:all .18s ease}
#wrapper{background:#f4f5f6}

/* Top / sidebar shell */
.gad-nav{min-height:72px;border:0;background:#fff;box-shadow:0 1px 0 var(--gad-line);margin:0}
.gad-navbar-header{width:250px;height:72px;background:var(--gad-black);float:left}
.gad-brand{height:72px!important;line-height:72px!important;padding:0 28px!important;color:#fff!important;display:flex;align-items:center;gap:9px}
.gad-brand:hover,.gad-brand:focus{color:#fff!important}
.gad-brand-mark{font-size:27px;font-weight:800;letter-spacing:-1px}
.gad-brand-time{font-size:24px;font-weight:300;color:#d8d9db}
.gad-topbar{height:72px;margin-left:250px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;background:#fff}
.gad-topbar-title{font-size:12px;text-transform:uppercase;letter-spacing:1.6px;color:#93969b;font-weight:700}
.gad-topbar-user{display:flex;align-items:center;gap:11px}
.gad-user-avatar{width:36px;height:36px;border-radius:50%;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.gad-user-copy{display:flex;flex-direction:column;line-height:1.2}
.gad-user-copy strong{font-size:13px;font-weight:700}
.gad-user-copy small{font-size:11px;color:#96999e;margin-top:3px}

.gad-sidebar{position:fixed!important;top:72px!important;bottom:0;left:0;width:250px!important;background:var(--gad-black)!important;border:0!important;margin:0!important;overflow-y:auto}
.gad-sidebar .sidebar-nav{height:100%;position:relative;padding-bottom:90px}
.gad-sidebar .nav>li>a{color:#c7c9cc!important;padding:14px 22px!important;border-left:3px solid transparent;font-weight:600}
.gad-sidebar .nav>li>a i{width:26px;margin-right:7px;font-size:15px;color:#999da2}
.gad-sidebar .nav>li>a:hover,.gad-sidebar .nav>li>a:focus{background:#202226!important;color:#fff!important;border-left-color:#70747a}
.gad-sidebar .nav>li.active>a{background:#26282c!important;color:#fff!important;border-left-color:#fff}
.gad-sidebar .nav>li.active>a i{color:#fff}
.gad-sidebar .nav-second-level{background:#151619}
.gad-sidebar .nav-second-level li a{padding:11px 20px 11px 59px!important;color:#96999e!important;font-size:13px;font-weight:500;border-left:0!important}
.gad-sidebar .nav-second-level li a:hover{background:#1d1f22!important;color:#fff!important}
.gad-sidebar .fa.arrow:before{content:"\f107"}
.gad-nav-divider{height:1px;background:#2a2c30;margin:13px 18px}
.gad-sidebar-footer{position:absolute;left:25px;right:25px;bottom:24px;border-top:1px solid #2a2c30;padding-top:19px;color:#fff}
.gad-sidebar-footer strong{display:block;font-size:17px;letter-spacing:.5px}
.gad-sidebar-footer span{display:block;margin-top:3px;font-size:11px;color:#83868b}

#page-wrapper{margin:0 0 0 250px!important;padding:30px!important;min-height:calc(100vh - 72px)!important;background:#f4f5f6!important;border-left:0!important}

/* General cards / tables / forms */
.panel,.well{border:1px solid var(--gad-line)!important;border-radius:var(--gad-radius)!important;box-shadow:var(--gad-shadow)!important;background:#fff}
.panel-heading{border-radius:var(--gad-radius) var(--gad-radius) 0 0!important}
.form-control{height:44px;border:1px solid #dcdfe3;border-radius:9px;box-shadow:none;padding:10px 13px}
.form-control:focus{border-color:#9da1a7;box-shadow:0 0 0 3px rgba(0,0,0,.045)}
.btn{border-radius:9px;font-weight:700;border:0}
.btn-success,.btn-primary{background:#161719!important;color:#fff!important}
.btn-success:hover,.btn-primary:hover{background:#2a2c2f!important}
.table{background:#fff}
.table>thead>tr>th{border-bottom:1px solid #dfe1e4;color:#777b80;font-size:11px;text-transform:uppercase;letter-spacing:.55px}
.table>tbody>tr>td{vertical-align:middle;border-top:1px solid #eceef0}
.alert{border-radius:10px;border:0}
.select2-container--bootstrap .select2-selection{min-height:44px;border-radius:9px;border-color:#dcdfe3}

/* Dashboard */
body.gad-dashboard #page-wrapper{padding-top:26px!important}
.gad-hero{position:relative;overflow:hidden;min-height:158px;border-radius:18px;background:linear-gradient(115deg,#fff 0%,#f0f1f2 60%,#e8e9eb 100%);border:1px solid #e3e5e7;box-shadow:var(--gad-shadow);padding:30px 34px;display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.gad-hero:before,.gad-hero:after{content:"";position:absolute;right:-40px;top:-130px;width:360px;height:360px;border:1px solid rgba(0,0,0,.06);transform:rotate(32deg)}
.gad-hero:after{right:60px;top:-190px;width:260px;height:420px;background:rgba(0,0,0,.025);border:0}
.gad-hero-copy{position:relative;z-index:2}
.gad-eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:1.6px;color:#7f8287;font-weight:700;margin-bottom:7px}
.gad-hero h1{font-size:38px;line-height:1.04;margin:0 0 9px;font-weight:800;letter-spacing:-1.3px}
.gad-hero p{margin:0;color:#62656a;font-size:15px}
.gad-hero-date{position:relative;z-index:2;min-width:145px;text-align:right}
.gad-hero-date strong{display:block;font-size:22px}
.gad-hero-date span{display:block;color:#7c8085;font-size:12px;margin-top:3px}

.gad-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}
.gad-stat-card{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--gad-line);border-radius:14px;padding:19px 20px;box-shadow:var(--gad-shadow);color:inherit!important;text-decoration:none!important;min-height:105px}
.gad-stat-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(20,22,25,.08);border-color:#d6d8db}
.gad-stat-icon{flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#f1f2f3;display:flex;align-items:center;justify-content:center;font-size:18px}
.gad-stat-copy small{display:block;color:#7b7e83;font-size:12px;margin-bottom:4px}
.gad-stat-copy strong{display:block;font-size:30px;line-height:1;font-weight:800;letter-spacing:-.8px}
.gad-stat-copy span{display:block;margin-top:6px;color:#9a9da1;font-size:11px}

.gad-dashboard-form{background:#fff;border:1px solid var(--gad-line);border-radius:16px;box-shadow:var(--gad-shadow);padding:26px;margin-top:0}
.gad-section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #eceef0}
.gad-section-head h2{margin:0;font-size:22px;font-weight:800;letter-spacing:-.4px}
.gad-section-head p{margin:4px 0 0;color:#85888d;font-size:12px}
.gad-field-label{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:#72767b;margin-bottom:8px;font-weight:700}
body.gad-dashboard label.huge-text{font-size:12px!important;text-transform:uppercase;letter-spacing:.7px;color:#72767b;font-weight:700;margin-bottom:8px}
body.gad-dashboard div.checkbox{margin:6px 0;font-size:13px;line-height:1.25}
body.gad-dashboard div.checkbox label{display:block;border:1px solid #e3e5e7;border-radius:9px;padding:10px 12px;background:#fafafa;cursor:pointer;transition:.15s}
body.gad-dashboard div.checkbox label:hover{background:#f1f2f3;border-color:#d4d7da}
body.gad-dashboard div.checkbox input{margin-top:2px}
body.gad-dashboard #summary{max-width:none;border-collapse:separate;border-spacing:0;border:1px solid #e1e3e5;border-radius:10px;overflow:hidden}
body.gad-dashboard #summary tr td{border:0;border-bottom:1px solid #eceef0;padding:10px 12px;background:#fff}
body.gad-dashboard #summary tr:last-child td{border-bottom:0}
body.gad-dashboard #summary td:first-child{font-weight:700;color:#333}
body.gad-dashboard .delete_item{color:#9b4343}
body.gad-dashboard hr{border-color:#eceef0}
body.gad-dashboard #reload{background:#eceef0!important;color:#333!important}
body.gad-dashboard .btn-lg.btn-success{min-width:130px;padding:12px 22px}

/* Desktop page titles on legacy screens */
#page-wrapper .page-header{border-bottom:1px solid #e5e7e9;margin-top:0;padding-bottom:15px;font-weight:800;letter-spacing:-.6px}

/* Responsive */
@media(max-width:1100px){
    .gad-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
    .gad-navbar-header{width:100%;height:64px}
    .gad-brand{height:64px!important;line-height:64px!important;padding:0 18px!important}
    .gad-brand-mark{font-size:23px}.gad-brand-time{font-size:20px}
    .gad-menu-toggle{margin-top:15px;border-color:#444!important}
    .gad-menu-toggle .icon-bar{background:#fff!important}
    .gad-topbar{display:none}
    .gad-sidebar{position:static!important;top:auto!important;bottom:auto;width:100%!important;max-height:none!important}
    .gad-sidebar .sidebar-nav{padding-bottom:15px}
    .gad-sidebar-footer{display:none}
    #page-wrapper{margin:0!important;padding:18px!important;min-height:calc(100vh - 64px)!important}
    .gad-hero{padding:24px;min-height:145px}
    .gad-hero h1{font-size:30px}
    .gad-hero-date{display:none}
    .gad-stat-grid{grid-template-columns:1fr}
    .gad-dashboard-form{padding:18px}
}


/* v3.0.1 — contrast / typography / density refinements */
.gad-sidebar .nav > li > a,
.gad-sidebar .nav > li > a span,
.gad-sidebar .nav > li > a strong,
.gad-sidebar .nav-second-level li > a,
.gad-sidebar .nav-second-level li > a span{
    color:#c7c9cc !important;
    font-family:Arial,Helvetica,sans-serif !important;
    font-weight:600 !important;
    letter-spacing:0 !important;
    text-shadow:none !important;
}
.gad-sidebar .nav > li.active > a,
.gad-sidebar .nav > li.active > a span,
.gad-sidebar .nav > li > a:hover,
.gad-sidebar .nav > li > a:hover span,
.gad-sidebar .nav > li > a:focus,
.gad-sidebar .nav > li > a:focus span{
    color:#fff !important;
}
.gad-sidebar .nav > li > a{
    font-size:14px !important;
    line-height:1.35 !important;
}
.gad-sidebar .nav-second-level li > a{
    font-size:13px !important;
}
.gad-brand,
.gad-brand-mark,
.gad-brand-time,
.gad-topbar,
.gad-hero,
.gad-stat-card,
.gad-dashboard-form,
#page-wrapper{
    font-family:Arial,Helvetica,sans-serif !important;
}
.gad-hero h1,
.gad-section-head h2,
.gad-stat-copy strong{
    font-family:Arial,Helvetica,sans-serif !important;
    font-stretch:normal !important;
}
.gad-hero h1{
    font-size:36px !important;
    letter-spacing:-1.1px !important;
}
.gad-eyebrow,
.gad-field-label,
body.gad-dashboard label.huge-text{
    font-family:Arial,Helvetica,sans-serif !important;
    letter-spacing:1.2px !important;
}
.gad-topbar-title{
    font-family:Arial,Helvetica,sans-serif !important;
    letter-spacing:1.25px !important;
}
.gad-stat-card{
    padding:18px 18px !important;
}
.gad-stat-copy strong{
    font-size:28px !important;
}
.gad-dashboard-form{
    padding:24px !important;
}
body.gad-dashboard .row{
    margin-left:-8px;
    margin-right:-8px;
}
body.gad-dashboard .row > [class*="col-"]{
    padding-left:8px;
    padding-right:8px;
}


/* v3.0.2 — dashboard proportion / readability refinements */
body.gad-dashboard{
    background:#f3f4f5 !important;
}

.gad-navbar-header,
.gad-sidebar{
    width:220px !important;
}

.gad-topbar{
    margin-left:220px !important;
    height:64px !important;
    padding:0 26px !important;
}

.gad-navbar-header{
    height:64px !important;
}

.gad-brand{
    height:64px !important;
    line-height:64px !important;
    padding:0 22px !important;
}

.gad-brand-mark{font-size:25px !important;}
.gad-brand-time{font-size:21px !important;}

.gad-sidebar{
    top:64px !important;
}

#page-wrapper{
    margin-left:220px !important;
    min-height:calc(100vh - 64px) !important;
    padding:22px 26px 34px !important;
}

body.gad-dashboard #page-wrapper{
    max-width:none !important;
}

.gad-sidebar .nav>li>a{
    padding:12px 18px !important;
    font-size:13px !important;
}

.gad-sidebar .nav>li>a i{
    width:22px !important;
    margin-right:5px !important;
}

.gad-sidebar .nav-second-level li a{
    padding:10px 18px 10px 48px !important;
    font-size:12px !important;
}

.gad-sidebar-footer{
    left:20px !important;
    right:20px !important;
    bottom:20px !important;
}

.gad-topbar-title{
    font-size:11px !important;
    letter-spacing:1.05px !important;
}

.gad-user-avatar{
    width:32px !important;
    height:32px !important;
}

.gad-user-copy strong{font-size:12px !important;}
.gad-user-copy small{font-size:10px !important;}

.gad-hero{
    min-height:126px !important;
    padding:22px 28px !important;
    margin-bottom:16px !important;
    border-radius:14px !important;
}

.gad-eyebrow{
    margin-bottom:5px !important;
    font-size:10px !important;
}

.gad-hero h1{
    font-size:32px !important;
    margin-bottom:6px !important;
}

.gad-hero p{
    font-size:13px !important;
}

.gad-hero-date strong{
    font-size:18px !important;
}

.gad-hero-date span{
    font-size:11px !important;
}

.gad-stat-grid{
    gap:12px !important;
    margin-bottom:16px !important;
}

.gad-stat-card{
    min-height:88px !important;
    padding:14px 16px !important;
    border-radius:12px !important;
}

.gad-stat-icon{
    width:36px !important;
    height:36px !important;
    flex-basis:36px !important;
    font-size:15px !important;
}

.gad-stat-copy small{
    font-size:11px !important;
    margin-bottom:3px !important;
}

.gad-stat-copy strong{
    font-size:24px !important;
}

.gad-stat-copy span{
    font-size:10px !important;
    margin-top:4px !important;
}

.gad-dashboard-form{
    padding:20px 22px 22px !important;
    border-radius:14px !important;
}

.gad-section-head{
    margin-bottom:18px !important;
    padding-bottom:14px !important;
}

.gad-section-head h2{
    font-size:19px !important;
}

.gad-section-head p{
    font-size:11px !important;
}

body.gad-dashboard label.huge-text,
.gad-field-label{
    font-size:10px !important;
    letter-spacing:.9px !important;
}

body.gad-dashboard .form-control,
body.gad-dashboard .select2-container--bootstrap .select2-selection{
    height:40px !important;
    min-height:40px !important;
    font-size:13px !important;
}

body.gad-dashboard .col-md-4:first-of-type{
    width:44% !important;
}

body.gad-dashboard .col-md-4:nth-of-type(2){
    width:24% !important;
}

body.gad-dashboard .col-md-4:nth-of-type(3){
    width:32% !important;
}

body.gad-dashboard .checkbox label{
    font-size:12px !important;
    padding:8px 10px !important;
}

@media(min-width:1500px){
    #page-wrapper{
        padding-left:34px !important;
        padding-right:34px !important;
    }

    .gad-hero,
    .gad-stat-grid,
    .gad-dashboard-form{
        max-width:1420px;
        margin-left:auto;
        margin-right:auto;
    }
}

@media(max-width:767px){
    .gad-navbar-header,
    .gad-sidebar{
        width:100% !important;
    }

    #page-wrapper{
        margin-left:0 !important;
        padding:16px !important;
    }

    body.gad-dashboard .col-md-4:first-of-type,
    body.gad-dashboard .col-md-4:nth-of-type(2),
    body.gad-dashboard .col-md-4:nth-of-type(3){
        width:100% !important;
    }
}


/* v3.0.3 — shell and list-page stabilization */

/* Keep the application shell stable while scrolling */
.gad-nav{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:1100 !important;
    height:64px !important;
    min-height:64px !important;
}
body{
    padding-top:64px !important;
}
.gad-sidebar{
    top:64px !important;
}
#page-wrapper{
    margin-top:0 !important;
}

/* Simpler sidebar: direct navigation, no accidental open submenus */
.gad-sidebar .nav-second-level{display:none !important;}
.gad-sidebar .nav > li > a{
    display:flex !important;
    align-items:center !important;
    min-height:42px !important;
}
.gad-sidebar .nav > li > a span:not(.fa){
    flex:1 1 auto;
}

/* Page heading */
.gad-page-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin:0 0 18px;
    padding:2px 0 18px;
    border-bottom:1px solid #e4e6e8;
}
.gad-page-head h1{
    margin:0;
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:30px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:-.8px;
}
.gad-page-head p{
    margin:7px 0 0;
    color:#7b7f84;
    font-size:12px;
}
.gad-page-kicker{
    margin-bottom:6px;
    color:#96999e;
    font-size:10px;
    font-weight:700;
    letter-spacing:1.1px;
    text-transform:uppercase;
}
.gad-primary-action{
    background:#151719 !important;
    color:#fff !important;
    padding:10px 15px !important;
    border-radius:8px !important;
    font-size:12px !important;
}
.gad-primary-action i{margin-right:6px}

/* List cards */
.gad-list-page #page-wrapper{
    padding-top:24px !important;
}
.gad-list-page .panel{
    overflow:hidden;
    box-shadow:none !important;
    border:1px solid #e2e4e6 !important;
    border-radius:12px !important;
}
.gad-list-page .panel-heading{
    background:#fafafa !important;
    border-bottom:1px solid #e7e9eb !important;
    padding:13px 16px !important;
    font-size:12px !important;
}
.gad-list-page .panel-body{
    padding:16px !important;
}

/* DataTables controls */
.gad-list-page .dataTables_wrapper .row{
    margin-left:0 !important;
    margin-right:0 !important;
}
.gad-list-page .dataTables_length,
.gad-list-page .dataTables_filter{
    font-size:12px;
    color:#666a70;
    margin-bottom:12px;
}
.gad-list-page .dataTables_length select{
    display:inline-block !important;
    width:auto !important;
    min-width:64px !important;
    height:34px !important;
    padding:4px 24px 4px 8px !important;
    margin:0 5px !important;
    border:1px solid #d7dadd !important;
    border-radius:7px !important;
    background:#fff !important;
}
.gad-list-page .dataTables_filter input{
    width:180px !important;
    height:34px !important;
    margin-left:8px !important;
    border:1px solid #d7dadd !important;
    border-radius:7px !important;
    box-shadow:none !important;
}
.gad-list-page .dataTables_info{
    padding-top:12px !important;
    color:#777b80 !important;
    font-size:11px !important;
}
.gad-list-page .pagination{
    margin:10px 0 0 !important;
}
.gad-list-page .pagination > li > a,
.gad-list-page .pagination > li > span{
    color:#555b61 !important;
    border-color:#e0e2e4 !important;
    padding:6px 10px !important;
    font-size:11px !important;
}
.gad-list-page .pagination > .active > a,
.gad-list-page .pagination > .active > span{
    background:#17191b !important;
    border-color:#17191b !important;
    color:#fff !important;
}

/* Tables */
.gad-list-page table.dataTable{
    margin-top:2px !important;
    margin-bottom:0 !important;
    border-collapse:collapse !important;
}
.gad-list-page .table-bordered{
    border:1px solid #e2e4e6 !important;
}
.gad-list-page .table>thead>tr>th{
    padding:10px 9px !important;
    background:#f8f9fa !important;
    color:#666b70 !important;
    border:1px solid #e2e4e6 !important;
    font-size:10px !important;
    font-weight:700 !important;
}
.gad-list-page .table>tbody>tr>td{
    padding:9px !important;
    border:1px solid #e5e7e9 !important;
    font-size:12px !important;
    color:#24272a !important;
}
.gad-list-page .table-striped>tbody>tr:nth-of-type(odd){
    background:#fcfcfc !important;
}
.gad-list-page .table-hover>tbody>tr:hover{
    background:#f4f5f6 !important;
}

/* Status labels */
.gad-status{
    display:inline-flex;
    align-items:center;
    min-width:60px;
    justify-content:center;
    padding:4px 8px;
    border-radius:999px;
    font-size:10px;
    font-weight:700;
}
.gad-status-active{
    background:#edf7f1;
    color:#26724b;
}
.gad-status-passive{
    background:#f0f1f2;
    color:#6e7277;
}

/* Row actions */
.gad-list-page td.center:last-child{
    white-space:nowrap;
}
.gad-list-page td.center form{
    display:inline-block !important;
    margin:0 !important;
}
.gad-action{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    margin:0 2px;
    border:1px solid #dfe2e5 !important;
    border-radius:7px !important;
    background:#fff !important;
    color:#34383c !important;
    font-size:13px !important;
    text-decoration:none !important;
    vertical-align:middle;
}
.gad-action:hover{
    background:#f1f2f3 !important;
    border-color:#cfd3d6 !important;
    color:#111 !important;
}
.gad-action-danger{
    color:#9d3d3d !important;
    cursor:pointer;
}
.gad-action-danger:hover{
    background:#fbf0f0 !important;
    color:#8c2e2e !important;
}

/* Remove legacy oversized action icons even if another page still has fa-2x */
.gad-list-page td.center .fa-2x{
    font-size:14px !important;
}

/* Responsive list pages */
@media(max-width:767px){
    body{padding-top:64px !important;}
    .gad-sidebar{
        position:fixed !important;
        top:64px !important;
        left:0 !important;
        right:0 !important;
        bottom:auto !important;
        width:100% !important;
        z-index:1090 !important;
    }
    .gad-page-head{
        align-items:flex-start;
        flex-direction:column;
    }
    .gad-primary-action{
        width:100%;
        text-align:center;
    }
    .gad-list-page .dataTables_filter{
        text-align:left !important;
    }
    .gad-list-page .dataTables_filter input{
        width:100% !important;
        margin:7px 0 0 !important;
    }
}


/* v3.0.4 — DataTables toolbar visibility + modern timeline */

/* DataTables: deterministic toolbar/footer */
.gad-list-page .panel,
.gad-list-page .panel-body{
    overflow:visible !important;
}
.gad-dt-toolbar,
.gad-dt-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    width:100%;
}
.gad-dt-toolbar{margin:0 0 14px;padding:0}
.gad-dt-footer{margin:14px 0 0;padding:0}
.gad-dt-search,.gad-dt-paging{margin-left:auto}
.gad-dt-toolbar label,
.gad-dt-footer label{
    margin:0 !important;
    font-size:12px !important;
    color:#62676c !important;
    font-weight:500 !important;
}
.gad-dt-length select{
    display:inline-block !important;
    width:auto !important;
    min-width:70px !important;
    height:36px !important;
    margin:0 6px !important;
    padding:5px 24px 5px 9px !important;
    border:1px solid #d6d9dc !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#24272a !important;
}
.gad-dt-search input{
    display:inline-block !important;
    width:210px !important;
    height:36px !important;
    margin-left:8px !important;
    padding:7px 10px !important;
    border:1px solid #d6d9dc !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#24272a !important;
    box-shadow:none !important;
}
.gad-dt-info{
    padding-top:0 !important;
    color:#767a7f !important;
    font-size:11px !important;
}
.gad-dt-paging .pagination{margin:0 !important}

/* Timeline */
.gad-timeline-page #page-wrapper{padding-top:24px !important}
.gad-calendar-card{
    background:#fff;
    border:1px solid #e1e3e5;
    border-radius:14px;
    padding:18px;
    box-shadow:0 8px 24px rgba(20,22,25,.045);
}
.gad-calendar-note{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:2px 2px 15px;
    margin-bottom:14px;
    border-bottom:1px solid #eceef0;
    color:#555a60;
    font-size:12px;
}
.gad-calendar-note span{font-weight:700}
.gad-calendar-note span i{margin-right:7px;font-size:8px;color:#161719}
.gad-calendar-note small{color:#8a8e93;font-size:11px}
.gad-timeline-page .fc{font-family:Arial,Helvetica,sans-serif !important;color:#25282c}
.gad-timeline-page .fc-toolbar{margin-bottom:16px !important}
.gad-timeline-page .fc-toolbar h2{
    font-size:22px !important;
    font-weight:800 !important;
    letter-spacing:-.4px !important;
    color:#17191b !important;
}
.gad-timeline-page .fc-button{
    height:34px !important;
    padding:0 11px !important;
    border:1px solid #d8dadd !important;
    border-radius:7px !important;
    background:#fff !important;
    background-image:none !important;
    color:#4f5459 !important;
    box-shadow:none !important;
    text-shadow:none !important;
    font-size:11px !important;
    font-weight:600 !important;
}
.gad-timeline-page .fc-button:hover{background:#f2f3f4 !important;color:#111 !important}
.gad-timeline-page .fc-button.fc-state-active,
.gad-timeline-page .fc-button.fc-state-down{
    background:#17191b !important;
    border-color:#17191b !important;
    color:#fff !important;
}
.gad-timeline-page .fc-state-disabled{opacity:.45 !important}
.gad-timeline-page .fc-view-container{
    border-radius:10px;
    overflow:hidden;
    border:1px solid #e1e3e5;
}
.gad-timeline-page .fc-unthemed th,
.gad-timeline-page .fc-unthemed td,
.gad-timeline-page .fc-unthemed thead,
.gad-timeline-page .fc-unthemed tbody,
.gad-timeline-page .fc-unthemed .fc-divider,
.gad-timeline-page .fc-unthemed .fc-row,
.gad-timeline-page .fc-unthemed .fc-content,
.gad-timeline-page .fc-unthemed .fc-popover,
.gad-timeline-page .fc-unthemed .fc-list-view,
.gad-timeline-page .fc-unthemed .fc-list-heading td{
    border-color:#e5e7e9 !important;
}
.gad-timeline-page .fc-widget-header{
    background:#f7f8f9 !important;
    color:#666b70 !important;
    font-size:10px !important;
    text-transform:uppercase !important;
    letter-spacing:.7px !important;
    font-weight:700 !important;
}
.gad-timeline-page .fc-day-header{padding:10px 4px !important}
.gad-timeline-page .fc-day-number{
    color:#4e5358 !important;
    font-size:11px !important;
    padding:7px 8px !important;
}
.gad-timeline-page .fc-today{background:#f6f3e7 !important}
.gad-timeline-page .fc-other-month{background:#fafafa !important}
.gad-timeline-page .fc-event{
    position:relative;
    border:0 !important;
    border-radius:6px !important;
    background:#1b1d20 !important;
    color:#fff !important;
    padding:4px 24px 4px 7px !important;
    font-size:11px !important;
    line-height:1.3 !important;
}
.gad-timeline-page .fc-event:hover{background:#2b2e32 !important}
.gad-calendar-delete{
    position:absolute;
    right:4px;
    top:50%;
    transform:translateY(-50%);
    width:20px;
    height:20px;
    padding:0;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    color:#fff;
    font-size:9px;
    line-height:20px;
    z-index:5;
}
.gad-calendar-delete:hover{background:#fff;color:#a33b3b}
.gad-timeline-page .fc-list-heading td{background:#f5f6f7 !important;padding:9px 12px !important}

@media(max-width:767px){
    .gad-dt-toolbar,.gad-dt-footer{flex-direction:column;align-items:stretch}
    .gad-dt-search,.gad-dt-paging{margin-left:0}
    .gad-dt-search input{width:100% !important;margin:7px 0 0 !important}
    .gad-calendar-note{align-items:flex-start;flex-direction:column}
    .gad-timeline-page .fc-toolbar .fc-left,
    .gad-timeline-page .fc-toolbar .fc-center,
    .gad-timeline-page .fc-toolbar .fc-right{
        float:none !important;
        display:block !important;
        width:100%;
        text-align:left;
        margin-bottom:8px;
    }
}


/* v3.0.5 — light modern sidebar + list toolbar visibility */

/* Remove legacy divider artifacts completely */
.gad-nav-divider{
    display:none !important;
}

/* Light architectural navigation */
.gad-navbar-header{
    background:#f7f8f9 !important;
    border-right:1px solid #e2e4e7 !important;
    border-bottom:1px solid #e2e4e7 !important;
}
.gad-brand,
.gad-brand:hover,
.gad-brand:focus{
    color:#15171a !important;
}
.gad-brand-time{
    color:#74787e !important;
}
.gad-sidebar{
    background:#f7f8f9 !important;
    border-right:1px solid #e2e4e7 !important;
    box-shadow:none !important;
}
.gad-sidebar .sidebar-nav{
    padding-top:12px;
}
.gad-sidebar .nav > li{
    margin:3px 10px;
}
.gad-sidebar .nav > li > a{
    min-height:42px !important;
    padding:11px 13px !important;
    border:0 !important;
    border-radius:9px !important;
    background:transparent !important;
    color:#50545a !important;
}
.gad-sidebar .nav > li > a span,
.gad-sidebar .nav > li > a strong{
    color:#50545a !important;
}
.gad-sidebar .nav > li > a i{
    color:#858a90 !important;
}
.gad-sidebar .nav > li > a:hover,
.gad-sidebar .nav > li > a:focus{
    background:#eceef0 !important;
    color:#17191c !important;
}
.gad-sidebar .nav > li > a:hover span,
.gad-sidebar .nav > li > a:focus span,
.gad-sidebar .nav > li > a:hover i,
.gad-sidebar .nav > li > a:focus i{
    color:#17191c !important;
}
.gad-sidebar .nav > li.active > a{
    background:#17191c !important;
    color:#fff !important;
    box-shadow:0 5px 14px rgba(17,19,22,.12);
}
.gad-sidebar .nav > li.active > a span,
.gad-sidebar .nav > li.active > a i{
    color:#fff !important;
}
.gad-sidebar-footer{
    border-top:1px solid #e1e3e5 !important;
    color:#17191c !important;
}
.gad-sidebar-footer span{
    color:#85898f !important;
}

/* Keep the page canvas separate from sidebar */
#page-wrapper{
    border-left:0 !important;
}

/* Projects/Employees: panel heading removed, toolbar gets real top spacing */
.gad-list-page .panel{
    overflow:visible !important;
}
.gad-list-page .panel-body{
    padding:18px !important;
    overflow:visible !important;
}
.gad-list-page .dataTables_wrapper{
    padding-top:2px !important;
    overflow:visible !important;
}
.gad-dt-toolbar{
    position:relative;
    z-index:5;
    min-height:38px;
    margin:0 0 14px !important;
    padding:0 !important;
    overflow:visible !important;
}
.gad-dt-length,
.gad-dt-search{
    position:relative;
    z-index:6;
    overflow:visible !important;
}
.gad-dt-length select,
.gad-dt-search input{
    visibility:visible !important;
    opacity:1 !important;
}

/* Neutralize any old Bootstrap row clipping around the DataTable controls */
.gad-list-page .dataTables_wrapper > .row:first-child{
    display:none !important;
}
.gad-list-page .dataTables_wrapper > .row:last-child{
    display:none !important;
}

/* Slightly softer page background against the light sidebar */
body,
#wrapper,
#page-wrapper{
    background:#f4f5f6 !important;
}

/* Mobile menu uses the same light palette */
@media(max-width:767px){
    .gad-menu-toggle{
        border-color:#d6d9dc !important;
        background:#fff !important;
    }
    .gad-menu-toggle .icon-bar{
        background:#272a2e !important;
    }
    .gad-sidebar{
        background:#f7f8f9 !important;
    }
}


/* v3.1.0 — Administrator analytics dashboard */
.gad-admin-hero{position:relative;min-height:138px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 30px;margin-bottom:16px;border:1px solid #e1e6ed;border-radius:16px;background:radial-gradient(circle at 74% 15%,rgba(59,130,246,.11),transparent 26%),linear-gradient(120deg,#fff 0%,#f8fbff 55%,#eef5ff 100%);box-shadow:0 10px 28px rgba(30,41,59,.045)}
.gad-admin-hero:after{content:"";position:absolute;right:11%;top:-58px;width:260px;height:260px;border:1px solid rgba(59,130,246,.09);transform:rotate(35deg)}
.gad-admin-hero-copy,.gad-admin-hero-date{position:relative;z-index:2}.gad-admin-hero h1{margin:0 0 7px;font-size:32px;line-height:1.05;font-weight:800;letter-spacing:-1px;color:#172033}.gad-admin-hero p{margin:0;color:#718096;font-size:13px}
.gad-admin-hero-date{text-align:right;min-width:135px}.gad-admin-hero-date strong{display:block;color:#172033;font-size:18px}.gad-admin-hero-date span{display:block;margin-top:4px;color:#8993a3;font-size:11px}
.gad-admin-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.gad-admin-kpi{min-width:0;display:flex;align-items:center;gap:14px;padding:17px;border:1px solid #e4e8ed;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(30,41,59,.035);color:#172033!important;text-decoration:none!important}
.gad-admin-kpi:hover{transform:translateY(-2px);border-color:#d6deea;box-shadow:0 12px 28px rgba(30,41,59,.07)}.gad-admin-kpi-icon{flex:0 0 42px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eaf2ff;color:#2f76e8;font-size:18px}
.gad-kpi-green{background:#e9f8f1;color:#16a36d}.gad-kpi-purple{background:#f1ebff;color:#7c4fe0}.gad-kpi-amber{background:#fff3e3;color:#e58a15}
.gad-admin-kpi small{display:block;margin-bottom:2px;color:#758093;font-size:11px}.gad-admin-kpi strong{display:block;font-size:26px;line-height:1.05;font-weight:800;letter-spacing:-.5px}.gad-admin-kpi em{display:block;margin-top:5px;color:#9aa3b0;font-style:normal;font-size:10px}
.gad-admin-chart-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.95fr);gap:16px;margin-bottom:16px}.gad-admin-bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.62fr) minmax(0,1.1fr);gap:16px;margin-bottom:18px}
.gad-admin-card{min-width:0;overflow:hidden;border:1px solid #e4e8ed;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(30,41,59,.035);padding:17px 18px}.gad-admin-card-head{min-height:38px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:7px}
.gad-admin-card-kicker{display:block;margin-bottom:3px;color:#9aa3b0;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.9px}.gad-admin-card h2{margin:0;color:#20293a;font-size:15px;font-weight:800;letter-spacing:-.2px}.gad-admin-card-meta{color:#8b95a4;font-size:10px}
.gad-admin-chart{width:100%;height:265px}.gad-admin-chart-compact{height:225px}
.gad-status-donut-wrap{min-height:215px;display:flex;align-items:center;justify-content:center;gap:10px}.gad-status-donut{flex:0 0 150px;width:150px;height:150px}.gad-status-legend{min-width:95px;display:flex;flex-direction:column;gap:13px}
.gad-status-legend div{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:6px;color:#5f6978;font-size:10px}.gad-status-legend strong{font-size:10px}.gad-status-legend em{color:#20293a;font-style:normal;font-weight:800}
.gad-dot{width:8px;height:8px;border-radius:50%}.gad-dot-active{background:#3b82f6}.gad-dot-passive{background:#dbe2ea}
.gad-recent-table-wrap{overflow:auto}.gad-recent-table{width:100%;border-collapse:collapse}.gad-recent-table th{padding:7px 7px 9px;border-bottom:1px solid #e9edf1;color:#8c96a5;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.gad-recent-table td{padding:9px 7px;border-bottom:1px solid #eef1f4;color:#4f5968;font-size:10px;white-space:nowrap}.gad-recent-table tr:last-child td{border-bottom:0}.gad-recent-table .gad-empty{padding:28px 8px;text-align:center;color:#9aa3b0}
.gad-admin-section-label{display:flex;align-items:baseline;gap:10px;margin:6px 2px 10px}.gad-admin-section-label span{color:#263042;font-size:12px;font-weight:800}.gad-admin-section-label small{color:#98a1ae;font-size:10px}
@media(max-width:1280px){.gad-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.gad-admin-chart-grid{grid-template-columns:1fr}.gad-admin-bottom-grid{grid-template-columns:1fr 1fr}.gad-recent-card{grid-column:1/-1}}
@media(max-width:767px){.gad-admin-hero{min-height:126px;padding:21px}.gad-admin-hero h1{font-size:28px}.gad-admin-hero-date{display:none}.gad-admin-kpis,.gad-admin-bottom-grid{grid-template-columns:1fr}.gad-recent-card{grid-column:auto}.gad-admin-card{padding:15px}.gad-admin-chart,.gad-admin-chart-compact{height:240px}.gad-status-donut-wrap{flex-direction:column}}


/* v3.1.1 — dashboard readability + full-width Time Entry + project analytics */

/* Time Entry uses the full application content width */
body.gad-dashboard .gad-dashboard-form{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
}
@media(min-width:1500px){
    body.gad-dashboard .gad-dashboard-form{
        max-width:none !important;
        width:100% !important;
    }
}

/* Top Projects: extra visual emphasis for chart values */
.gad-admin-chart-grid .highcharts-data-label text{
    font-weight:700 !important;
}

/* Project stats */
.gad-project-stats-page #page-wrapper{
    padding-top:24px !important;
}
.gad-project-stats-head{
    align-items:center !important;
}
.gad-project-head-actions{
    display:flex;
    align-items:center;
    gap:8px;
}
.gad-secondary-action{
    padding:10px 14px !important;
    border:1px solid #dce1e7 !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#4f5968 !important;
    font-size:12px !important;
    font-weight:700 !important;
}
.gad-secondary-action:hover{
    background:#f4f6f8 !important;
    color:#172033 !important;
}

.gad-project-kpis{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin-bottom:16px;
}
.gad-project-kpi{
    min-width:0;
    display:flex;
    align-items:center;
    gap:14px;
    padding:17px;
    border:1px solid #e4e8ed;
    border-radius:14px;
    background:#fff;
    box-shadow:0 7px 22px rgba(30,41,59,.035);
}
.gad-project-kpi-icon{
    flex:0 0 42px;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#eaf2ff;
    color:#2f76e8;
    font-size:18px;
}
.gad-project-kpi small{
    display:block;
    margin-bottom:2px;
    color:#758093;
    font-size:11px;
}
.gad-project-kpi strong{
    display:block;
    color:#172033;
    font-size:25px;
    line-height:1.08;
    font-weight:800;
    letter-spacing:-.5px;
}
.gad-project-kpi em{
    display:block;
    margin-top:5px;
    color:#9aa3b0;
    font-style:normal;
    font-size:10px;
}
.gad-project-kpi .gad-project-date{
    font-size:17px;
    letter-spacing:-.2px;
}
.gad-project-kpi .gad-project-status-value{
    font-size:20px;
}

.gad-project-chart-grid{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr);
    gap:16px;
    margin-bottom:16px;
}
.gad-project-chart{
    width:100%;
    min-height:280px;
}
.gad-project-donut{
    width:100%;
    height:330px;
}

.gad-project-team-card{
    margin-bottom:24px;
}
.gad-project-table-wrap{
    overflow-x:auto;
}
.gad-project-table{
    width:100%;
    border-collapse:collapse;
}
.gad-project-table th{
    padding:9px 10px;
    border-bottom:1px solid #e8ecf0;
    color:#8c96a5;
    font-size:9px;
    font-weight:700;
    text-align:left;
    text-transform:uppercase;
    letter-spacing:.55px;
}
.gad-project-table td{
    padding:11px 10px;
    border-bottom:1px solid #eef1f4;
    color:#4f5968;
    font-size:11px;
    vertical-align:middle;
}
.gad-project-table tbody tr:hover{
    background:#fafbfc;
}
.gad-project-table tbody tr:last-child td{
    border-bottom:0;
}
.gad-project-person{
    display:flex;
    align-items:center;
    gap:9px;
}
.gad-project-person strong{
    color:#303947;
    font-size:11px;
}
.gad-project-avatar{
    width:28px;
    height:28px;
    flex:0 0 28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#edf3ff;
    color:#3977d8;
    font-size:10px;
    font-weight:800;
}
.gad-share-cell{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:170px;
}
.gad-share-track{
    position:relative;
    flex:1 1 auto;
    height:7px;
    overflow:hidden;
    border-radius:999px;
    background:#edf0f3;
}
.gad-share-track span{
    display:block;
    height:100%;
    border-radius:999px;
    background:#3b82f6;
}
.gad-share-cell em{
    min-width:40px;
    color:#66717f;
    font-style:normal;
    font-size:10px;
    font-weight:700;
    text-align:right;
}
.gad-project-table-action{
    width:74px;
    text-align:right !important;
}

@media(max-width:1100px){
    .gad-project-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
    .gad-project-chart-grid{grid-template-columns:1fr}
}
@media(max-width:767px){
    .gad-project-head-actions{
        width:100%;
    }
    .gad-project-head-actions .btn{
        flex:1 1 50%;
    }
    .gad-project-kpis{grid-template-columns:1fr}
    .gad-project-table-action{width:auto}
}


/* v3.1.2 — Project stats KPI row + employee names cleanup */

/* Four project summary metrics in one clean horizontal strip */
.gad-project-kpis-inline{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:0 !important;
    padding:0 !important;
    margin-bottom:16px !important;
    overflow:hidden;
    border:1px solid #e3e8ee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 24px rgba(30,41,59,.035);
}

.gad-project-kpis-inline .gad-project-kpi{
    min-height:92px;
    margin:0 !important;
    padding:16px 18px !important;
    border:0 !important;
    border-right:1px solid #edf0f3 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:#fff !important;
    gap:12px !important;
}

.gad-project-kpis-inline .gad-project-kpi:last-child{
    border-right:0 !important;
}

.gad-project-kpis-inline .gad-project-kpi-icon{
    width:38px !important;
    height:38px !important;
    flex-basis:38px !important;
    border-radius:10px !important;
    font-size:15px !important;
}

.gad-project-kpis-inline .gad-project-kpi small{
    margin-bottom:4px !important;
    color:#8a94a3 !important;
    font-size:9px !important;
    font-weight:700;
    letter-spacing:.55px;
    text-transform:uppercase;
}

.gad-project-kpis-inline .gad-project-kpi strong{
    display:inline-block !important;
    margin-right:6px;
    color:#1b2432 !important;
    font-size:21px !important;
    line-height:1 !important;
    vertical-align:baseline;
}

.gad-project-kpis-inline .gad-project-kpi em{
    display:inline !important;
    margin:0 !important;
    color:#9aa3af !important;
    font-size:9px !important;
    white-space:nowrap;
}

.gad-project-kpis-inline .gad-project-kpi .gad-project-date{
    font-size:17px !important;
}

.gad-project-kpis-inline .gad-project-kpi .gad-project-status-value{
    font-size:17px !important;
}

/* Employee name rows no longer show initial/avatar circles */
.gad-project-person-noavatar{
    gap:0 !important;
}
.gad-project-person-noavatar strong{
    display:block;
    color:#303947;
    font-size:11px;
    line-height:1.35;
}
.gad-project-avatar{
    display:none !important;
}

/* Slightly improve table separation now that avatars are gone */
.gad-project-table td:first-child{
    padding-left:12px !important;
}

@media(max-width:1100px){
    .gad-project-kpis-inline{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
    .gad-project-kpis-inline .gad-project-kpi:nth-child(2){
        border-right:0 !important;
    }
    .gad-project-kpis-inline .gad-project-kpi:nth-child(-n+2){
        border-bottom:1px solid #edf0f3 !important;
    }
}

@media(max-width:767px){
    .gad-project-kpis-inline{
        grid-template-columns:1fr !important;
    }
    .gad-project-kpis-inline .gad-project-kpi{
        border-right:0 !important;
        border-bottom:1px solid #edf0f3 !important;
    }
    .gad-project-kpis-inline .gad-project-kpi:last-child{
        border-bottom:0 !important;
    }
}


/* v3.1.3 — definitive full-width Time Entry + project summary strip */

/* Personal Time Entry spans the complete content canvas */
body.gad-dashboard .gad-admin-section-label,
body.gad-dashboard .gad-dashboard-form{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
}

/* Use all horizontal room inside the form as well */
body.gad-dashboard .gad-dashboard-form > .row:first-of-type{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 280px !important;
    gap:18px !important;
    width:100% !important;
    margin:0 !important;
}
body.gad-dashboard .gad-dashboard-form > .row:first-of-type > [class*="col-"]{
    float:none !important;
    width:auto !important;
    max-width:none !important;
    padding:0 !important;
}
body.gad-dashboard .gad-dashboard-form #get_project,
body.gad-dashboard .gad-dashboard-form .select2-container{
    width:100% !important;
    max-width:none !important;
}
body.gad-dashboard .gad-dashboard-form #get_date{
    width:100% !important;
    max-width:none !important;
}

/* Prevent old large-screen cap from constraining the form */
@media(min-width:1500px){
    body.gad-dashboard #page-wrapper .gad-dashboard-form{
        width:100% !important;
        max-width:none !important;
        margin-left:0 !important;
        margin-right:0 !important;
    }
}

@media(max-width:767px){
    body.gad-dashboard .gad-dashboard-form > .row:first-of-type{
        grid-template-columns:1fr !important;
    }
}

/* Project summary: reinforce horizontal layout globally */
.gad-project-stats-page .gad-project-kpis-inline{
    display:flex !important;
    width:100% !important;
    flex-wrap:nowrap !important;
}
.gad-project-stats-page .gad-project-kpis-inline > .gad-project-kpi{
    flex:1 1 25% !important;
    width:25% !important;
    min-width:0 !important;
}
@media(max-width:1100px){
    .gad-project-stats-page .gad-project-kpis-inline{flex-wrap:wrap !important}
    .gad-project-stats-page .gad-project-kpis-inline > .gad-project-kpi{
        flex:1 1 50% !important;
        width:50% !important;
    }
}
@media(max-width:767px){
    .gad-project-stats-page .gad-project-kpis-inline{display:block !important}
    .gad-project-stats-page .gad-project-kpis-inline > .gad-project-kpi{
        width:100% !important;
    }
}


/* v3.2.0 — Employee project analytics */

.gad-employee-project-stats-page #page-wrapper{
    padding-top:24px !important;
}

.gad-employee-project-head{
    align-items:center !important;
}

.gad-employee-project-kpis{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin-bottom:16px;
}

.gad-employee-project-kpi{
    min-width:0;
    display:flex;
    align-items:center;
    gap:14px;
    padding:17px;
    border:1px solid #e4e8ed;
    border-radius:14px;
    background:#fff;
    box-shadow:0 7px 22px rgba(30,41,59,.035);
}

.gad-employee-project-kpi small{
    display:block;
    margin-bottom:3px;
    color:#7f8997;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.gad-employee-project-kpi strong{
    display:block;
    color:#172033;
    font-size:25px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:-.5px;
}

.gad-employee-project-kpi em{
    display:block;
    margin-top:5px;
    color:#9aa3b0;
    font-size:9px;
    font-style:normal;
}

.gad-entry-range-kpi strong{
    font-size:16px;
    letter-spacing:-.1px;
}

.gad-employee-project-chart-card{
    margin-bottom:16px;
}

.gad-employee-project-chart{
    width:100%;
    height:330px;
}

.gad-employee-project-table-card{
    margin-bottom:24px;
}

.gad-employee-project-table-toolbar{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:14px;
    padding-bottom:14px;
    border-bottom:1px solid #edf0f3;
}

.gad-employee-project-table-toolbar h2{
    margin:0;
    color:#20293a;
    font-size:15px;
    font-weight:800;
}

.gad-stats-filter{
    display:flex;
    align-items:center;
    gap:8px;
}

.gad-stats-filter label{
    margin:0;
    color:#7d8794;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.55px;
}

.gad-stats-filter select{
    height:36px;
    min-width:150px;
    padding:6px 28px 6px 10px;
    border:1px solid #d9dee5;
    border-radius:8px;
    background:#fff;
    color:#404955;
    font-size:11px;
    outline:none;
}

.gad-employee-project-table-wrap{
    overflow-x:auto;
}

.gad-employee-project-table{
    width:100%;
    border-collapse:collapse;
}

.gad-employee-project-table th{
    padding:10px 11px;
    border-bottom:1px solid #e8ecf0;
    color:#8c96a5;
    font-size:9px;
    font-weight:700;
    text-align:left;
    text-transform:uppercase;
    letter-spacing:.55px;
}

.gad-employee-project-table td{
    padding:11px;
    border-bottom:1px solid #eef1f4;
    color:#4f5968;
    font-size:11px;
    vertical-align:middle;
}

.gad-employee-project-table tbody tr:hover{
    background:#fafbfc;
}

.gad-employee-project-table tbody tr:last-child td{
    border-bottom:0;
}

.gad-hours-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:54px;
    padding:5px 9px;
    border-radius:999px;
    background:#eef4ff;
    color:#326fd1;
    font-size:10px;
    font-weight:800;
}

@media(max-width:1100px){
    .gad-employee-project-kpis{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:767px){
    .gad-employee-project-kpis{
        grid-template-columns:1fr;
    }

    .gad-employee-project-table-toolbar{
        align-items:stretch;
        flex-direction:column;
    }

    .gad-stats-filter{
        align-items:stretch;
        flex-direction:column;
    }

    .gad-stats-filter select{
        width:100%;
    }

    .gad-employee-project-chart{
        height:280px;
    }
}


/* v3.2.1 — employee project summary strip + modern Daily Entries */

/* Match project analytics: one joined KPI strip on desktop */
.gad-employee-project-kpis-strip{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:0 !important;
    margin-bottom:16px !important;
    overflow:hidden;
    border:1px solid #e3e8ee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 24px rgba(30,41,59,.035);
}

.gad-employee-project-kpis-strip .gad-employee-project-kpi{
    min-height:94px !important;
    margin:0 !important;
    padding:17px 18px !important;
    border:0 !important;
    border-right:1px solid #edf0f3 !important;
    border-radius:0 !important;
    background:#fff !important;
    box-shadow:none !important;
}

.gad-employee-project-kpis-strip .gad-employee-project-kpi:last-child{
    border-right:0 !important;
}

.gad-employee-project-kpis-strip .gad-project-kpi-icon{
    width:40px !important;
    height:40px !important;
    flex-basis:40px !important;
    border-radius:11px !important;
    font-size:16px !important;
}

.gad-employee-project-kpis-strip .gad-employee-project-kpi small{
    margin-bottom:5px !important;
    font-size:9px !important;
    letter-spacing:.55px !important;
}

.gad-employee-project-kpis-strip .gad-employee-project-kpi strong{
    font-size:22px !important;
}

.gad-employee-project-kpis-strip .gad-entry-range-kpi strong{
    font-size:16px !important;
}

/* Daily Entries modern toolbar */
.gad-entry-toolbar-controls{
    display:flex;
    align-items:flex-end;
    gap:12px;
    margin-left:auto;
}

.gad-entry-search{
    display:flex;
    align-items:center;
    gap:8px;
}

.gad-entry-search label{
    margin:0;
    color:#7d8794;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.55px;
}

.gad-entry-search input{
    width:220px;
    height:36px;
    padding:7px 10px;
    border:1px solid #d9dee5;
    border-radius:8px;
    background:#fff;
    color:#404955;
    font-size:11px;
    outline:none;
}

.gad-entry-search input:focus,
.gad-stats-filter select:focus{
    border-color:#9db7df;
    box-shadow:0 0 0 3px rgba(59,130,246,.08);
}

.gad-entry-summarybar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:-2px 0 10px;
    color:#8c96a5;
    font-size:10px;
}

.gad-entry-summarybar span:first-child{
    color:#596273;
    font-weight:700;
}

.gad-employee-project-table th:nth-child(1){width:24%}
.gad-employee-project-table th:nth-child(2){width:16%}
.gad-employee-project-table th:nth-child(3){width:60%}

.gad-entry-pagination{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    padding-top:14px;
    margin-top:4px;
    border-top:1px solid #eef1f4;
}

.gad-entry-pagination > span{
    min-width:86px;
    color:#7e8794;
    font-size:10px;
    text-align:center;
}

.gad-entry-page-btn{
    height:34px;
    padding:0 12px;
    border:1px solid #dce1e7;
    border-radius:8px;
    background:#fff;
    color:#4f5968;
    font-size:10px;
    font-weight:700;
}

.gad-entry-page-btn:hover:not(:disabled){
    border-color:#c9d1dc;
    background:#f5f7f9;
    color:#172033;
}

.gad-entry-page-btn:disabled{
    opacity:.4;
    cursor:not-allowed;
}

@media(max-width:1100px){
    .gad-employee-project-kpis-strip{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
    .gad-employee-project-kpis-strip .gad-employee-project-kpi:nth-child(2){
        border-right:0 !important;
    }
    .gad-employee-project-kpis-strip .gad-employee-project-kpi:nth-child(-n+2){
        border-bottom:1px solid #edf0f3 !important;
    }
}

@media(max-width:767px){
    .gad-employee-project-kpis-strip{
        grid-template-columns:1fr !important;
    }
    .gad-employee-project-kpis-strip .gad-employee-project-kpi{
        border-right:0 !important;
        border-bottom:1px solid #edf0f3 !important;
    }
    .gad-employee-project-kpis-strip .gad-employee-project-kpi:last-child{
        border-bottom:0 !important;
    }

    .gad-entry-toolbar-controls{
        width:100%;
        margin-left:0;
        align-items:stretch;
        flex-direction:column;
    }

    .gad-entry-search{
        align-items:stretch;
        flex-direction:column;
    }

    .gad-entry-search input{
        width:100%;
    }

    .gad-entry-summarybar{
        align-items:flex-start;
        flex-direction:column;
    }

    .gad-entry-pagination{
        justify-content:space-between;
    }
}


/* v3.3.0 — full-width member dashboard + Time Entry workspace */

/* Member hero and KPI row should use the whole application canvas */
body.gad-dashboard .gad-hero,
body.gad-dashboard .gad-stat-grid,
body.gad-dashboard .gad-dashboard-form,
body.gad-dashboard .gad-admin-section-label{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
}

/* Neutralize the old large-screen content cap */
@media(min-width:1500px){
    body.gad-dashboard .gad-hero,
    body.gad-dashboard .gad-stat-grid,
    body.gad-dashboard .gad-dashboard-form,
    body.gad-dashboard .gad-admin-section-label{
        width:100% !important;
        max-width:none !important;
        margin-left:0 !important;
        margin-right:0 !important;
    }
}

/* Top metadata row: project uses available space, date stays compact */
body.gad-dashboard .gad-time-entry-meta{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 250px !important;
    gap:16px !important;
    width:100% !important;
    margin:0 !important;
    padding-bottom:20px;
}

body.gad-dashboard .gad-time-entry-meta > [class*="col-"]{
    float:none !important;
    width:auto !important;
    padding:0 !important;
}

body.gad-dashboard .gad-time-entry-meta .form-group{
    margin-bottom:0 !important;
}

body.gad-dashboard .gad-time-entry-meta #get_project,
body.gad-dashboard .gad-time-entry-meta #get_date,
body.gad-dashboard .gad-time-entry-meta .select2-container{
    width:100% !important;
    max-width:none !important;
}

body.gad-dashboard .gad-time-entry-meta #get_date{
    height:42px !important;
}

/* Working-hours subheader */
.gad-time-entry-subhead{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    padding:18px 0 14px;
    margin-top:2px;
    border-top:1px solid #edf0f3;
}

.gad-time-entry-subhead h3{
    margin:2px 0 3px;
    color:#20293a;
    font-size:17px;
    font-weight:800;
    letter-spacing:-.2px;
}

.gad-time-entry-subhead p{
    margin:0;
    color:#8a94a3;
    font-size:10px;
}

/* Hours + recorded schedule workspace */
body.gad-dashboard .gad-time-entry-workspace{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(320px,1.15fr) !important;
    gap:14px !important;
    width:100% !important;
    margin:0 !important;
}

body.gad-dashboard .gad-time-entry-workspace > [class*="col-"]{
    float:none !important;
    width:auto !important;
    padding:0 !important;
}

.gad-hour-column{
    min-width:0;
}

.gad-hour-column .form-group{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
    margin:0 !important;
}

body.gad-dashboard .gad-hour-column .checkbox{
    margin:0 !important;
    min-width:0;
}

body.gad-dashboard .gad-hour-column .checkbox label{
    position:relative;
    display:flex !important;
    align-items:center;
    gap:10px;
    min-height:38px;
    padding:8px 11px !important;
    border:1px solid #e1e5e9 !important;
    border-radius:9px !important;
    background:#fafbfc !important;
    color:#374151 !important;
    font-size:11px !important;
    font-weight:600 !important;
    cursor:pointer;
}

body.gad-dashboard .gad-hour-column .checkbox label:hover{
    border-color:#cdd6e2 !important;
    background:#f5f7fa !important;
}

body.gad-dashboard .gad-hour-column .checkbox input{
    position:static !important;
    width:15px;
    height:15px;
    margin:0 !important;
    accent-color:#3b82f6;
}

body.gad-dashboard .gad-hour-column .checkbox input:disabled + *{
    opacity:.55;
}

/* Recorded schedule becomes its own side card */
.gad-schedule-panel{
    min-width:0;
    padding:15px !important;
    border:1px solid #e2e7ec;
    border-radius:12px;
    background:#f8fafc;
    align-self:start;
}

.gad-schedule-panel .gad-field-label{
    display:block;
    margin-bottom:10px !important;
    color:#697586 !important;
}

body.gad-dashboard .gad-schedule-panel #summary{
    width:100% !important;
    max-width:none !important;
    margin:0 0 12px !important;
    border:0 !important;
    border-radius:9px !important;
    overflow:hidden;
    background:#fff;
}

body.gad-dashboard .gad-schedule-panel #summary tr td{
    width:auto !important;
    padding:8px 9px !important;
    border-bottom:1px solid #eef1f4 !important;
    background:#fff !important;
    font-size:10px !important;
}

body.gad-dashboard .gad-schedule-panel #summary tr:last-child td{
    border-bottom:0 !important;
}

body.gad-dashboard .gad-schedule-panel #summary td:first-child{
    width:88px !important;
    color:#596273;
    font-weight:700;
}

body.gad-dashboard .gad-schedule-panel #summary td:last-child{
    width:55px !important;
    text-align:right !important;
}

body.gad-dashboard .gad-schedule-panel .delete_item{
    color:#a74545 !important;
    font-size:9px;
    font-weight:700;
}

.gad-reload-btn{
    height:34px;
    padding:0 11px !important;
    font-size:10px !important;
}

/* Save action */
.gad-save-row{
    grid-column:1 / -1;
    padding:16px 0 0 !important;
    margin-top:2px;
    border-top:1px solid #edf0f3;
}

.gad-save-time{
    min-width:170px !important;
    height:44px !important;
    padding:0 18px !important;
    border-radius:9px !important;
    font-size:12px !important;
}

.gad-save-time i{
    margin-right:6px;
}

@media(max-width:1100px){
    body.gad-dashboard .gad-time-entry-workspace{
        grid-template-columns:1fr 1fr !important;
    }

    .gad-schedule-panel{
        grid-column:1 / -1;
    }
}

@media(max-width:767px){
    body.gad-dashboard .gad-time-entry-meta{
        grid-template-columns:1fr !important;
    }

    body.gad-dashboard .gad-time-entry-workspace{
        grid-template-columns:1fr !important;
    }

    .gad-schedule-panel{
        grid-column:auto;
    }

    .gad-save-time{
        width:100%;
    }
}


/* v3.3.3 — Time Entry structural fix
   Critical: Bootstrap .row :before/:after pseudo-elements were becoming grid items.
*/

/* Kill Bootstrap clearfix pseudo-elements only inside our custom grid rows */
body.gad-dashboard .gad-time-entry-meta::before,
body.gad-dashboard .gad-time-entry-meta::after,
body.gad-dashboard .gad-time-entry-workspace::before,
body.gad-dashboard .gad-time-entry-workspace::after{
    display:none !important;
    content:none !important;
}

/* ---------- Project + Date: exactly one row ---------- */
body.gad-dashboard .gad-dashboard-form .gad-time-entry-meta{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 260px !important;
    gap:16px !important;
    align-items:end !important;
    width:100% !important;
    margin:0 !important;
    padding:0 0 18px !important;
}

body.gad-dashboard .gad-dashboard-form .gad-time-entry-meta > .gad-time-entry-project,
body.gad-dashboard .gad-dashboard-form .gad-time-entry-meta > .gad-time-entry-date{
    display:block !important;
    float:none !important;
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
}

body.gad-dashboard .gad-time-entry-meta .form-group{
    margin:0 !important;
}

body.gad-dashboard .gad-time-entry-meta label.huge-text{
    display:block !important;
    margin:0 0 7px !important;
    color:#6f7885 !important;
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:9px !important;
    font-weight:700 !important;
    line-height:1 !important;
    letter-spacing:.7px !important;
    text-transform:uppercase !important;
}

body.gad-dashboard .gad-time-entry-meta #get_project,
body.gad-dashboard .gad-time-entry-meta #get_date,
body.gad-dashboard .gad-time-entry-meta .select2-container{
    display:block !important;
    width:100% !important;
    max-width:none !important;
}

body.gad-dashboard .gad-time-entry-meta .form-control,
body.gad-dashboard .gad-time-entry-meta .select2-container--bootstrap .select2-selection{
    height:42px !important;
    min-height:42px !important;
    border:1px solid #dce2e8 !important;
    border-radius:9px !important;
    background:#fff !important;
    box-shadow:none !important;
}

/* ---------- Working Hours ---------- */
.gad-time-entry-subhead{
    margin:0 !important;
    padding:18px 0 12px !important;
    border-top:1px solid #edf0f3 !important;
}

.gad-time-entry-subhead h3{
    margin:2px 0 2px !important;
    color:#20293a !important;
    font-size:16px !important;
    font-weight:800 !important;
}

.gad-time-entry-subhead p{
    margin:0 !important;
    color:#8a94a3 !important;
    font-size:10px !important;
}

/* Exact 3-column desktop layout */
body.gad-dashboard .gad-dashboard-form .gad-time-entry-workspace{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(300px,.9fr) !important;
    gap:14px !important;
    align-items:start !important;
    width:100% !important;
    margin:0 !important;
}

body.gad-dashboard .gad-dashboard-form .gad-time-entry-workspace > .gad-hour-column,
body.gad-dashboard .gad-dashboard-form .gad-time-entry-workspace > .gad-schedule-panel,
body.gad-dashboard .gad-dashboard-form .gad-time-entry-workspace > .gad-save-row{
    float:none !important;
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
}

/* Hour columns themselves become coherent cards */
.gad-hour-column{
    position:relative;
    padding:42px 12px 12px !important;
    border:1px solid #e2e7ec !important;
    border-radius:12px !important;
    background:#fbfcfd !important;
}

.gad-hour-column::before{
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:32px;
    display:flex;
    align-items:center;
    padding:0 12px;
    border-bottom:1px solid #e8edf2;
    color:#647082;
    font-size:9px;
    font-weight:700;
    letter-spacing:.65px;
    text-transform:uppercase;
}

.gad-hour-column:nth-child(1)::before{content:"Morning · 08:00 – 16:00";}
.gad-hour-column:nth-child(2)::before{content:"Evening · 16:00 – 00:00";}

.gad-hour-column .form-group{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:7px !important;
    margin:0 !important;
}

body.gad-dashboard .gad-hour-column .checkbox{
    margin:0 !important;
}

body.gad-dashboard .gad-hour-column .checkbox label{
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    min-height:38px !important;
    margin:0 !important;
    padding:8px 10px !important;
    border:1px solid #e2e7ec !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#384252 !important;
    font-size:11px !important;
    font-weight:600 !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
}

body.gad-dashboard .gad-hour-column .checkbox label:hover{
    border-color:#c7d2df !important;
    background:#f7f9fb !important;
}

body.gad-dashboard .gad-hour-column .checkbox input{
    position:static !important;
    flex:0 0 15px !important;
    width:15px !important;
    height:15px !important;
    margin:0 !important;
    accent-color:#3b82f6;
}

/* ---------- Recorded Schedule ---------- */
.gad-schedule-panel{
    padding:0 12px 12px !important;
    overflow:hidden;
    border:1px solid #e2e7ec !important;
    border-radius:12px !important;
    background:#fbfcfd !important;
    line-height:normal !important;
}

.gad-recorded-schedule-head{
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 -12px 10px;
    padding:7px 12px;
    border-bottom:1px solid #e8edf2;
    background:#f7f9fb;
}

.gad-recorded-schedule-head > div{
    min-width:0;
}

.gad-recorded-schedule-head span{
    display:block;
    color:#647082;
    font-size:9px;
    font-weight:700;
    letter-spacing:.65px;
    text-transform:uppercase;
}

.gad-recorded-schedule-head strong{
    display:block;
    margin-top:2px;
    color:#2d3748;
    font-size:10px;
    font-weight:700;
}

.gad-recorded-schedule-head small{
    flex:0 0 auto;
    color:#98a1ad;
    font-size:9px;
}

body.gad-dashboard .gad-schedule-panel #summary{
    width:100% !important;
    max-width:none !important;
    margin:0 0 10px !important;
    border:1px solid #e8edf2 !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    border-radius:8px !important;
    overflow:hidden !important;
    background:#fff !important;
}

body.gad-dashboard .gad-schedule-panel #summary tr td{
    width:auto !important;
    padding:8px 7px !important;
    border:0 !important;
    border-bottom:1px solid #eef1f4 !important;
    background:#fff !important;
    color:#4f5968 !important;
    font-size:10px !important;
    line-height:1.3 !important;
}

body.gad-dashboard .gad-schedule-panel #summary tr:last-child td{
    border-bottom:0 !important;
}

body.gad-dashboard .gad-schedule-panel #summary td:first-child{
    width:84px !important;
    font-weight:700 !important;
}

body.gad-dashboard .gad-schedule-panel #summary td:last-child{
    width:52px !important;
    text-align:right !important;
}

body.gad-dashboard .gad-schedule-panel #summary .gad-empty-schedule td{
    width:auto !important;
    padding:22px 10px !important;
    color:#9aa3af !important;
    font-size:10px !important;
    font-weight:400 !important;
    text-align:center !important;
}

.gad-reload-btn{
    height:32px !important;
    min-width:0 !important;
    padding:0 10px !important;
    font-size:10px !important;
}

/* ---------- Save ---------- */
.gad-save-row{
    grid-column:1 / -1 !important;
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    padding:16px 0 0 !important;
    border-top:1px solid #edf0f3 !important;
}

.gad-save-time{
    min-width:170px !important;
    height:42px !important;
    padding:0 18px !important;
    border-radius:9px !important;
    font-size:12px !important;
}

/* Tablet */
@media(max-width:1100px){
    body.gad-dashboard .gad-dashboard-form .gad-time-entry-workspace{
        grid-template-columns:1fr 1fr !important;
    }

    .gad-schedule-panel{
        grid-column:1 / -1 !important;
    }
}

/* Mobile */
@media(max-width:767px){
    body.gad-dashboard .gad-dashboard-form .gad-time-entry-meta{
        grid-template-columns:1fr !important;
    }

    body.gad-dashboard .gad-dashboard-form .gad-time-entry-workspace{
        grid-template-columns:1fr !important;
    }

    .gad-schedule-panel,
    .gad-save-row{
        grid-column:auto !important;
    }

    .gad-save-row{
        justify-content:stretch !important;
    }

    .gad-save-time{
        width:100% !important;
    }
}


/* =========================================================
   GAD Time UI Stabilization v3.4.0
   Global consistency pass — visual only
   ========================================================= */

/* ---------- Design tokens ---------- */
:root{
    --gad-ui-bg:#f4f5f6;
    --gad-ui-panel:#ffffff;
    --gad-ui-soft:#f8f9fa;
    --gad-ui-border:#e3e7eb;
    --gad-ui-border-strong:#d9dee4;
    --gad-ui-text:#202733;
    --gad-ui-muted:#7f8996;
    --gad-ui-muted-2:#9aa3af;
    --gad-ui-accent:#17191c;
    --gad-ui-blue:#3b82f6;
    --gad-ui-radius:12px;
    --gad-ui-radius-lg:14px;
    --gad-ui-shadow:0 8px 24px rgba(30,41,59,.035);
}

/* ---------- Global typography ---------- */
body,
input,
select,
textarea,
button{
    font-family:Arial,Helvetica,sans-serif !important;
}

body{
    color:var(--gad-ui-text);
    background:var(--gad-ui-bg) !important;
}

/* ---------- Page canvas ---------- */
#page-wrapper{
    background:var(--gad-ui-bg) !important;
}

#page-wrapper > .row:first-child{
    margin-top:0 !important;
}

/* ---------- Page headings ---------- */
.gad-page-head{
    min-height:72px;
    margin-bottom:18px !important;
    padding-bottom:16px !important;
    border-bottom:1px solid var(--gad-ui-border) !important;
}

.gad-page-head h1{
    margin:0 !important;
    color:var(--gad-ui-text) !important;
    font-size:30px !important;
    line-height:1.05 !important;
    font-weight:800 !important;
    letter-spacing:-.7px !important;
}

.gad-page-head p{
    margin:6px 0 0 !important;
    color:var(--gad-ui-muted) !important;
    font-size:11px !important;
    line-height:1.45 !important;
}

.gad-page-kicker,
.gad-admin-card-kicker{
    color:var(--gad-ui-muted-2) !important;
    font-size:9px !important;
    line-height:1 !important;
    font-weight:700 !important;
    letter-spacing:.8px !important;
    text-transform:uppercase !important;
}

/* ---------- Cards ---------- */
.gad-admin-card,
.gad-dashboard-form,
.gad-calendar-card,
.gad-project-kpis-inline,
.gad-employee-project-kpis-strip,
.gad-project-kpi,
.gad-employee-project-kpi{
    border-color:var(--gad-ui-border) !important;
    border-radius:var(--gad-ui-radius-lg) !important;
    box-shadow:var(--gad-ui-shadow) !important;
}

.gad-admin-card{
    padding:17px 18px !important;
}

.gad-admin-card h2{
    color:var(--gad-ui-text) !important;
    font-size:15px !important;
    font-weight:800 !important;
}

/* ---------- Buttons ---------- */
.btn,
.gad-primary-action,
.gad-secondary-action,
.gad-action,
.gad-entry-page-btn{
    transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}

.gad-primary-action,
.btn-primary,
.btn-success{
    border:1px solid var(--gad-ui-accent) !important;
    background:var(--gad-ui-accent) !important;
    color:#fff !important;
    box-shadow:none !important;
}

.gad-primary-action:hover,
.btn-primary:hover,
.btn-success:hover{
    background:#2a2d31 !important;
    border-color:#2a2d31 !important;
    color:#fff !important;
}

.gad-secondary-action{
    border:1px solid var(--gad-ui-border-strong) !important;
    background:#fff !important;
    color:#4f5968 !important;
    box-shadow:none !important;
}

.gad-secondary-action:hover{
    background:#f5f7f9 !important;
    border-color:#cbd2da !important;
    color:#1c2430 !important;
}

.gad-action{
    width:30px !important;
    height:30px !important;
    border-radius:7px !important;
}

/* ---------- Forms ---------- */
.form-control,
.select2-container--bootstrap .select2-selection,
.gad-stats-filter select,
.gad-entry-search input{
    border-color:var(--gad-ui-border-strong) !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#394250 !important;
    box-shadow:none !important;
}

.form-control:focus,
.select2-container--bootstrap.select2-container--focus .select2-selection,
.gad-stats-filter select:focus,
.gad-entry-search input:focus{
    border-color:#9db7df !important;
    box-shadow:0 0 0 3px rgba(59,130,246,.08) !important;
    outline:none !important;
}

label{
    color:#697483;
}

/* ---------- Tables ---------- */
.table,
.gad-project-table,
.gad-employee-project-table,
.gad-recent-table{
    background:#fff;
}

.table>thead>tr>th,
.gad-project-table th,
.gad-employee-project-table th,
.gad-recent-table th{
    color:#858f9c !important;
    font-size:9px !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
    letter-spacing:.5px !important;
}

.table>tbody>tr>td,
.gad-project-table td,
.gad-employee-project-table td,
.gad-recent-table td{
    color:#46505f !important;
    border-color:#edf0f3 !important;
}

.table-hover>tbody>tr:hover,
.gad-project-table tbody tr:hover,
.gad-employee-project-table tbody tr:hover{
    background:#fafbfc !important;
}

/* ---------- Status pills ---------- */
.gad-status{
    min-width:62px !important;
    padding:4px 9px !important;
    font-size:9px !important;
    font-weight:700 !important;
}

.gad-status-active{
    background:#eaf7f0 !important;
    color:#28734d !important;
}

.gad-status-passive{
    background:#f0f2f4 !important;
    color:#69727d !important;
}

/* ---------- Sidebar consistency ---------- */
.gad-sidebar .nav > li{
    margin:3px 10px !important;
}

.gad-sidebar .nav > li > a{
    min-height:42px !important;
    padding:11px 13px !important;
    border-radius:9px !important;
    font-size:12px !important;
}

.gad-sidebar .nav > li > a i{
    font-size:13px !important;
}

.gad-sidebar .nav > li.active > a{
    box-shadow:0 5px 14px rgba(17,19,22,.10) !important;
}

/* ---------- Topbar ---------- */
.gad-topbar{
    border-bottom:1px solid var(--gad-ui-border) !important;
}

.gad-topbar-title{
    color:#9099a5 !important;
    font-size:10px !important;
}

.gad-user-copy strong{
    color:#26303d !important;
}

.gad-user-copy small{
    color:#959eaa !important;
}

/* ---------- Dashboard cards ---------- */
.gad-stat-card,
.gad-admin-kpi{
    border-color:var(--gad-ui-border) !important;
    border-radius:12px !important;
    box-shadow:0 6px 18px rgba(30,41,59,.03) !important;
}

.gad-stat-card:hover,
.gad-admin-kpi:hover{
    transform:translateY(-1px) !important;
    box-shadow:0 10px 24px rgba(30,41,59,.055) !important;
}

/* ---------- Charts ---------- */
.highcharts-container,
.highcharts-root{
    font-family:Arial,Helvetica,sans-serif !important;
}

.highcharts-grid-line{
    stroke:#edf0f3 !important;
}

/* ---------- Filters / toolbars ---------- */
.gad-dt-toolbar,
.gad-dt-footer,
.gad-employee-project-table-toolbar{
    min-height:36px;
}

.gad-dt-toolbar,
.gad-employee-project-table-toolbar{
    margin-bottom:14px !important;
}

/* ---------- Calendar ---------- */
.gad-timeline-page .fc-button{
    border-radius:7px !important;
    box-shadow:none !important;
}

.gad-timeline-page .fc-button.fc-state-active{
    background:var(--gad-ui-accent) !important;
    border-color:var(--gad-ui-accent) !important;
}

/* ---------- Empty states ---------- */
.gad-empty,
.gad-empty-schedule td{
    color:#98a1ad !important;
    font-size:10px !important;
    font-weight:400 !important;
}

/* ---------- Responsive polish ---------- */
@media(max-width:1100px){
    .gad-page-head{
        min-height:auto;
    }
}

@media(max-width:767px){
    #page-wrapper{
        padding:16px !important;
    }

    .gad-page-head{
        gap:12px !important;
        margin-bottom:14px !important;
        padding-bottom:14px !important;
    }

    .gad-page-head h1{
        font-size:25px !important;
    }

    .gad-admin-card{
        padding:15px !important;
    }

    .gad-primary-action,
    .gad-secondary-action{
        min-height:38px;
    }

    .gad-sidebar .nav > li{
        margin:3px 8px !important;
    }
}


/* =========================================================
   Project List Action Buttons v3.4.1
   Modern icon buttons + tooltip polish
   ========================================================= */
.gad-action-group{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    flex-wrap:nowrap !important;
}

.gad-action-form{
    display:inline-flex !important;
    margin:0 !important;
}

.gad-action-btn{
    width:34px !important;
    height:34px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1px solid #dfe4ea !important;
    border-radius:10px !important;
    background:#ffffff !important;
    color:#5b6574 !important;
    text-decoration:none !important;
    box-shadow:0 2px 10px rgba(15,23,42,.03) !important;
    transition:all .16s ease !important;
}

.gad-action-btn i{
    font-size:15px !important;
    line-height:1 !important;
}

.gad-action-btn:hover,
.gad-action-btn:focus{
    transform:translateY(-1px) !important;
    text-decoration:none !important;
    box-shadow:0 8px 18px rgba(15,23,42,.08) !important;
}

.gad-action-btn--edit{
    color:#2563eb !important;
}
.gad-action-btn--edit:hover,
.gad-action-btn--edit:focus{
    background:#eff6ff !important;
    border-color:#bfdbfe !important;
    color:#1d4ed8 !important;
}

.gad-action-btn--delete{
    color:#dc2626 !important;
}
.gad-action-btn--delete:hover,
.gad-action-btn--delete:focus{
    background:#fef2f2 !important;
    border-color:#fecaca !important;
    color:#b91c1c !important;
}

.gad-action-btn--stats{
    color:#7c3aed !important;
}
.gad-action-btn--stats:hover,
.gad-action-btn--stats:focus{
    background:#f5f3ff !important;
    border-color:#ddd6fe !important;
    color:#6d28d9 !important;
}

.gad-action-btn--export{
    color:#059669 !important;
}
.gad-action-btn--export:hover,
.gad-action-btn--export:focus{
    background:#ecfdf5 !important;
    border-color:#a7f3d0 !important;
    color:#047857 !important;
}

.tooltip .tooltip-inner{
    padding:7px 10px !important;
    border-radius:8px !important;
    background:#111827 !important;
    color:#ffffff !important;
    font-size:11px !important;
    font-weight:600 !important;
    letter-spacing:.1px !important;
}
.tooltip.top .tooltip-arrow{
    border-top-color:#111827 !important;
}
.tooltip.bottom .tooltip-arrow{
    border-bottom-color:#111827 !important;
}
.tooltip.left .tooltip-arrow{
    border-left-color:#111827 !important;
}
.tooltip.right .tooltip-arrow{
    border-right-color:#111827 !important;
}

@media (max-width: 767px){
    .gad-action-group{
        gap:6px !important;
    }
    .gad-action-btn{
        width:32px !important;
        height:32px !important;
        border-radius:9px !important;
    }
}
