/* =====================================================
   RSolutions eCRM - Dashboard & Admin CSS
   ===================================================== */
.crm-wrapper {
    display: flex;
    min-height: 100vh;
    background: #F1F5F9;
}

.sidebar {
    width: 260px;
    min-height: 100vh;
    background: var(--black);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 200;
    overflow-y: auto;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.sidebar-logo-icon {
    width: 45px;
    height: auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

    .sidebar-logo-icon img {
        background-color: #fff;
        padding: 3px;
        border-radius: 5px;
    }

.sidebar-logo-text {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 500;
}

.sidebar-user {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg,#F5A623,#E67817);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: .85rem;
    color: var(--bg);
    flex-shrink: 0;
}

.sidebar-user-name {
    font-size: .8rem;
    font-weight: 500;
    line-height: 1.2;
    color: var( --brand);
}

.sidebar-user-role {
    font-size: .73rem;
    color: rgba(255,255,255,.5);
}

.sidebar-nav {
    padding: .75rem 0;
    flex: 1;
}

.nav-section-title {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.3);
    padding: .6rem 1.5rem .3rem;
    margin-top: .5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem 1.5rem;
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255,255,255,.6);
    border-left: 3px solid transparent;
    text-decoration: none;
    transition: all .2s;
}

    .nav-item:hover {
        color: var(--bg);
        background: rgba(255,255,255,.06);
        text-decoration: none;
    }

    .nav-item.active {
        color: var(--bg);
        background: rgba(255,165,0,.12);
        border-left-color: var(--brand);
    }

.nav-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.nav-badge {
    margin-left: auto;
    background: var(--brand-deep);
    color: var(--bg);
    font-size: .65rem;
    font-weight: 500;
    padding: 2px 0px 0px 0px;
    border-radius: 20px;
    min-width: 22px;
    min-height: 22px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.07);
}

.logout-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: rgba(255,255,255,.5);
    font-size: .875rem;
    text-decoration: none;
    padding: .4rem 0;
    transition: color .2s;
}

    .logout-link:hover {
        color: var(--brand);
        text-decoration: none;
    }

.main-content {
    margin-left: 260px;
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 70%;
}

.topbar {
    height: 64px;
    background: var(--bg);
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.topbar-title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    flex: 1;
    color: var(--black);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--black);
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    font-size: 1rem;
    color: #64748B;
    text-decoration: none;
    transition: all .2s;
    position: relative;
}

    .icon-btn:hover {
        background: #E2E8F0;
        color: var(--black);
    }

.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--brand);
    color: var(--bg);
    font-size: .6rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.page-content {
    padding: 2rem;
    flex: 1;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.page-header-left h2 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--black);
    margin: 0;
}

.page-header-left p {
    color: #64748B;
    font-size: .875rem;
    margin: .25rem 0 0;
}

.page-header-actions {
    /* display: flex;
    gap: .75rem;
    align-items: center;*/
    display: inline;
    text-align: right;
}

.card {
    background: var(--bg);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,.07),0 4px 16px rgba(0,0,0,.03);
    overflow: hidden;
}

.card-header {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

    .card-title i {
        color: var(--brand-deep);
        padding-right: 5px;
    }

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #E2E8F0;
    background: #FAFBFC;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.kpi-card {
    background: var(--bg);
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.07),0 4px 16px rgba(0,0,0,.03);
    position: relative;
    overflow: hidden;
    transition: transform .2s,box-shadow .2s;
}

    .kpi-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(0,0,0,.08);
    }

.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.kpi-value {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--black);
    margin: 0 0 .2rem;
    line-height: 1;
}

.kpi-label {
    font-size: .82rem;
    color: #64748B;
    font-weight: 500;
    margin: 0;
}

.kpi-change {
    font-size: .78rem;
    margin-top: .5rem;
    font-weight: 600;
}

    .kpi-change.up {
        color: #10B981;
    }

    .kpi-change.down {
        color: var(--brand);
    }

.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.2rem;
    border-radius: 9px;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    transition: all .2s;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg,#F5A623,#E67817);
    color: var(--bg);
    box-shadow: 0 2px 8px rgba(255,165,0,.25);
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(255,165,0,.35);
        color: var(--bg);
        text-decoration: none;
    }

.btn-secondary {
    background: var(--bg);
    color: var(--black);
    border: 1.5px solid var(--black);
}

    .btn-secondary:hover {
        background: #F8FAFC;
        color: var(--brand-deep);
        border: 1.5px solid var(--brand-deep);
        text-decoration: none;
    }

.btn-outline-primary {
    background: transparent;
    color: var(--brand);
    border: 1.5px solid var(--brand);
}

    .btn-outline-primary:hover {
        background: rgba(255,165,0,.06);
        text-decoration: none;
    }

.btn-danger {
    background: var(--brand);
    color: var(--bg);
}

    .btn-danger:hover {
        background: #DC2626;
        color: var(--bg);
        text-decoration: none;
    }

.btn-warning {
    background: #ffc107;
}

    .btn-warning:hover {
        background: #e6ac00;
        color: #fff;
        text-decoration: none;
    }

.btn-success {
    background: #10B981;
    color: var(--bg);
}

    .btn-success:hover {
        background: #059669;
        color: var(--bg);
        text-decoration: none;
    }

.btn-sm {
    padding: .38rem .85rem;
    font-size: .8rem;
}

.btn-lg {
    padding: .75rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: .83rem;
    color: #374151;
    margin-bottom: .4rem;
}

.required {
    color: var(--brand);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: .7rem 1rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 9px;
    font-size: .9rem;
    font-family: var(--font-body);
    color: var(--black);
    background: var(--bg);
    transition: border-color .2s,box-shadow .2s;
    box-sizing: border-box;
}

    .form-control:focus {
        outline: none;
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(255,165,0,.1);
    }

.form-hint {
    font-size: .78rem;
    color: #94A3B8;
    margin-top: .3rem;
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.form-section {
    background: #FAFBFC;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #E2E8F0;
}

.form-section-title {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #E2E8F0;
}

.table-wrapper {
    overflow-x: auto;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

    .crm-table th {
        text-align: left;
        padding: .7rem 1rem;
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        color: #64748B;
        background: #F8FAFC;
        border-bottom: 1px solid #E2E8F0;
        white-space: nowrap;
    }

    .crm-table td {
        padding: .85rem 1rem;
        border-bottom: 1px solid #F1F5F9;
        vertical-align: middle;
        color: #374151;
        line-height: 1.4;
    }

    .crm-table tbody tr:last-child td {
        border-bottom: none;
    }

    .crm-table tbody tr:hover td {
        background: #FAFBFC;
    }

.badge {
    display: inline-flex;
    align-items: center;
    padding: .22rem .6rem;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-success {
    background: #D1FAE5;
    color: #065F46;
}

.badge-warning {
    background: #FEF3C7;
    color: #92400E;
}

.badge-danger {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-info {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-gray {
    background: #F1F5F9;
    color: #475569;
}

.badge-orange {
    background: #FFF7ED;
    color: #C2410C;
}

.badge-purple {
    background: #F5F3FF;
    color: #6D28D9;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 500;
    color: var(--bg);
    background: linear-gradient(135deg,#F5A623,#E67817);
    flex-shrink: 0;
}

.avatar-sm {
    width: 28px;
    height: 28px;
    font-size: .68rem;
}

.avatar-md {
    width: 36px;
    height: 36px;
    font-size: .82rem;
}

.avatar-lg {
    width: 48px;
    height: 48px;
    font-size: 1rem;
}

.avatar-xl {
    width: 64px;
    height: 64px;
    font-size: 1.3rem;
}

.avatar-blue {
    background: linear-gradient(135deg,#3B82F6,#6366F1);
}

.avatar-green {
    background: linear-gradient(135deg,#10B981,#059669);
}

.avatar-purple {
    background: linear-gradient(135deg,#8B5CF6,#7C3AED);
}

.avatar-stack {
    display: flex;
}

    .avatar-stack .avatar {
        margin-left: -8px;
        border: 2px solid white;
    }

        .avatar-stack .avatar:first-child {
            margin-left: 0;
        }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: .4rem;
}

    .status-dot.green {
        background: #10B981;
    }

    .status-dot.yellow {
        background: #F59E0B;
    }

    .status-dot.red {
        background: #FF2C2C;
    }

    .status-dot.blue {
        background: #3B82F6;
    }

    .status-dot.gray {
        background: #94A3B8;
    }

.progress {
    background: #F1F5F9;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg,var(--brand),#E67817);
}

.progress-sm {
    height: 6px;
}

.progress-md {
    height: 8px;
}

.progress-lg {
    height: 12px;
}

.progress-bar.green {
    background: linear-gradient(90deg,#10B981,#34D399);
}

.progress-bar.blue {
    background: linear-gradient(90deg,#3B82F6,#60A5FA);
}

.progress-bar.red {
    background: linear-gradient(90deg,#EF4444,#F87171);
}

.tab-nav {
    display: flex;
    gap: 0;
    background: var(--bg);
    border-radius: 10px;
    padding: .3rem;
    width: fit-content;
    box-shadow: 0 1px 3px rgba(0,0,0,.07);
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: .45rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: .875rem;
    font-weight: 500;
    border: none;
    background: transparent;
    color: #64748B;
    font-family: var(--font-body);
    transition: all .2s;
}

    .tab-btn.active {
        background: linear-gradient(135deg,#F5A623,#E67817);
        color: var(--bg);
        box-shadow: 0 2px 8px rgba(255,165,0,.3);
    }

.alert {
    padding: .85rem 1rem;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: 1.25rem !important;
    border: 1px solid transparent;
    z-index: 99;
}

.alert-success {
    background: #D1FAE5;
    border-color: #A7F3D0;
    color: #065F46;
}

.alert-danger {
    background: #FEE2E2;
    border-color: #FECACA;
    color: #991B1B;
}

.alert-warning {
    background: #FEF3C7;
    border-color: #FDE68A;
    color: #92400E;
}

.alert-info {
    background: #DBEAFE;
    border-color: #BFDBFE;
    color: #1E40AF;
}

.filter-bar {
    display: flex;
    gap: .75rem;
    align-items: center;
    background: var(--bg);
    padding: .75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    flex-wrap: wrap;
}

.filter-input {
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    padding: .5rem .85rem;
    font-size: .875rem;
    font-family: var(--font-body);
    color: var(--black);
    background: var(--bg);
    min-width: 150px;
    transition: border-color .2s;
}

    .filter-input:focus {
        outline: none;
        border-color: var(--brand);
    }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.5rem;
}

.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.grid-1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
}

.timeline {
    position: relative;
    padding-left: 1.75rem;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 8px;
        top: 6px;
        bottom: 0;
        width: 2px;
        background: #E2E8F0;
    }

.timeline-item {
    position: relative;
    margin-bottom: 1.25rem;
}

.timeline-dot {
    position: absolute;
    left: -1.75rem;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand);
    border: 3px solid white;
    box-shadow: 0 0 0 2px rgba(255,165,0,.25);
}

    .timeline-dot.green {
        background: #10B981;
    }

    .timeline-dot.blue {
        background: #3B82F6;
    }

    .timeline-dot.red {
        background: var(--brand);
    }

.timeline-content {
    font-size: .875rem;
}

    .timeline-content strong {
        font-weight: 600;
        color: var(--black);
    }

.timeline-time {
    font-size: .75rem;
    color: #94A3B8;
    margin-top: .15rem;
}

.kanban-board {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.kanban-col {
    min-width: 270px;
    max-width: 290px;
    background: #F8FAFC;
    border-radius: 12px;
    padding: 1rem;
    flex-shrink: 0;
    border: 1px solid #E2E8F0;
}

.kanban-col-header {
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #374151;
}

.kanban-col-count {
    width: 22px;
    height: 22px;
    background: #E2E8F0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 700;
    color: #475569;
}

.kanban-card {
    background: var(--bg);
    border-radius: 10px;
    padding: .9rem 1rem;
    margin-bottom: .7rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    border-left: 3px solid var(--brand);
    cursor: pointer;
    transition: all .2s;
}

    .kanban-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.1);
    }

    .kanban-card.blue {
        border-left-color: #3B82F6;
    }

    .kanban-card.green {
        border-left-color: #10B981;
    }

    .kanban-card.red {
        border-left-color: var(--brand);
    }

.kanban-card-title {
    font-size: .875rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: .35rem;
}

.kanban-card-meta {
    font-size: .775rem;
    color: #64748B;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .7rem 0;
    border-bottom: 1px solid #F1F5F9;
    font-size: .875rem;
}

    .stat-row:last-child {
        border-bottom: none;
    }

.text-muted {
    color: #64748B !important;
}

.text-primary {
    color: var(--brand);
    !important;
}

.text-success {
    color: #10B981 !important;
}

.text-danger {
    color: #EF4444 !important;
    font-size: 0.8rem;
}

.font-bold {
    font-weight: 700 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.mt-1 {
    margin-top: .5rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mb-1 {
    margin-bottom: .5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.d-flex {
    display: flex !important;
}

.align-center {
    align-items: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

.gap-1 {
    gap: .5rem !important;
}

.gap-2 {
    gap: .75rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.w-100 {
    width: 100% !important;
}

.text-center {
    text-align: center !important;
}
/* Login */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#1A1A1A 0%,#2D2D2D 50%,#3D2800 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

    .login-wrapper::before {
        content: '';
        position: absolute;
        top: -30%;
        left: -20%;
        width: 70%;
        height: 100%;
        background: radial-gradient(circle,rgba(255,165,0,.12) 0%,transparent 60%);
        pointer-events: none;
    }

.login-box {
    background: var(--bg);
    border-radius: 22px;
    padding: 2.5rem;
    width: 420px;
    max-width: 95vw;
    box-shadow: 0 40px 80px rgba(0,0,0,.4);
    position: relative;
    z-index: 1;
}

.login-logo {
    text-align: center;
    margin-bottom: 1.75rem;
}

.login-logo-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg,#F5A623,#E67817);
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: .75rem;
    box-shadow: 0 8px 20px rgba(255,165,0,.3);
    padding: 7px;
}

.login-logo h1 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--black);
}

    .login-logo h1 span {
        color: var(--brand-deep);
    }

.login-logo p {
    color: #64748B;
    font-size: .85rem;
    margin: .25rem 0 0;
}

.login-title {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 .35rem;
}

.login-subtitle {
    color: #64748B;
    font-size: .875rem;
    margin: 0 0 1.5rem;
}

.btn-login {
    width: 100%;
    padding: .9rem;
    background: linear-gradient(135deg,#F5A623,#E67817);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    font-size: .975rem;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(255,165,0,.28);
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255,165,0,.38);
    }

.login-footer {
    text-align: center;
    margin-top: 1.25rem;
    color: #64748B;
    font-size: .83rem;
}

    .login-footer a {
        color: var(--brand);
        font-weight: 600;
        text-decoration: none;
    }
/* Responsive */
@media(max-width:1024px) {
    .kpi-grid {
        grid-template-columns: repeat(2,1fr);
    }

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

    .grid-3 {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .main-content {
        margin-left: 0;
    }

    .kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

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

    .page-header {
        flex-direction: column;
        gap: 1rem;
    }
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 99px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94A3B8;
    }
