:root{
    --bg-main:#0a0a0a;
    --bg-surface:#111111;
    --bg-surface-2:#181818;
    --border-color:#2a2a2a;
    --accent:#4FC3F7;
    --text-white:#ffffff;
    --text-muted:#888888;
    --danger:#ef4444;
    --success:#86efac;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Montserrat', sans-serif;
}

html,
body{
    width:100%;
    overflow-x:hidden;
    background:var(--bg-main);
    color:var(--text-white);
    font-size:15px;
}

a{
    color:var(--accent);
    text-decoration:none;
}

/* Forms */
input,
textarea,
select{
    width:100%;
    padding:15px 16px;
    background:var(--bg-main);
    border:1px solid var(--border-color);
    border-radius:12px;
    color:var(--text-white);
    font-size:15px;
    outline:none;
}

input:focus,
textarea:focus,
select:focus{
    border-color:var(--accent);
}

textarea{
    min-height:120px;
    resize:vertical;
}

label{
    display:block;
    margin-bottom:9px;
    color:var(--text-white);
    font-size:14px;
    font-weight:700;
}

.field{
    margin-bottom:22px;
}

.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
}

.hint,
p,
small,
.breadcrumb,
.meta,
.desc,
.empty-text{
    color:var(--text-muted);
}

/* Buttons */
.btn-primary,
button,
.mini-btn{
    background:var(--accent);
    color:#000;
    border:none;
    cursor:pointer;
    font-weight:800;
}

.btn-primary{
    display:inline-block;
    padding:13px 18px;
    border-radius:12px;
}

.btn-secondary{
    padding:14px 20px;
    background:var(--bg-surface-2);
    border:1px solid var(--border-color);
    color:white;
    border-radius:12px;
    font-weight:700;
}

.actions{
    display:flex;
    justify-content:flex-end;
    gap:15px;
    margin-top:30px;
    padding-top:24px;
    border-top:1px solid var(--border-color);
}

/* Header / Generic pages */
.header{
    height:76px;
    background:var(--bg-surface);
    border-bottom:1px solid var(--border-color);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 40px;
}

.brand{
    font-size:22px;
    font-weight:800;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:16px;
}

.back-link,
.logout{
    font-size:14px;
    font-weight:700;
}

.logout{
    color:var(--danger);
}

.page{
    padding:45px 40px;
}

.page-header{
    margin-bottom:32px;
}

.page-header h1{
    font-size:42px;
    line-height:1.1;
    margin-bottom:12px;
    font-weight:800;
}

.form-card{
    max-width:950px;
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    border-radius:18px;
    padding:32px;
}

.section-title{
    font-size:18px;
    font-weight:800;
    margin-bottom:22px;
    padding-bottom:14px;
    border-bottom:1px solid var(--border-color);
}

.error,
.error-box{
    background:#7f1d1d;
    color:#fecaca;
    padding:14px 16px;
    border-radius:12px;
    margin-bottom:22px;
    border:1px solid #991b1b;
}

/* Admin table pages */
.clients-wrapper{
    padding:45px 40px;
}

.clients-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:32px;
}

.clients-header h1{
    font-size:42px;
    font-weight:800;
    margin-top:12px;
}

.clients-header p{
    color:var(--text-muted);
    margin-top:8px;
}

.table-card{
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    border-radius:18px;
    overflow:hidden;
}

table{
    width:100%;
    border-collapse:collapse;
}

th{
    background:var(--bg-surface-2);
    color:var(--text-muted);
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:0.04em;
    padding:18px 20px;
    text-align:left;
}

td{
    padding:20px;
    border-top:1px solid var(--border-color);
    color:var(--text-white);
    vertical-align:middle;
}

tr:hover td{
    background:#151515;
}

.status{
    display:inline-flex;
    align-items:center;
    padding:7px 12px;
    border-radius:999px;
    background:rgba(34,197,94,0.12);
    color:var(--success);
    font-size:13px;
    font-weight:700;
}

.inactive{
    background:rgba(239,68,68,0.12);
    color:#fecaca;
}

.table-actions{
    display:flex;
    gap:14px;
    align-items:center;
}

.action-link{
    color:var(--accent);
    font-weight:700;
}

.danger-link{
    color:var(--danger);
    font-weight:700;
}

/* Auth login */
.auth-body{
    min-height:100vh;
    display:flex;
}

.auth-left{
    width:55%;
    min-height:100vh;
    background:
        radial-gradient(circle at top left, rgba(79,195,247,0.18), transparent 35%),
        linear-gradient(135deg, var(--bg-main), var(--bg-surface));
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border-right:1px solid var(--border-color);
}

.auth-brand{
    font-size:24px;
    font-weight:800;
}

.auth-hero{
    max-width:650px;
}

.auth-badge{
    display:inline-block;
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    color:var(--accent);
    padding:8px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    margin-bottom:24px;
}

.auth-hero h1{
    font-size:54px;
    line-height:1.05;
    margin-bottom:22px;
    font-weight:800;
}

.auth-hero p{
    color:var(--text-muted);
    font-size:17px;
    line-height:1.7;
}

.auth-features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-top:36px;
}

.auth-feature{
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    padding:18px;
    border-radius:16px;
}

.auth-feature strong{
    display:block;
    margin-bottom:8px;
}

.auth-feature span{
    color:var(--text-muted);
    font-size:13px;
    line-height:1.5;
}

.auth-footer{
    color:var(--text-muted);
    font-size:14px;
}

.auth-right{
    width:45%;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
}

.auth-card{
    width:100%;
    max-width:430px;
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    border-radius:22px;
    padding:36px;
    box-shadow:0 30px 80px rgba(0,0,0,0.35);
}

.auth-card h2{
    font-size:30px;
    margin-bottom:8px;
    font-weight:800;
}

.auth-card p{
    margin-bottom:28px;
}

.auth-btn{
    width:100%;
    padding:15px;
    border-radius:12px;
    font-size:15px;
}

.auth-helper{
    margin-top:22px;
    padding-top:22px;
    border-top:1px solid var(--border-color);
    color:var(--text-muted);
    font-size:13px;
    line-height:1.6;
}

.auth-helper strong{
    color:white;
}

/* Sidebar */
.sidebar{
    position:fixed;
    left:0;
    top:0;
    width:320px;
    height:100vh;
    background:var(--bg-surface);
    border-right:1px solid var(--border-color);
    padding:32px 26px;
    z-index:100;
}

.sidebar-logo{
    font-size:28px;
    font-weight:800;
    margin-bottom:42px;
}

.sidebar-menu{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.sidebar-menu a{
    display:flex;
    align-items:center;
    padding:16px 18px;
    border-radius:12px;
    color:var(--text-muted);
    font-weight:800;
    transition:0.3s ease;
}

.sidebar-menu a:hover{
    background:var(--bg-surface-2);
    color:white;
}

.sidebar-menu a.active{
    background:var(--accent);
    color:#000;
}

/* Main dashboard layout */
.main{
    margin-left:320px;
    min-height:100vh;
    background:var(--bg-main);
    overflow-x:hidden;
}

.topbar{
    min-height:110px;
    border-bottom:1px solid var(--border-color);
    background:var(--bg-surface);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:22px 46px;
}

.topbar-left h1{
    font-size:46px;
    font-weight:800;
    line-height:1;
    margin-top:10px;
}

.back-btn{
    color:var(--accent);
    font-weight:600;
}

.breadcrumb{
    margin-top:12px;
    font-size:15px;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:22px;
    position:relative;
}

.notification-wrapper{
    position:relative;
}

.notification-btn{
    width:48px;
    height:48px;
    border-radius:12px;
    border:1px solid var(--border-color);
    background:var(--bg-surface);
    color:white;
    cursor:pointer;
    position:relative;
    font-size:18px;
}

.notification-count{
    position:absolute;
    top:-6px;
    right:-6px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--danger);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:700;
}

.notification-panel{
    display:none;
    position:absolute;
    top:70px;
    right:0;
    width:360px;
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    border-radius:20px;
    padding:22px;
    z-index:9999;
    box-shadow:0 20px 60px rgba(0,0,0,0.45);
}

.notification-panel h3{
    margin-bottom:20px;
    font-size:26px;
}

.notification-item{
    padding-bottom:16px;
    margin-bottom:16px;
    border-bottom:1px solid var(--border-color);
}

.notification-item strong{
    display:block;
    margin-bottom:10px;
}

.notification-item p{
    line-height:1.6;
}

.profile{
    display:flex;
    align-items:center;
    gap:14px;
}

.profile img{
    width:54px;
    height:54px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid var(--border-color);
}

.profile small{
    display:block;
    margin-top:4px;
}

.dashboard-content{
    padding:46px 56px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:28px;
    align-items:stretch;
}

.card{
    min-height:230px;
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    border-radius:20px;
    padding:30px;
    transition:0.3s ease;
}

.card:hover{
    transform:translateY(-6px);
    border-color:var(--accent);
    box-shadow:0 0 30px rgba(79,195,247,0.12);
}

.card h3{
    font-size:22px;
    margin-bottom:16px;
}

.card p{
    line-height:1.7;
}

.card-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:20px;
}

.mini-btn{
    padding:10px 14px;
    border-radius:10px;
    font-size:13px;
    white-space:nowrap;
}

.item-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.mini-item{
    background:var(--bg-main);
    border:1px solid var(--border-color);
    border-radius:14px;
    padding:16px;
}

.item-title{
    font-weight:800;
    margin-bottom:8px;
}

.item-meta{
    color:var(--text-muted);
    font-size:14px;
    margin-bottom:10px;
}

.item-desc{
    color:#cccccc;
    line-height:1.6;
    font-size:14px;
    margin-bottom:14px;
}

.item-actions{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

/* Responsive */
@media(max-width:1100px){
    .sidebar{
        display:none;
    }

    .main{
        margin-left:0;
    }

    .topbar{
        padding:20px;
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

    .topbar-right{
        width:100%;
        justify-content:space-between;
    }

    .dashboard-content{
        padding:28px 20px;
    }

    .cards{
        grid-template-columns:1fr;
    }
}

@media(max-width:950px){
    .auth-body{
        display:block;
    }

    .auth-left,
    .auth-right{
        width:100%;
        min-height:auto;
    }

    .auth-left{
        padding:40px 24px;
    }

    .auth-hero h1{
        font-size:38px;
    }

    .auth-features{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){
    .grid{
        grid-template-columns:1fr;
    }

    .clients-header{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

    .table-card{
        overflow-x:auto;
    }

    table{
        min-width:850px;
    }
}

.page-section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    margin-bottom:32px;
}

.page-section-header h2{
    font-size:32px;
    font-weight:800;
    margin-bottom:8px;
}

.page-section-header p{
    color:var(--text-muted);
}

.empty-state{
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    border-radius:20px;
    padding:40px;
    max-width:600px;
}

.empty-state h3{
    font-size:24px;
    margin-bottom:10px;
}

.empty-state p{
    color:var(--text-muted);
    margin-bottom:24px;
}

.page-section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    margin-bottom:32px;
}

.page-section-header .btn-primary{
    white-space:nowrap;
}

/* ===== SETTINGS PAGE ===== */

.settings-wrapper{
    padding:40px 48px;
}

.settings-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:24px;
    padding:36px;
    max-width:1150px;
}

.settings-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.settings-field{
    margin-bottom:24px;
}

.settings-field.full{
    grid-column:1 / -1;
}

.settings-field label{
    display:block;
    margin-bottom:10px;
    font-size:15px;
    font-weight:700;
    color:#ffffff;
}

.settings-field input,
.settings-field textarea,
.settings-field select{
    width:100%;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:16px 18px;
    color:#ffffff;
    font-size:15px;
    transition:0.3s ease;
}

.settings-field textarea{
    min-height:160px;
    resize:vertical;
}

.settings-field input:focus,
.settings-field textarea:focus,
.settings-field select:focus{
    border-color:#4FC3F7;
    box-shadow:0 0 0 4px rgba(79,195,247,0.08);
    outline:none;
}

.settings-actions{
    margin-top:30px;
    display:flex;
    justify-content:flex-end;
}

.save-btn{
    background:#4FC3F7;
    color:#000000;
    border:none;
    padding:16px 28px;
    border-radius:14px;
    font-weight:800;
    font-size:15px;
    cursor:pointer;
    transition:0.3s ease;
}

.save-btn:hover{
    transform:translateY(-2px);
    opacity:0.95;
}

@media(max-width:900px){

    .settings-grid{
        grid-template-columns:1fr;
    }

    .settings-wrapper{
        padding:24px;
    }

    .settings-card{
        padding:24px;
    }

}

.viewer-card{
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    border-radius:22px;
    overflow:hidden;
    min-height:75vh;
}

.viewer-card iframe{
    width:100%;
    height:75vh;
    border:none;
    background:#ffffff;
}

/* ===== CLIENT PORTAL ===== */

.client-layout{
    display:flex;
    min-height:100vh;
    background:#0a0a0a;
}

.client-sidebar{
    width:280px;
    background:#111111;
    border-right:1px solid #2a2a2a;
    padding:32px 24px;
}

.client-logo{
    font-size:28px;
    font-weight:800;
    margin-bottom:40px;
}

.client-menu{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.client-menu a{
    padding:14px 18px;
    border-radius:14px;
    text-decoration:none;
    color:#888888;
    font-weight:700;
    transition:0.3s ease;
}

.client-menu a:hover{
    background:#181818;
    color:#ffffff;
}

.client-menu a.active{
    background:#4FC3F7;
    color:#000000;
}

.logout-link{
    margin-top:30px;
    color:#ef4444 !important;
}

.client-main{
    flex:1;
    padding:40px;
}

.client-topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.client-topbar h1{
    font-size:42px;
    margin-bottom:10px;
}

.client-topbar p{
    color:#888888;
}

.client-profile{
    display:flex;
    align-items:center;
    gap:14px;
}

.client-profile img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #2a2a2a;
}

.client-profile small{
    display:block;
    margin-top:5px;
    color:#888888;
}

.client-stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:24px;
}

.client-stat-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:22px;
    padding:28px;
    text-decoration:none;
    transition:0.3s ease;
}

.client-stat-card:hover{
    transform:translateY(-4px);
    border-color:#4FC3F7;
}

.client-stat-number{
    font-size:52px;
    font-weight:800;
    color:#4FC3F7;
    margin-bottom:18px;
}

.client-stat-card h3{
    font-size:24px;
    color:#ffffff;
    margin-bottom:12px;
}

.client-stat-card p{
    color:#888888;
    line-height:1.7;
}

@media(max-width:900px){

    .client-layout{
        display:block;
    }

    .client-sidebar{
        width:100%;
        border-right:none;
        border-bottom:1px solid #2a2a2a;
    }

    .client-topbar{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

    .client-main{
        padding:24px;
    }

}

/* ===== ADMIN HOME ===== */

.admin-home{
    min-height:100vh;
    background:var(--bg-main);
    padding:36px 48px;
}

.admin-home-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    border-radius:22px;
    padding:24px 28px;
    margin-bottom:44px;
}

.admin-brand{
    font-size:28px;
    font-weight:800;
}

.admin-home-header p{
    color:var(--text-muted);
    margin-top:6px;
}

.admin-user{
    display:flex;
    align-items:center;
    gap:18px;
}

.role-badge{
    background:var(--bg-surface-2);
    border:1px solid var(--border-color);
    color:var(--accent);
    padding:8px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
}

.admin-hero{
    margin-bottom:36px;
}

.admin-hero h1{
    font-size:56px;
    font-weight:800;
    margin-bottom:12px;
}

.admin-hero p{
    color:var(--text-muted);
    font-size:17px;
    max-width:760px;
    line-height:1.7;
}

.admin-stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:24px;
    margin-bottom:36px;
}

.admin-stat-card{
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    border-radius:22px;
    padding:30px;
    transition:0.3s ease;
}

.admin-stat-card:hover{
    transform:translateY(-5px);
    border-color:var(--accent);
    box-shadow:0 0 30px rgba(79,195,247,0.10);
}

.admin-count{
    font-size:54px;
    font-weight:800;
    color:var(--accent);
    margin-bottom:18px;
}

.admin-stat-card h3{
    font-size:24px;
    color:white;
    margin-bottom:12px;
}

.admin-stat-card p{
    color:var(--text-muted);
    line-height:1.7;
}

.quick-actions-card{
    background:var(--bg-surface);
    border:1px solid var(--border-color);
    border-radius:22px;
    padding:30px;
}

.quick-actions-card h2{
    font-size:26px;
    margin-bottom:20px;
}

.quick-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.quick-btn{
    background:var(--bg-surface-2);
    border:1px solid var(--border-color);
    color:white;
    padding:13px 18px;
    border-radius:12px;
    font-weight:800;
    transition:0.3s ease;
}

.quick-btn:hover{
    border-color:var(--accent);
    color:var(--accent);
}

@media(max-width:768px){
    .admin-home{
        padding:24px;
    }

    .admin-home-header{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

    .admin-user{
        flex-wrap:wrap;
    }

    .admin-hero h1{
        font-size:40px;
    }
}

/* ===== LANDING PAGE ===== */

.landing-page{
    background:#0a0a0a;
    min-height:100vh;
    color:white;
}

.landing-header{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 60px;
    border-bottom:1px solid #2a2a2a;
    background:#111111;
    position:sticky;
    top:0;
    z-index:100;
}

.landing-logo{
    font-size:28px;
    font-weight:800;
}

.landing-menu{
    display:flex;
    align-items:center;
    gap:34px;
}

.landing-menu a{
    color:#888888;
    text-decoration:none;
    font-weight:600;
    transition:0.3s ease;
}

.landing-menu a:hover{
    color:#ffffff;
}

.landing-actions{
    display:flex;
    gap:14px;
}

.landing-hero{
    padding:120px 60px;
    max-width:1200px;
}

.hero-badge{
    display:inline-block;
    padding:10px 16px;
    border-radius:999px;
    background:#111111;
    border:1px solid #2a2a2a;
    color:#4FC3F7;
    font-size:13px;
    font-weight:800;
    margin-bottom:28px;
}

.landing-hero h1{
    font-size:72px;
    line-height:1.05;
    max-width:980px;
    margin-bottom:28px;
    font-weight:800;
}

.landing-hero p{
    color:#888888;
    max-width:760px;
    font-size:18px;
    line-height:1.8;
}

.landing-buttons{
    display:flex;
    gap:16px;
    margin-top:36px;
}

.landing-section{
    padding:90px 60px;
}

.section-heading{
    margin-bottom:40px;
}

.section-heading h2{
    font-size:48px;
    margin-bottom:14px;
}

.section-heading p{
    color:#888888;
    font-size:17px;
}

.about-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:24px;
    padding:40px;
    max-width:1100px;
}

.about-card p{
    color:#cccccc;
    line-height:1.9;
    font-size:17px;
}

.landing-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:24px;
}

.landing-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:22px;
    padding:34px;
    transition:0.3s ease;
}

.landing-card:hover{
    transform:translateY(-5px);
    border-color:#4FC3F7;
}

.landing-card h3{
    font-size:24px;
    margin-bottom:16px;
}

.landing-card p{
    color:#888888;
    line-height:1.8;
}

.contact-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:24px;
    padding:60px;
    text-align:center;
}

.contact-card h2{
    font-size:48px;
    margin-bottom:16px;
}

.contact-card p{
    color:#888888;
    margin-bottom:30px;
    font-size:17px;
}

.landing-footer{
    border-top:1px solid #2a2a2a;
    padding:30px 60px;
    display:flex;
    justify-content:space-between;
    color:#888888;
}

@media(max-width:900px){

    .landing-header{
        padding:0 24px;
        flex-wrap:wrap;
        height:auto;
        gap:20px;
        padding-top:20px;
        padding-bottom:20px;
    }

    .landing-menu{
        width:100%;
        justify-content:center;
    }

    .landing-hero{
        padding:80px 24px;
    }

    .landing-hero h1{
        font-size:48px;
    }

    .landing-section{
        padding:70px 24px;
    }

    .section-heading h2{
        font-size:38px;
    }

    .landing-footer{
        padding:24px;
        flex-direction:column;
        gap:10px;
    }

}

/* ===== BARLOW TYPOGRAPHY SYSTEM OVERRIDE ===== */

*{
    font-family:'Barlow', sans-serif;
}

body,
p,
input,
textarea,
select,
td{
    font-family:'Barlow', sans-serif;
    font-weight:400;
    letter-spacing:0.01em;
}

h1,
.topbar-left h1,
.admin-hero h1,
.landing-hero h1,
.auth-hero h1,
.client-topbar h1,
.page-header h1,
.clients-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-weight:900;
    letter-spacing:0.02em;
    text-transform:uppercase;
}

h2,
h3,
.card h3,
.landing-card h3,
.client-stat-card h3,
.quick-actions-card h2,
.section-heading h2,
.page-section-header h2,
.auth-card h2{
    font-family:'Barlow Condensed', sans-serif;
    font-weight:700;
    letter-spacing:0.03em;
    text-transform:uppercase;
}

.sidebar-logo,
.client-logo,
.admin-brand,
.landing-logo,
.auth-brand,
.brand{
    font-family:'Barlow Condensed', sans-serif;
    font-weight:900;
    letter-spacing:0.03em;
    text-transform:uppercase;
}

.sidebar-menu a,
.client-menu a,
.btn-primary,
.btn-secondary,
.mini-btn,
.quick-btn,
.role-badge,
button,
.auth-btn,
.save-btn,
th,
label{
    font-family:'Barlow Condensed', sans-serif;
    font-weight:700;
    letter-spacing:0.04em;
    text-transform:uppercase;
}

.breadcrumb,
.item-meta,
.meta,
small,
.hint,
.hero-badge,
.auth-badge{
    font-family:'Barlow', sans-serif;
    font-weight:500;
    letter-spacing:0.06em;
}

/* ===== FONT SIZE POLISH ===== */

.topbar-left h1{
    font-size:64px;
    line-height:0.95;
}

.landing-hero h1{
    font-size:82px;
    line-height:0.95;
}

.auth-hero h1{
    font-size:68px;
    line-height:0.95;
}

.admin-hero h1{
    font-size:72px;
    line-height:0.95;
}

.client-topbar h1{
    font-size:60px;
    line-height:0.95;
}

.page-section-header h2{
    font-size:42px;
}

.card h3,
.client-stat-card h3,
.landing-card h3{
    font-size:30px;
}

p{
    font-size:18px;
}

.sidebar-menu a,
.client-menu a{
    font-size:20px;
}

.btn-primary,
.btn-secondary,
.mini-btn,
.quick-btn,
button{
    font-size:16px;
}

/* ===== MOBILE FONT FIX ===== */

@media(max-width:900px){

    .topbar-left h1,
    .landing-hero h1,
    .auth-hero h1,
    .admin-hero h1,
    .client-topbar h1{
        font-size:46px;
    }

    .page-section-header h2{
        font-size:34px;
    }

}

/* ===== NEW OS LOGIN PAGE ===== */

.os-login-body{
    background:#0a0a0a;
    min-height:100vh;
    overflow:hidden;
}

.os-login-shell{
    width:100%;
    min-height:100vh;
    display:grid;
    grid-template-columns:1fr 1fr;
    background:#0a0a0a;
}

.os-login-left{
    position:relative;
    padding:80px 70px;
    border-right:1px solid rgba(255,255,255,0.06);
    background:
        radial-gradient(circle at 18% 16%, rgba(79,195,247,0.12), transparent 28%),
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
        #0a0a0a;
    background-size:auto, 38px 38px, 38px 38px;
}

.os-login-right{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:80px;
    background:#0a0a0a;
}

.os-logo-text{
    font-family:'Barlow Condensed', sans-serif;
    font-weight:900;
    font-size:42px;
    letter-spacing:0.04em;
    color:#ffffff;
    text-transform:uppercase;
}

.os-logo-text span{
    color:#4FC3F7;
}

.os-tagline{
    margin-top:14px;
    font-size:14px;
    letter-spacing:0.22em;
    color:#888888;
    text-transform:uppercase;
}

.os-login-copy{
    margin-top:70px;
}

.os-login-copy h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:34px;
    line-height:1.1;
    font-weight:900;
    text-transform:none;
    margin-bottom:36px;
}

.os-feature-list{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.os-feature-item{
    display:flex;
    gap:16px;
    align-items:flex-start;
}

.os-feature-item span{
    width:22px;
    height:22px;
    border-radius:50%;
    border:1px solid rgba(79,195,247,0.65);
    color:#4FC3F7;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    flex-shrink:0;
}

.os-feature-item strong{
    display:block;
    color:#ffffff;
    font-weight:500;
    margin-bottom:6px;
}

.os-feature-item p{
    color:#888888;
    font-size:16px;
    line-height:1.4;
}

.os-login-card{
    width:100%;
    max-width:500px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(10px);
    border-radius:8px;
    padding:36px;
}

.os-login-card h2{
    font-family:'Barlow Condensed', sans-serif;
    font-size:30px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:14px;
}

.os-login-card p{
    color:#888888;
    margin-bottom:30px;
}

.os-login-card input{
    width:100%;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.10);
    border-radius:5px;
    padding:14px 16px;
    margin-bottom:14px;
    color:#ffffff;
}

.os-login-card input:focus{
    border-color:#4FC3F7;
}

.os-login-card button{
    width:100%;
    background:#4FC3F7;
    color:#000000;
    border:none;
    border-radius:5px;
    padding:15px;
    font-family:'Barlow Condensed', sans-serif;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-top:2px;
}

.os-login-card button:hover{
    background:#29B6F6;
}

@media(max-width:900px){
    .os-login-shell{
        grid-template-columns:1fr;
    }

    .os-login-left,
    .os-login-right{
        padding:40px 24px;
    }
}

/* ===== MINIMAL ADMIN HOME V2 ===== */

.os-home{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.os-home-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:70px;
}

.os-home-logo{
    font-family:'Barlow Condensed', sans-serif;
    font-size:38px;
    font-weight:900;
    letter-spacing:0.04em;
    color:#ffffff;
}

.os-home-logo span{
    color:#4FC3F7;
}

.os-home-sub{
    margin-top:8px;
    color:#888888;
    letter-spacing:0.18em;
    font-size:13px;
    text-transform:uppercase;
}

.os-home-user{
    display:flex;
    align-items:center;
    gap:16px;
    font-family:'Barlow Condensed', sans-serif;
    text-transform:uppercase;
    letter-spacing:0.04em;
}

.os-home-user span{
    color:#888888;
}

.os-home-user strong{
    color:#ffffff;
}

.os-home-user a{
    color:#ef4444;
    font-weight:700;
}

.os-section-number{
    color:#4FC3F7;
    font-family:'Barlow Condensed', sans-serif;
    font-weight:900;
    letter-spacing:0.12em;
    margin-bottom:26px;
}

.os-home-hero{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:46px;
}

.os-home-hero h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:58px;
    line-height:0.95;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.03em;
    margin-bottom:28px;
}

.os-home-hero p{
    color:#888888;
    font-size:18px;
}

.os-section-title{
    font-family:'Barlow Condensed', sans-serif;
    font-size:34px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-bottom:28px;
    border-left:4px solid #4FC3F7;
    padding-left:14px;
}

.os-nav-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-bottom:24px;
}

.os-nav-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-top:2px solid #4FC3F7;
    border-radius:8px;
    padding:30px 28px;
    min-height:150px;
    transition:0.25s ease;
    cursor:pointer;
}

.os-nav-card:hover{
    border-color:#4FC3F7;
    background:#141414;
    transform:translateY(-3px);
}

.os-nav-card h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:26px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    color:#ffffff;
    margin-bottom:16px;
}

.os-nav-card p{
    color:#888888;
    line-height:1.6;
    font-size:17px;
}

.os-note-box{
    background:rgba(79,195,247,0.10);
    border:1px solid rgba(79,195,247,0.7);
    color:#ffffff;
    padding:20px 24px;
    border-radius:5px;
    font-size:17px;
}

.os-note-box strong{
    color:#4FC3F7;
}

@media(max-width:900px){
    .os-home{
        padding:30px 22px;
    }

    .os-home-top{
        flex-direction:column;
        align-items:flex-start;
        gap:22px;
    }

    .os-nav-cards{
        grid-template-columns:1fr;
    }

    .os-home-hero h1{
        font-size:42px;
    }
}

.option-pills{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.pill-check input{
    display:none;
}

.pill-check span{
    display:inline-flex;
    padding:10px 14px;
    border-radius:6px;
    background:#111111;
    border:1px solid #2a2a2a;
    color:#888888;
    cursor:pointer;
}

.pill-check input:checked + span{
    background:rgba(79,195,247,0.12);
    border-color:#4FC3F7;
    color:#4FC3F7;
}

.login-row{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-bottom:14px;
}

@media(max-width:900px){
    .login-row{
        grid-template-columns:1fr;
    }
}

/* ===== CLIENTS GRID PAGE ===== */

.clients-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.clients-page-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:42px;
}

.clients-page-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:64px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-top:18px;
}

.clients-page-header p{
    color:#888888;
    font-size:18px;
    margin-top:14px;
}

.client-card-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
}

.client-account-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-top:2px solid #4FC3F7;
    border-radius:8px;
    padding:28px;
    min-height:210px;
    cursor:pointer;
    transition:0.25s ease;
}

.client-account-card:hover{
    border-color:#4FC3F7;
    background:#141414;
    transform:translateY(-3px);
}

.client-account-card.dragging{
    opacity:0.45;
}

.client-card-top{
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}

.client-card-top h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:30px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    color:#ffffff;
    margin-bottom:8px;
}

.client-card-top p{
    color:#888888;
    font-size:17px;
}

.client-edit-btn{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#181818;
    border:1px solid #2a2a2a;
    border-radius:6px;
    color:#4FC3F7;
    font-weight:800;
    flex-shrink:0;
}

.client-edit-btn:hover{
    border-color:#4FC3F7;
}

.client-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:28px;
}

.client-tags span{
    background:#181818;
    border:1px solid #2a2a2a;
    color:#888888;
    border-radius:5px;
    padding:7px 10px;
    font-size:13px;
    letter-spacing:0.04em;
}

.client-card-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:auto;
}

.client-status{
    display:inline-flex;
    align-items:center;
    padding:7px 12px;
    border-radius:999px;
    background:rgba(34,197,94,0.12);
    color:#86efac;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.05em;
}

.client-status.paused{
    background:rgba(245,158,11,0.12);
    color:#fbbf24;
}

.drag-handle{
    color:#555;
    font-size:20px;
    cursor:grab;
}

@media(max-width:1100px){
    .client-card-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:720px){
    .clients-page{
        padding:30px 22px;
    }

    .clients-page-header{
        flex-direction:column;
    }

    .client-card-grid{
        grid-template-columns:1fr;
    }

    .clients-page-header h1{
        font-size:46px;
    }
}

/* ===== CLIENT DETAIL DASHBOARD V2 ===== */

.client-detail-layout{
    display:block;
}

.client-detail-sidebar{
    position:sticky;
    top:0;
    height:100vh;
    background:#111111;
    border-right:1px solid #2a2a2a;
    padding:28px 20px;
    overflow-y:auto;
}

.client-detail-name{
    color:#888888;
    letter-spacing:0.16em;
    text-transform:uppercase;
    font-size:13px;
    margin-bottom:22px;
    padding:16px;
    border:1px solid #2a2a2a;
    border-radius:8px;
}

.client-detail-sidebar a{
    display:flex;
    align-items:center;
    gap:12px;
    color:#ffffff;
    padding:16px 18px;
    border-bottom:1px solid #2a2a2a;
    font-size:17px;
}

.client-detail-sidebar a::before{
    content:"";
    width:6px;
    height:6px;
    border-radius:50%;
    background:#4FC3F7;
}

.client-detail-sidebar a.active{
    background:rgba(79,195,247,0.08);
    color:#4FC3F7;
}

.client-detail-main{
    padding:42px 52px;
}

.client-detail-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:36px;
}

.client-detail-top h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-top:20px;
}

.client-detail-top p{
    color:#888888;
    font-size:18px;
}

.client-section{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:30px;
    margin-bottom:24px;
    scroll-margin-top:40px;
}

.client-section h2{
    font-family:'Barlow Condensed', sans-serif;
    font-size:34px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-bottom:24px;
    border-left:4px solid #4FC3F7;
    padding-left:14px;
}

.client-overview-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}

.info-card{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:20px;
}

.info-card span{
    display:block;
    color:#888888;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:0.08em;
    margin-bottom:10px;
}

.info-card strong{
    color:#ffffff;
    font-size:18px;
}

.detail-table{
    border-top:1px solid #2a2a2a;
}

.detail-table div{
    display:grid;
    grid-template-columns:240px 1fr;
    gap:24px;
    padding:18px 0;
    border-bottom:1px solid #2a2a2a;
}

.detail-table strong{
    color:#ffffff;
}

.detail-table span{
    color:#cccccc;
}

.tag-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.tag-list span{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    padding:10px 14px;
    border-radius:6px;
    color:#4FC3F7;
}

.mini-list{
    margin-top:20px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.mini-list-item{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:16px;
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.login-detail-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.login-detail-row{
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
    gap:14px;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    padding:16px;
    border-radius:8px;
}

.login-detail-row code{
    color:#4FC3F7;
}

@media(max-width:1100px){
    .client-detail-layout{
        grid-template-columns:1fr;
    }

    .client-detail-sidebar{
        position:relative;
        height:auto;
    }

    .client-overview-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:700px){
    .client-detail-main{
        padding:28px 20px;
    }

    .client-detail-top{
        flex-direction:column;
        gap:20px;
    }

    .client-detail-top h1{
        font-size:46px;
    }

    .client-overview-grid,
    .detail-table div,
    .login-detail-row{
        grid-template-columns:1fr;
    }
}
.client-detail-sidebar{
    position:fixed;
    left:0;
    top:0;
    width:330px;
    height:100vh;
    overflow-y:auto;
}

.client-detail-main{
    margin-left:330px;
}

/* ===== ROLES GRID PAGE ===== */

.roles-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.roles-page-header{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:42px;
}

.roles-page-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:64px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-top:18px;
}

.roles-page-header p{
    color:#888888;
    font-size:18px;
    margin-top:14px;
}

.roles-section-title{
    font-family:'Barlow Condensed', sans-serif;
    font-size:34px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-bottom:28px;
    border-left:4px solid #4FC3F7;
    padding-left:14px;
}

.role-card-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.role-card{
    position:relative;
    background:#111111;
    border:1px solid #2a2a2a;
    border-top:2px solid #4FC3F7;
    border-radius:8px;
    padding:30px 28px;
    min-height:150px;
    transition:0.25s ease;
    cursor:pointer;
}

.role-card:hover{
    border-color:#4FC3F7;
    background:#141414;
    transform:translateY(-3px);
}

.role-card h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:28px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    color:#ffffff;
    margin-bottom:14px;
}

.role-card p{
    color:#888888;
    font-size:17px;
    line-height:1.6;
}

.add-role-card{
    border-style:dashed;
}

.add-role-card h3{
    color:#4FC3F7;
}

@media(max-width:1100px){
    .role-card-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:720px){
    .roles-page{
        padding:30px 22px;
    }

    .role-card-grid{
        grid-template-columns:1fr;
    }

    .roles-page-header h1{
        font-size:46px;
    }
}
/* ===== ROLE CARD MENU + MODAL ===== */

.role-card{
    position:relative;
}

.role-card-content{
    display:block;
    height:100%;
}

.role-card-menu-btn{
    position:absolute;
    top:16px;
    right:16px;
    width:34px;
    height:34px;
    background:#181818;
    border:1px solid #2a2a2a;
    color:#888888;
    border-radius:6px;
    font-size:20px;
    line-height:1;
    z-index:5;
}

.role-card-menu-btn:hover{
    border-color:#4FC3F7;
    color:#4FC3F7;
}

.role-card-menu-box{
    display:none;
    position:absolute;
    top:55px;
    right:16px;
    width:170px;
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:8px;
    overflow:hidden;
    z-index:20;
    box-shadow:0 20px 50px rgba(0,0,0,0.45);
}

.role-card-menu-box button{
    width:100%;
    background:transparent;
    color:#ffffff;
    border:none;
    padding:13px 14px;
    text-align:left;
    font-family:'Barlow', sans-serif;
    font-size:14px;
    text-transform:none;
    letter-spacing:0;
    cursor:pointer;
}

.role-card-menu-box button:hover{
    background:#181818;
    color:#4FC3F7;
}

.role-card-menu-box form button{
    color:#ef4444;
}

.role-card.dragging{
    opacity:0.45;
}

.role-modal-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.72);
    z-index:99999;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.role-modal{
    width:100%;
    max-width:560px;
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:12px;
    padding:32px;
}

.role-modal h2{
    font-family:'Barlow Condensed', sans-serif;
    font-size:38px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:24px;
}

.success{
    background:rgba(34,197,94,0.12);
    color:#86efac;
    padding:14px 16px;
    border-radius:12px;
    border:1px solid rgba(34,197,94,0.35);
}

/* ===== ROLE DETAIL DASHBOARD FIX ===== */

.role-detail-layout{
    display:block;
    min-height:100vh;
    background:#0a0a0a;
}

.role-detail-sidebar{
    position:fixed;
    left:0;
    top:0;
    width:330px;
    height:100vh;
    background:#111111;
    border-right:1px solid #2a2a2a;
    padding:28px 20px;
    overflow-y:auto;
    z-index:100;
}

.role-detail-name{
    color:#888888;
    letter-spacing:0.16em;
    text-transform:uppercase;
    font-size:13px;
    margin-bottom:22px;
    padding:16px;
    border:1px solid #2a2a2a;
    border-radius:8px;
}

.role-detail-sidebar a{
    display:flex;
    align-items:center;
    gap:12px;
    color:#ffffff;
    padding:16px 18px;
    border-bottom:1px solid #2a2a2a;
    font-size:17px;
}

.role-detail-sidebar a::before{
    content:"";
    width:6px;
    height:6px;
    border-radius:50%;
    background:#4FC3F7;
}

.role-detail-sidebar a.active{
    background:rgba(79,195,247,0.08);
    color:#4FC3F7;
}

.role-detail-main{
    margin-left:330px;
    padding:42px 52px;
}

.role-detail-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:36px;
}

.role-detail-top h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-top:20px;
}

.role-section{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:30px;
    margin-bottom:24px;
}

.role-section h2{
    font-family:'Barlow Condensed', sans-serif;
    font-size:34px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-bottom:24px;
    border-left:4px solid #4FC3F7;
    padding-left:14px;
}

.role-overview-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-bottom:24px;
}

.role-text-box{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:22px;
    color:#cccccc;
    line-height:1.8;
}

.role-team-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:16px;
}

.team-member-card{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:22px;
}

/* ===== INTERNAL SECTION PAGE ===== */

.internal-layout{
    min-height:100vh;
    background:#0a0a0a;
}

.internal-sidebar{
    position:fixed;
    left:0;
    top:0;
    width:330px;
    height:100vh;
    background:#111111;
    border-right:1px solid #2a2a2a;
    padding:28px 20px;
    overflow-y:auto;
    z-index:100;
}

.internal-sidebar-title{
    color:#888888;
    letter-spacing:0.16em;
    text-transform:uppercase;
    font-size:13px;
    margin-bottom:22px;
    padding:16px;
    border:1px solid #2a2a2a;
    border-radius:8px;
}

.internal-sidebar a{
    display:flex;
    align-items:center;
    gap:12px;
    color:#ffffff;
    padding:16px 18px;
    border-bottom:1px solid #2a2a2a;
    font-size:17px;
}

.internal-sidebar a::before{
    content:"";
    width:6px;
    height:6px;
    border-radius:50%;
    background:#4FC3F7;
    flex-shrink:0;
}

.internal-sidebar a.active{
    background:rgba(79,195,247,0.08);
    color:#4FC3F7;
}

.internal-main{
    margin-left:330px;
    padding:42px 52px;
}

.internal-top{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:36px;
}

.internal-top h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-top:20px;
}

.internal-top p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.internal-section{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:30px;
    margin-bottom:24px;
    scroll-margin-top:40px;
}

.internal-section h2{
    font-family:'Barlow Condensed', sans-serif;
    font-size:34px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-bottom:22px;
    border-left:4px solid #4FC3F7;
    padding-left:14px;
}

.internal-content-box{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:22px;
    color:#cccccc;
    line-height:1.8;
    font-size:17px;
}

.internal-empty{
    background:#0a0a0a;
    border:1px dashed #2a2a2a;
    border-radius:8px;
    padding:22px;
    color:#888888;
    font-size:16px;
}

@media(max-width:1100px){
    .internal-sidebar{
        position:relative;
        width:100%;
        height:auto;
    }

    .internal-main{
        margin-left:0;
    }
}

@media(max-width:700px){
    .internal-main{
        padding:28px 20px;
    }

    .internal-top h1{
        font-size:46px;
    }
}

.internal-file-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:16px;
}

.internal-file-card{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:20px;
}

.internal-file-card h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:26px;
    text-transform:uppercase;
    margin-bottom:10px;
}

.internal-file-card p{
    color:#888888;
    margin-bottom:18px;
}
.internal-upload-section{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:24px;
    margin-bottom:24px;
}

.internal-upload-row{
    display:grid;
    grid-template-columns:1fr 1.5fr 1fr;
    gap:14px;
    margin-bottom:14px;
}

.internal-existing-files{
    display:grid;
    gap:12px;
    margin-bottom:18px;
}

.internal-existing-file{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:14px 16px;
}

.internal-existing-file strong{
    color:#ffffff;
}

.internal-existing-file p{
    color:#888888;
    margin-top:4px;
}

@media(max-width:900px){
    .internal-upload-row{
        grid-template-columns:1fr;
    }

    .internal-existing-file{
        flex-direction:column;
        align-items:flex-start;
    }
}

/* ===== PERMISSION CARDS ===== */

.permission-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:14px;
}

.permission-card{
    display:block;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:18px;
    cursor:pointer;
    transition:0.25s ease;
}

.permission-card:hover{
    border-color:#4FC3F7;
}

.permission-card input{
    width:auto;
    margin-bottom:14px;
}

.permission-card span{
    display:block;
    font-family:'Barlow Condensed', sans-serif;
    font-size:23px;
    font-weight:900;
    text-transform:uppercase;
    color:#ffffff;
    margin-bottom:8px;
}

.permission-card small{
    display:block;
    color:#888888;
    line-height:1.5;
}

.permission-card:has(input:checked){
    border-color:#4FC3F7;
    background:rgba(79,195,247,0.08);
}

.table-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.table-tags span{
    background:#181818;
    border:1px solid #2a2a2a;
    color:#4FC3F7;
    padding:6px 10px;
    border-radius:6px;
    font-size:13px;
}

.access-grid{
    align-items:stretch;
}

.access-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:22px;
}

.access-card .btn-primary,
.access-card .btn-secondary{
    text-align:center;
    width:fit-content;
}

.client-menu-btn{
    position:absolute;
    top:18px;
    right:18px;
    width:34px;
    height:34px;
    background:#181818;
    border:1px solid #2a2a2a;
    color:#888888;
    border-radius:6px;
    font-size:20px;
    z-index:10;
}

.client-menu-btn:hover{
    border-color:#4FC3F7;
    color:#4FC3F7;
}

.client-menu-box{
    display:none;
    position:absolute;
    top:58px;
    right:18px;
    width:180px;
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:8px;
    overflow:hidden;
    z-index:30;
    box-shadow:0 20px 50px rgba(0,0,0,0.45);
}

.client-menu-box a,
.client-menu-box button{
    display:block;
    width:100%;
    background:transparent;
    border:none;
    color:#ffffff;
    text-align:left;
    padding:13px 14px;
    font-family:'Barlow', sans-serif;
    font-size:14px;
    cursor:pointer;
}

.client-menu-box a:hover,
.client-menu-box button:hover{
    background:#181818;
    color:#4FC3F7;
}

.client-menu-box form button{
    color:#ef4444;
}

/* ===== TASK BOARD ===== */

.task-board{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    align-items:start;
}

.task-column{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:12px;
    padding:20px;
    min-height:320px;
}

.task-column h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:30px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:18px;
    border-left:4px solid #4FC3F7;
    padding-left:12px;
}

.task-card{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:18px;
    margin-bottom:14px;
}

.task-card-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    margin-bottom:12px;
}

.task-card-top strong{
    color:#ffffff;
    font-size:17px;
}

.task-card p{
    color:#cccccc;
    line-height:1.6;
    margin-bottom:14px;
}

.task-meta{
    display:flex;
    flex-direction:column;
    gap:6px;
    color:#888888;
    font-size:14px;
}

.priority-badge{
    display:inline-flex;
    padding:5px 9px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    white-space:nowrap;
}

.priority-low{
    background:rgba(34,197,94,0.12);
    color:#86efac;
}

.priority-medium{
    background:rgba(79,195,247,0.12);
    color:#4FC3F7;
}

.priority-high{
    background:rgba(245,158,11,0.12);
    color:#fbbf24;
}

.priority-urgent{
    background:rgba(239,68,68,0.12);
    color:#fca5a5;
}

@media(max-width:1100px){
    .task-board{
        grid-template-columns:1fr;
    }
}

.notification-item small{
    display:block;
    margin-top:8px;
    color:#666666;
    font-size:12px;
}

/* ===== ACTIVITY TIMELINE ===== */

.activity-timeline{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.activity-item{
    display:grid;
    grid-template-columns:20px 1fr;
    gap:16px;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:18px;
}

.activity-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#4FC3F7;
    margin-top:6px;
}

.activity-item h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:24px;
    text-transform:uppercase;
    margin-bottom:8px;
}

.activity-item p{
    color:#cccccc;
    line-height:1.6;
    margin-bottom:8px;
}

.activity-item small{
    color:#888888;
}

/* ===== TASK ACTIONS ===== */

.task-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.task-action-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    border-radius:8px;
    background:#1a1a1a;
    border:1px solid #2a2a2a;
    color:#ffffff;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    transition:0.2s;
}

.task-action-btn:hover{
    background:#4FC3F7;
    color:#000000;
}

.task-action-btn.success:hover{
    background:#22c55e;
    color:#000000;
}

.task-action-btn.danger:hover{
    background:#ef4444;
    color:#ffffff;
}

/* ===== EMPLOYEE DASHBOARD ===== */

.employee-dashboard-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.employee-dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:30px;
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.employee-dashboard-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-top:20px;
}

.employee-dashboard-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.employee-profile-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:12px;
    padding:22px;
    min-width:260px;
}

.employee-profile-card strong{
    display:block;
    font-size:20px;
    margin-bottom:8px;
}

.employee-profile-card span{
    color:#4FC3F7;
}

.employee-stats-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
    margin-bottom:28px;
}

.employee-stat-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:12px;
    padding:24px;
}

.employee-stat-card span{
    display:block;
    color:#888888;
    margin-bottom:12px;
}

.employee-stat-card strong{
    font-family:'Barlow Condensed', sans-serif;
    font-size:46px;
    color:#4FC3F7;
}

.employee-stat-card.danger strong{
    color:#ef4444;
}

.employee-dashboard-grid{
    display:grid;
    grid-template-columns:0.8fr 1.2fr;
    gap:28px;
}

.employee-panel{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:28px;
}

.employee-client-list,
.employee-task-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.employee-client-item,
.employee-task-item{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:18px;
}

.employee-client-item strong{
    display:block;
    color:#ffffff;
    font-size:18px;
    margin-bottom:8px;
}

.employee-client-item span{
    color:#888888;
}

.employee-task-item h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:26px;
    text-transform:uppercase;
    margin-bottom:6px;
}

.employee-task-item p{
    color:#888888;
    margin-bottom:14px;
}

.employee-task-meta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:12px;
}

.employee-task-item small{
    display:block;
    color:#888888;
    margin-bottom:12px;
}

@media(max-width:1100px){
    .employee-stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .employee-dashboard-grid{
        grid-template-columns:1fr;
    }

    .employee-dashboard-header{
        flex-direction:column;
    }
}

@media(max-width:700px){
    .employee-dashboard-page{
        padding:28px 20px;
    }

    .employee-dashboard-header h1{
        font-size:46px;
    }

    .employee-stats-grid{
        grid-template-columns:1fr;
    }
}

.task-card{
    cursor:grab;
}

.task-card.dragging{
    opacity:0.45;
    border-color:#4FC3F7;
}

.task-column{
    transition:0.2s ease;
}

.task-column.drag-over{
    border-color:#4FC3F7;
}

/* ===== ANALYTICS DASHBOARD ===== */

.analytics-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.analytics-header{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.analytics-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.04em;
    margin-top:20px;
}

.analytics-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.analytics-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
    margin-bottom:28px;
}

.analytics-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:12px;
    padding:24px;
}

.analytics-card span{
    display:block;
    color:#888888;
    margin-bottom:12px;
}

.analytics-card strong{
    font-family:'Barlow Condensed', sans-serif;
    font-size:46px;
    color:#4FC3F7;
}

.analytics-card.danger strong{
    color:#ef4444;
}

.analytics-card.revenue strong{
    color:#86efac;
}

.analytics-two-col{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:28px;
}

.analytics-panel{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:28px;
}

.analytics-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.analytics-list-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:18px;
}

.analytics-list-item strong{
    display:block;
    color:#ffffff;
    margin-bottom:6px;
}

.analytics-list-item span{
    color:#888888;
}

.analytics-list-item b{
    color:#4FC3F7;
}

@media(max-width:1100px){
    .analytics-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .analytics-two-col{
        grid-template-columns:1fr;
    }
}

@media(max-width:700px){
    .analytics-page{
        padding:28px 20px;
    }

    .analytics-header h1{
        font-size:46px;
    }

    .analytics-grid{
        grid-template-columns:1fr;
    }
}

.employee-profile-card small{
    display:block;
    color:#888888;
    margin-top:8px;
    line-height:1.5;
}

.section-subtext{
    color:#888888;
    margin-bottom:24px;
}

/* ===== HOME ANALYTICS ===== */

.os-home-analytics{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:16px;
    margin-bottom:34px;
}

.home-stat-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:12px;
    padding:22px;
}

.home-stat-card span{
    display:block;
    color:#888888;
    font-size:14px;
    margin-bottom:10px;
}

.home-stat-card strong{
    font-family:'Barlow Condensed', sans-serif;
    font-size:42px;
    color:#4FC3F7;
}

.home-stat-card.danger strong{
    color:#ef4444;
}

.home-stat-card.revenue strong{
    color:#86efac;
}

.home-insights-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:24px;
    margin-top:34px;
}

.home-insight-panel{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:26px;
}

.home-mini-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.home-mini-item{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:16px;
}

.home-mini-item strong{
    display:block;
    color:#ffffff;
    margin-bottom:6px;
}

.home-mini-item p{
    color:#888888;
    font-size:14px;
    line-height:1.5;
}

.home-mini-item.split{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
}

.home-mini-item b{
    color:#4FC3F7;
    white-space:nowrap;
}

@media(max-width:1200px){
    .os-home-analytics{
        grid-template-columns:repeat(3,1fr);
    }

    .home-insights-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:700px){
    .os-home-analytics{
        grid-template-columns:1fr;
    }
}

/* ===== GLOBAL SEARCH ===== */

.search-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.search-header{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:32px;
    margin-bottom:32px;
}

.search-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    margin-top:18px;
}

.search-header p{
    color:#888888;
    font-size:18px;
    max-width:800px;
    line-height:1.7;
}

.global-search-form{
    display:grid;
    grid-template-columns:1fr auto;
    gap:14px;
    margin-top:26px;
    max-width:900px;
}

.search-results-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}

.search-result-panel{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:26px;
}

.search-result-item{
    display:block;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:16px;
    margin-bottom:12px;
}

.search-result-item:hover{
    border-color:#4FC3F7;
}

.search-result-item strong{
    display:block;
    color:#ffffff;
    margin-bottom:6px;
}

.search-result-item span{
    color:#888888;
    font-size:14px;
}

@media(max-width:900px){
    .search-results-grid{
        grid-template-columns:1fr;
    }

    .global-search-form{
        grid-template-columns:1fr;
    }

    .search-page{
        padding:28px 20px;
    }

    .search-header h1{
        font-size:46px;
    }
}

/* ===== TOPBAR SEARCH ===== */

.topbar-search{
    display:flex;
    align-items:center;
    gap:10px;
    margin-right:18px;
}

.topbar-search input{
    width:280px;
    height:44px;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:0 16px;
    color:#ffffff;
    font-size:14px;
}

.topbar-search input:focus{
    border-color:#4FC3F7;
    outline:none;
}

.topbar-search button{
    height:44px;
    padding:0 18px;
    border:none;
    border-radius:10px;
    background:#4FC3F7;
    color:#000000;
    font-weight:700;
    cursor:pointer;
}

.topbar-search button:hover{
    opacity:.9;
}

@media(max-width:900px){

    .topbar-search{
        display:none;
    }

}

/* ===== EMPLOYEE DETAIL ===== */

.employee-detail-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.employee-detail-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.employee-detail-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    margin-top:18px;
}

.employee-detail-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.employee-detail-grid{
    display:grid;
    grid-template-columns:1.4fr .8fr;
    gap:28px;
}

.employee-detail-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:28px;
}

.employee-detail-card h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:32px;
    text-transform:uppercase;
    margin-bottom:12px;
}

.employee-detail-card p{
    color:#888888;
    line-height:1.7;
    margin-bottom:18px;
}

@media(max-width:1000px){
    .employee-detail-grid{
        grid-template-columns:1fr;
    }

    .employee-detail-header{
        flex-direction:column;
    }
}

@media(max-width:700px){
    .employee-detail-page{
        padding:28px 20px;
    }

    .employee-detail-header h1{
        font-size:46px;
    }
}

/* ===== ROLE TASK BOARD ===== */

.role-task-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.role-task-header{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.role-task-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    margin-top:18px;
}

.role-task-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.role-task-panel{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:28px;
}

@media(max-width:700px){
    .role-task-page{
        padding:28px 20px;
    }

    .role-task-header h1{
        font-size:46px;
    }
}

/* ===== CALENDAR TIMELINE ===== */

.calendar-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.calendar-header{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.calendar-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    margin-top:18px;
}

.calendar-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.calendar-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:28px;
}

.calendar-panel{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:28px;
}

.calendar-timeline{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.calendar-item{
    display:grid;
    grid-template-columns:76px 1fr;
    gap:18px;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:12px;
    padding:18px;
}

.calendar-date-box{
    width:76px;
    height:76px;
    border-radius:12px;
    background:#111111;
    border:1px solid #2a2a2a;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.calendar-date-box strong{
    font-family:'Barlow Condensed', sans-serif;
    font-size:34px;
    color:#4FC3F7;
    line-height:1;
}

.calendar-date-box span{
    color:#888888;
    font-size:13px;
    text-transform:uppercase;
}

.calendar-content h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:28px;
    text-transform:uppercase;
    margin-bottom:6px;
}

.calendar-content p{
    color:#ffffff;
    margin-bottom:8px;
}

.calendar-content small{
    color:#888888;
    display:block;
    margin-bottom:12px;
}

.calendar-desc{
    color:#cccccc;
    line-height:1.6;
    margin-bottom:14px;
}

.calendar-timeline.muted{
    opacity:.7;
}

@media(max-width:1000px){
    .calendar-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:700px){
    .calendar-page{
        padding:28px 20px;
    }

    .calendar-header h1{
        font-size:46px;
    }

    .calendar-item{
        grid-template-columns:1fr;
    }
}

/* ===== NOTIFICATION CENTER ===== */

.notifications-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.notifications-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.notifications-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    margin-top:18px;
}

.notifications-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.notifications-summary{
    display:grid;
    grid-template-columns:repeat(2,260px);
    gap:18px;
    margin-bottom:28px;
}

.notifications-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.notification-center-item{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:22px;
}

.notification-center-item.unread{
    border-color:#4FC3F7;
    box-shadow:0 0 24px rgba(79,195,247,.08);
}

.notification-center-item h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:28px;
    text-transform:uppercase;
    margin-bottom:8px;
}

.notification-center-item p{
    color:#cccccc;
    line-height:1.6;
    margin-bottom:10px;
}

.notification-center-item small{
    color:#888888;
}

.notification-center-actions{
    white-space:nowrap;
}

@media(max-width:800px){
    .notifications-page{
        padding:28px 20px;
    }

    .notifications-header{
        flex-direction:column;
    }

    .notifications-header h1{
        font-size:46px;
    }

    .notifications-summary{
        grid-template-columns:1fr;
    }

    .notification-center-item{
        flex-direction:column;
    }
}

/* ===== PERFORMANCE METRICS ===== */

.performance-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.performance-header{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.performance-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    margin-top:18px;
}

.performance-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.performance-panel{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:28px;
    margin-top:28px;
}

.performance-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.performance-item{
    display:grid;
    grid-template-columns:1fr 1.4fr 130px;
    gap:24px;
    align-items:center;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:12px;
    padding:20px;
}

.performance-profile h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:30px;
    text-transform:uppercase;
    margin-bottom:6px;
}

.performance-profile p{
    color:#888888;
    margin-bottom:12px;
}

.performance-metrics{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
}

.performance-metrics div{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:14px;
    text-align:center;
}

.performance-metrics span{
    display:block;
    color:#888888;
    font-size:12px;
    margin-bottom:6px;
}

.performance-metrics strong{
    color:#ffffff;
    font-size:20px;
}

.performance-score{
    width:120px;
    height:120px;
    border-radius:50%;
    border:4px solid #4FC3F7;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.performance-score strong{
    font-family:'Barlow Condensed', sans-serif;
    font-size:34px;
}

.performance-score span{
    color:#888888;
    font-size:12px;
    text-transform:uppercase;
}

.performance-score.good{
    border-color:#86efac;
}

.performance-score.warning{
    border-color:#fbbf24;
}

.performance-score.danger{
    border-color:#ef4444;
}

@media(max-width:1100px){
    .performance-item{
        grid-template-columns:1fr;
    }

    .performance-metrics{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){
    .performance-page{
        padding:28px 20px;
    }

    .performance-header h1{
        font-size:46px;
    }

    .performance-metrics{
        grid-template-columns:1fr;
    }
}

/* ===== ACTIVITY FEED PAGE ===== */

.activity-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.activity-header{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.activity-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    margin-top:18px;
}

.activity-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.activity-summary{
    display:grid;
    grid-template-columns:260px;
    gap:18px;
    margin-bottom:28px;
}

.activity-filter-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:28px;
    margin-bottom:28px;
}

.activity-feed-panel{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:28px;
}

@media(max-width:700px){
    .activity-page{
        padding:28px 20px;
    }

    .activity-header h1{
        font-size:46px;
    }

    .activity-summary{
        grid-template-columns:1fr;
    }
}

.global-search-form{
    display:grid;
    grid-template-columns:1fr 220px auto;
    gap:14px;
    margin-top:26px;
    max-width:1100px;
}

.search-count{
    margin-top:18px;
    color:#888888;
    font-size:15px;
}

.search-count strong{
    color:#ffffff;
}

@media(max-width:900px){
    .global-search-form{
        grid-template-columns:1fr;
    }
}

/* ===== MONTHLY CALENDAR ===== */

.monthly-calendar-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.monthly-calendar-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.monthly-calendar-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    margin-top:18px;
}

.monthly-calendar-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.calendar-nav-actions{
    display:flex;
    gap:12px;
}

.monthly-calendar-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:12px;
}

.calendar-weekday{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:14px;
    color:#4FC3F7;
    font-weight:800;
    text-align:center;
    text-transform:uppercase;
}

.calendar-day{
    min-height:170px;
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:12px;
    padding:14px;
}

.calendar-day.empty{
    opacity:.25;
}

.calendar-day.today{
    border-color:#4FC3F7;
    box-shadow:0 0 24px rgba(79,195,247,.08);
}

.calendar-day-number{
    font-family:'Barlow Condensed', sans-serif;
    font-size:30px;
    font-weight:900;
    margin-bottom:12px;
}

.calendar-day-events{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.calendar-event-pill{
    display:block;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:8px;
    padding:10px;
}

.calendar-event-pill strong{
    display:block;
    color:#ffffff;
    font-size:13px;
    margin-bottom:4px;
}

.calendar-event-pill span{
    color:#888888;
    font-size:12px;
}

@media(max-width:1000px){
    .monthly-calendar-grid{
        grid-template-columns:1fr;
    }

    .calendar-weekday{
        display:none;
    }

    .monthly-calendar-header{
        flex-direction:column;
    }
}

@media(max-width:700px){
    .monthly-calendar-page{
        padding:28px 20px;
    }

    .monthly-calendar-header h1{
        font-size:46px;
    }
}

/* ===== CLIENT TIMELINE ===== */

.client-history-feed{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.client-history-item{
    display:grid;
    grid-template-columns:56px 1fr;
    gap:18px;
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:22px;
}

.client-history-icon{
    width:56px;
    height:56px;
    border-radius:50%;
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
}

.client-history-item h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:30px;
    text-transform:uppercase;
    margin-bottom:8px;
}

.client-history-item p{
    color:#cccccc;
    line-height:1.6;
    margin-bottom:10px;
}

.client-history-item small{
    color:#888888;
}

.client-history-item.document{
    border-left:4px solid #4FC3F7;
}

.client-history-item.strategy{
    border-left:4px solid #a78bfa;
}

.client-history-item.event{
    border-left:4px solid #fbbf24;
}

.client-history-item.task{
    border-left:4px solid #86efac;
}

.client-history-item.activity{
    border-left:4px solid #ef4444;
}

/* ===== FILE PREVIEW ===== */

.file-preview-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.file-preview-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.file-preview-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    margin-top:18px;
}

.file-preview-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.file-preview-actions{
    display:flex;
    gap:12px;
}

.file-preview-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:24px;
    min-height:600px;
}

.file-preview-frame{
    width:100%;
    height:78vh;
    border:none;
    border-radius:10px;
    background:#ffffff;
}

.file-preview-image-wrap{
    display:flex;
    justify-content:center;
    align-items:center;
}

.file-preview-image-wrap img{
    max-width:100%;
    max-height:78vh;
    border-radius:12px;
}

.file-preview-text{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:22px;
    color:#ffffff;
    white-space:pre-wrap;
    overflow:auto;
    max-height:78vh;
}

@media(max-width:800px){
    .file-preview-page{
        padding:28px 20px;
    }

    .file-preview-header{
        flex-direction:column;
    }

    .file-preview-header h1{
        font-size:46px;
    }

    .file-preview-actions{
        flex-direction:column;
        width:100%;
    }
}

/* ===== ROLE ANALYTICS ===== */

.role-analytics-page{
    min-height:100vh;
    background:#0a0a0a;
    padding:42px 52px;
}

.role-analytics-header{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:34px;
    margin-bottom:34px;
}

.role-analytics-header h1{
    font-family:'Barlow Condensed', sans-serif;
    font-size:68px;
    font-weight:900;
    text-transform:uppercase;
    margin-top:18px;
}

.role-analytics-header p{
    color:#888888;
    font-size:18px;
    max-width:850px;
    line-height:1.7;
}

.role-analytics-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:24px;
}

.role-analytics-card{
    background:#111111;
    border:1px solid #2a2a2a;
    border-radius:14px;
    padding:28px;
}

.role-analytics-card-top{
    display:flex;
    justify-content:space-between;
    gap:24px;
    align-items:flex-start;
    margin-bottom:24px;
}

.role-analytics-card h3{
    font-family:'Barlow Condensed', sans-serif;
    font-size:38px;
    text-transform:uppercase;
    margin-bottom:10px;
}

.role-analytics-card p{
    color:#888888;
    line-height:1.6;
}

.role-analytics-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.role-analytics-stats div{
    background:#0a0a0a;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:18px;
}

.role-analytics-stats span{
    display:block;
    color:#888888;
    margin-bottom:8px;
    font-size:13px;
}

.role-analytics-stats strong{
    font-family:'Barlow Condensed', sans-serif;
    font-size:32px;
    color:#4FC3F7;
}

.role-analytics-actions{
    display:flex;
    gap:14px;
    margin-top:24px;
}

@media(max-width:900px){
    .role-analytics-card-top{
        flex-direction:column;
    }

    .role-analytics-stats{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){
    .role-analytics-page{
        padding:28px 20px;
    }

    .role-analytics-header h1{
        font-size:46px;
    }

    .role-analytics-stats{
        grid-template-columns:1fr;
    }
}