﻿/* ── CoolPergola Brand Variables ─────────────────── */
:root {
    /*    --cp-blue: #2B7BB9;
    --cp-blue-dark: #1B3D5C;
    --cp-blue-light: #4A9DD4;*/
    --cp-blue: #1c6ec2; /* Updated to client's color */
    --cp-blue-dark: #1c6ec2; /* Removed dark variant for flatness */
    --cp-blue-light: #1c6ec2;
    --cp-green: #1DB954;
    --cp-green-dark: #158A3E;
    --cp-orange: #F5A623;
    --cp-white: #FFFFFF;
    --cp-bg: #F0F7FF;
    --cp-sidebar-bg: #1B3D5C;
    --cp-sidebar-width: 230px;
}

/* ── Radzen Primary Override ─────────────────────── */
:root {
    /*    --rz-primary: #2B7BB9;
    --rz-primary-light: #4A9DD4;
    --rz-primary-dark: #1B3D5C;*/
    --rz-primary: #1c6ec2;
    --rz-primary-light: #1c6ec2;
    --rz-primary-dark: #1c6ec2;
    --rz-secondary: #1DB954;
    --rz-success: #1DB954;
    --rz-warning: #F5A623;
    --rz-body-background-color: #F0F7FF;
}

/* ── Sidebar ─────────────────────────────────────── */
/*.rz-sidebar {
    background: green;
    border-right: none !important;
    width: var(--cp-sidebar-width) !important;
    min-width: var(--cp-sidebar-width) !important;
    flex-shrink: 0 !important;
}*/

/* Update Sidebar to support collapsing */
.rz-sidebar {
    background-color: white !important;
    border-right: none !important;
    width: var(--cp-sidebar-width) !important;
    /* Remove the hardcoded width !important here to let Radzen handle the transition */
    transition: width 0.3s ease;
}

/* Ensure the logo hides nicely when collapsed */
.rz-sidebar-collapsed .sidebar-logo img {
    width: 40px;
    overflow: hidden;
}
/* Ensure the icon has a consistent size */
.rz-sidebar-collapsed iconify-icon {
    margin-right: 0 !important;
    font-size: 24px !important; /* Slightly larger for visibility when alone */
}
/* Dropdown Menu Styling */
.rz-profile-menu .rz-navigation-item-link {
    padding: 0 8px !important;
}

/* Fix for Footer sticking to bottom */
.rz-layout {
    min-height: 100vh;
}

/* Logo area inside sidebar */
.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.5rem;
}

    .sidebar-logo img {
        width: 140px;
        height: 80px !important;
        object-fit: contain;
    }

/* Menu items */
.rz-panel-menu {
    background: transparent !important;
    padding: 0.5rem 0 !important;
}

.rz-panel-menu-item {
    border-radius: 0 !important;
    margin: 2px 0 !important;
}

.rz-panel-menu-item-text {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.rz-panel-menu-item .rzi {
    color: rgba(255,255,255,0.7) !important;
    font-size: 1.1rem !important;
}

.rz-panel-menu-item:hover {
    background: rgba(43, 123, 185, 0.3) !important;
    border-left: 3px solid var(--cp-blue-light) !important;
}

    .rz-panel-menu-item:hover .rz-panel-menu-item-text,
    .rz-panel-menu-item:hover .rzi {
        color: white !important;
    }

/* Active menu item */
.rz-panel-menu-item.rz-state-active,
.rz-panel-menu-item-selected {
    background: linear-gradient(90deg, #2B7BB9 0%, #1a6aa8 100%) !important;
    border-left: 3px solid var(--cp-orange) !important;
}

    .rz-panel-menu-item.rz-state-active .rz-panel-menu-item-text,
    .rz-panel-menu-item.rz-state-active .rzi {
        color: white !important;
    }

/* Submenu items */
.rz-panel-menu-item .rz-panel-menu-item {
    padding-left: 2rem !important;
    background: rgba(0,0,0,0.15) !important;
}

/* ── Header / Navbar ─────────────────────────────── */
.rz-header {
    background: white !important;
    border-bottom: 2px solid #E8F4FD !important;
    box-shadow: 0 2px 12px rgba(27, 61, 92, 0.1) !important;
    height: 64px !important;
    padding: 0 1.5rem !important;
}

/* ── Body ────────────────────────────────────────── */
.rz-body {
    background-color: #F0F7FF !important;
}

.rz-content-container {
    padding: 1.5rem !important;
}

/* ── Cards ───────────────────────────────────────── */
.rz-card {
    border-radius: 8px !important;
    border: 1px solid #D6EAF8 !important;
    box-shadow: 0 2px 12px rgba(27, 61, 92, 0.07) !important;
}

/* ── Buttons ─────────────────────────────────────── */
.rz-button.rz-primary {
    /*    background: linear-gradient(135deg, #2B7BB9, #1B3D5C) !important;*/
    background: #1c6ec2 !important;
    border: none !important;
    border-radius: 8px !important;
}

    .rz-button.rz-primary:hover {
        /*        background: linear-gradient(135deg, #4A9DD4, #2B7BB9) !important;*/
        background: #165ba1 !important;
    }

.rz-button.rz-success {
    background: linear-gradient(135deg, #1DB954, #158A3E) !important;
    border: none !important;
}

/* ── DataGrid ────────────────────────────────────── */
.rz-data-grid {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #D6EAF8 !important;
}

    .rz-data-grid .rz-datatable-thead tr th {
        /*        background: #1B3D5C !important;
        color: white !important;
        font-weight: 600 !important;
        border: none !important;*/
        background: #1c6ec2 !important; /* Updated from #1B3D5C */
        color: white !important;
        font-weight: 600 !important;
        border: none !important;
    }

    .rz-data-grid .rz-datatable-tbody tr:hover {
        background: #E8F4FD !important;
    }

/* ── Form Fields ─────────────────────────────────── */
.rz-textbox, .rz-password {
    border-radius: 8px !important;
    border-color: #B8D9F0 !important;
}

    .rz-textbox:focus, .rz-password:focus {
        border-color: var(--cp-blue) !important;
        box-shadow: 0 0 0 3px rgba(43, 123, 185, 0.15) !important;
    }

/* ── Footer ──────────────────────────────────────── */
.rz-footer {
    background: white !important;
    border-top: 1px solid #E8F4FD !important;
    padding: 0.75rem 1.5rem !important;
}






.cp-layout {
    display: grid;
    grid-template-areas:
        'sidebar header'
        'sidebar body'
        'sidebar footer';
    grid-template-columns: var(--cp-sidebar-width) 1fr;
    grid-template-rows: 64px 1fr auto;
    height: 100vh;
    overflow: hidden;
}

/* ── Sidebar ─────────────────────────── */
.cp-sidebar {
    grid-area: sidebar;
    width: var(--cp-sidebar-width);
    /*    background: linear-gradient(180deg, #1B3D5C 0%, #0F2535 100%);*/
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    transition: transform 0.3s ease, width 0.3s ease;
    box-shadow: 0 0px 0px 1px rgba(27, 61, 92, 0.07) !important;
}

/* ── Header ──────────────────────────── */
.cp-header {
    grid-area: header;
    background: white;
    border-bottom: 1px solid #E8F4FD;
    box-shadow: 0 2px 8px rgba(27,61,92,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 64px;
    z-index: 999;
}

/* ── Body ────────────────────────────── */
.cp-body {
    grid-area: body;
    overflow-y: auto;
    background: #F0F7FF;
    padding: 1.5rem;
}

/* ── Footer ──────────────────────────── */
.cp-footer {
    grid-area: footer;
    background: white;
    border-top: 1px solid #E8F4FD;
    padding: 0.75rem 1.5rem;
}

/* ── Sidebar Logo ────────────────────── */
.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    margin-bottom: 0px !important;
}

    .sidebar-logo img {
        width: 150px;
        object-fit: contain;
        transition: width 0.3s ease;
    }

/* ── Menu Items ──────────────────────── */
.rz-panel-menu {
    background: transparent !important;
    padding: 0.5rem 0 !important;
    flex: 1;
}

.rz-panel-menu-item-link {
    color: #1c6ec2 !important;
    border-radius: 0 !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
}

    .rz-panel-menu-item-link:hover {
        background: rgba(43,123,185,0.25) !important;
        border-left: 3px solid #4A9DD4 !important;
        color: #1c6ec2 !important;
    }

    .rz-panel-menu-item-link.rz-navigation-item-wrapper-active {
        background: linear-gradient(90deg, rgba(43,123,185,0.5), rgba(43,123,185,0.2)) !important;
        /*        border-left: 3px solid #F5A623 !important;*/
        color: ##1c6ec2 !important;
        margin-left: 12px !important;
        border-radius: 8px !important;
        margin-right: 12px !important;
    }

.rz-panel-menu-item-icon {
    color: rgba(255,255,255,0.7) !important;
}

.rz-panel-menu-item-text {
    color: inherit !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

/* ── Hamburger Button ────────────────── */
.hamburger-btn {
    background: #F0F7FF;
    color: #2B7BB9;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

    .hamburger-btn:hover {
        background: #D6EAF8;
    }

/* ── Mobile Overlay ──────────────────── */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ── MOBILE RESPONSIVE ───────────────── */
@media (max-width: 768px) {
    .cp-layout {
        grid-template-areas:
            'header header'
            'body body'
            'footer footer';
        grid-template-columns: 1fr;
    }

    /* Sidebar slides in from left as overlay */
    .cp-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        transform: translateX(-100%);
        width: 260px !important;
    }

        .cp-sidebar.mobile-open {
            transform: translateX(0);
        }

    /* Show overlay when sidebar is open on mobile */
    .mobile-overlay.active {
        display: block;
        opacity: 1;
    }

    .cp-body {
        padding: 1rem;
    }

    .cp-header {
        padding: 0 1rem;
    }

    /* Hide text in profile menu on small screens */
    .profile-name {
        display: none;
    }
}

.cp-sidebar .rz-panel-menu .rz-navigation-item {
    border-block-end: none !important;
}

.cp-sidebar .rz-panel-menu .rz-navigation-item-wrapper .rz-navigation-item-text,
.cp-sidebar .rz-panel-menu .rz-navigation-item-wrapper .cusClass {
    color: #1c6ec2 !important;
}

/* ── Active: white bg pill ── */
.cp-sidebar .rz-panel-menu .rz-navigation-item-wrapper.rz-navigation-item-wrapper-active .rz-navigation-item-link {
    /*    background-color: rgba(255, 255, 255, 0.95) !important;*/
    background-color: #1c6ec2 !important;
    border-radius: 8px !important;
    border-block-end: none !important;
    margin-left: 12px;
    border-radius: 8px !important;
    margin-right: 12px;
    color: white !important;
}

/* ── Active: purple text + icon ── */
.cp-sidebar .rz-panel-menu .rz-navigation-item-wrapper.rz-navigation-item-wrapper-active .rz-navigation-item-text,
.cp-sidebar .rz-panel-menu .rz-navigation-item-wrapper.rz-navigation-item-wrapper-active .cusClass {
    /*    color: #4340d2 !important;*/
    color: #fff !important;
}

.rz-panel-menu .rz-navigation-item-wrapper-active {
    background-color: #fff !important;
    color: #fff !important;
}
/* ── Collapsed Sidebar (Desktop) ─────── */
.cp-layout.sidebar-collapsed {
    grid-template-columns: 55px 1fr;
    
}

    .cp-layout.sidebar-collapsed .cp-sidebar {
        width: 55px !important;
    }

    .cp-layout.sidebar-collapsed .sidebar-logo img {
        width: 32px;
    }

    /*    .cp-layout.sidebar-collapsed .rz-panel-menu-item-text {
        display: none !important;
    }*/
    /* ONLY hide text inside the sidebar's panel menu */
    .cp-layout.sidebar-collapsed .cp-sidebar .rz-navigation-item-text {
        display: none !important;
        width: 0 !important;
        overflow: hidden !important;
    }

    /* Hide the text labels completely */
    .cp-layout.sidebar-collapsed .cp-sidebar .rz-navigation-item-text,
    .cp-layout.sidebar-collapsed .cp-sidebar span {
        display: none !important;
        width: 0 !important;

    }

cp-layout.sidebar-collapsed .cp-sidebar iconify-icon {
    margin: 0 !important;
    font-size: 24px !important;
}
/* Remove any remaining margins from the icons */
.cp-layout.sidebar-collapsed .cp-sidebar iconify-icon,
.cp-layout.sidebar-collapsed .cp-sidebar .rz-navigation-item-icon {
    margin: 0 !important;
    font-size: 22px !important;
}

.cp-layout.sidebar-collapsed .sidebar-logo {
    padding: 1rem 0 !important;
    justify-content: center !important;
}
/*
    .cp-layout.sidebar-collapsed .rz-panel-menu-item-link {
        justify-content: center !important;
        padding: 0.75rem !important;
    }*/
/* ONLY center links inside the sidebar */
.cp-layout.sidebar-collapsed .cp-sidebar .rz-navigation-item-link {
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 55px !important;
    display: flex !important;
    padding: 14px 14px 14px 17px !important;
}
.cusClass{
    font-size:23px !important;
}
.customClass{
    font-size:28px !important;
}
.cp-layout.sidebar-collapsed .cp-sidebar .nav-item-wrapper {
    justify-content: center !important;
    width: 100% !important;
    gap: 0 !important;
}
/*
    .cp-layout.sidebar-collapsed .rz-panel-menu-item-icon {
        margin: 0 !important;
        font-size: 1.3rem !important;
    }*/
/* 3. Strip Icon Margins */
.cp-layout.sidebar-collapsed .cp-sidebar .rz-navigation-item-icon {
    margin: 0 !important;
    font-size: 1.4rem !important;
}

.rz-navigation-item-wrapper .rz-navigation-item-link {
    margin-left: 12px !important;
}
/*.cp-layout.sidebar-collapsed .rz-navigation-item-wrapper-active .rz-navigation-item-link {
        background-color: rgba(255, 255, 255, 0.95) !important;
        border-radius: 50% !important;*/ /* Circular highlight looks better when collapsed */
/*}*/
/* This ensures the Profile Menu in the header stays normal */
.cp-header .rz-profile-menu .rz-navigation-item-text {
    display: inline-block !important;
    width: auto !important;
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px 8px 8px 8px;
    border-bottom: 1px solid #E8F4FD;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    max-width: 350px;
}

/* ── Mobile card view ────────────────────────── */
.user-card {
    background: white;
    border-radius: 8px;
    border: 1px solid #D6EAF8;
    padding: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(27,61,92,0.06);
}

.user-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.user-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cp-blue, #2B7BB9);
    flex-shrink: 0;
}

.user-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: flex-end;
}

/* ── Hide/show based on screen ───────────────── */
.desktop-grid {
    display: block;
}

.mobile-cards {
    display: none;
}

@media (max-width: 768px) {
    .desktop-grid {
        display: none;
    }

    .mobile-cards {
        display: block;
    }

    .search-input {
        max-width: 100%;
    }
}

/* ── Action buttons ──────────────────────────── */
.btn-edit {
    /*    background: #2B7BB9 !important;
    color: white !important;
    border-radius: 8px !important;*/
    background: #1c6ec2 !important; /* Updated */
    color: white !important;
    border-radius: 8px !important;
}

.btn-delete {
    background: #e53e3e !important;
    color: white !important;
    border-radius: 8px !important;
}

/* Container to keep the image shape consistent */
.preview-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.logo-preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures the logo isn't stretched */
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mobile specific adjustment */
@media (max-width: 768px) {
    .preview-container {
        width: 100px;
        height: 100px;
        margin: 0 auto; /* Center on mobile */
    }

    .custom-upload {
        /*        text-align: center;*/
    }
}
/* Fix Radzen Notifications for MAUI Mobile */
@media (max-width: 768px) {
    .rz-notification {
        width: 70vw !important; /* Take 90% of screen width */
        left: 5vw !important; /* Center it with 5% margin */
        right: 5vw !important;
        max-width: none !important;
    }

    .rz-growl {
        top: 10px !important; /* Push it down from the top status bar */
        left: 0 !important;
        right: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rz-notification-item {
        margin-bottom: 10px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    }
}
/* Mobile View: Stack buttons vertically */
@media (max-width: 768px) {
    .button-container {
        justify-content: center !important; /* Center buttons on mobile */
    }

    .action-button {
        width: 100% !important; /* Forces buttons to take full width and stack */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Desktop View: Keep them aligned to the right */
@media (min-width: 769px) {
    .action-button {
        min-width: 140px; /* Professional consistent width for desktop */
    }
}

.rz-textarea {
    border-radius: 8px !important;
}

.rz-numeric {
    border-radius: 8px !important;
}

.rz-dropdown {
    border-radius: 8px !important;
}
/* 1. Target the scrollbar width */
::-webkit-scrollbar {
    width: 6px; /* Slimmer width for vertical scrollbars */
    height: 6px; /* Slimmer height for horizontal scrollbars */
}

/* 2. Target the Track (the background area) */
::-webkit-scrollbar-track {
    background-color: transparent; /* Match this to your sidebar background color */
}

/* 3. Target the Thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background: #1c6ec2; /* Your primary blue color */
    border-radius: 10px; /* Makes it rounded and sleek */
}

    /* 4. Target the Thumb on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #1c6ec2; /* Slightly lighter blue on hover */
    }

/* Ensure the web component aligns with your text */
iconify-icon {
    display: inline-block;
    vertical-align: middle;
    width: 1em;
    height: 1em;
}

/* Primary brand icons using the customer's color */
.icon-primary {
    color: #1c6ec2;
}

/* Sidebar/Nav specific sizing */
.nav-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

iconify-icon {
    display: inline-block !important;
    width: 1em;
    height: 1em;
    min-width: 20px;
    min-height: 20px;
}


.rz-pager {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center;
}

.rz-pager-pages {
    margin-left: auto !important;
}

.rz-pager.rz-align-justify {
    justify-content: flex-end !important;
    display: flex;
    width: 100%;
}

.rz-pager-pages {
    margin-right: 10px;
}

::deep .rz-pager {
    justify-content: flex-end !important;
    display: flex;
}

::deep .rz-pager-pages {
    flex: none !important;
}



/* ── CoolPergola Brand Variables ─────────────────── */
/*:root {
    --cp-blue: #2B7BB9;
    --cp-blue-dark: #1B3D5C;
    --cp-blue-light: #4A9DD4;
    --cp-green: #1DB954;
    --cp-green-dark: #158A3E;
    --cp-orange: #F5A623;
    --cp-white: #FFFFFF;
    --cp-bg: #F0F7FF;
    --cp-sidebar-bg: #1B3D5C;
    --cp-sidebar-width: 260px;
}*/

/* ── Radzen Primary Override ─────────────────────── */
/*:root {
    --rz-primary: #2B7BB9;
    --rz-primary-light: #4A9DD4;
    --rz-primary-dark: #1B3D5C;
    --rz-secondary: #1DB954;
    --rz-success: #1DB954;
    --rz-warning: #F5A623;
    --rz-body-background-color: #F0F7FF;
}*/


/* Update Sidebar to support collapsing */
/*.rz-sidebar {
    background-color: white !important;
    border-right: none !important;*/
/* Remove the hardcoded width !important here to let Radzen handle the transition */
/*transition: width 0.3s ease;
}*/

/* Ensure the logo hides nicely when collapsed */
/*.rz-sidebar-collapsed .sidebar-logo img {
    width: 40px;
    overflow: hidden;
}*/

/* Dropdown Menu Styling */
/*.rz-profile-menu .rz-navigation-item-link {
    padding: 0 8px !important;
}*/

/* Fix for Footer sticking to bottom */
/*.rz-layout {
    min-height: 100vh;
}*/

/* Logo area inside sidebar */
/*.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.5rem;
}

    .sidebar-logo img {
        width: 140px;
        height: 80px !important;
        object-fit: contain;
    }*/

/* Menu items */
/*.rz-panel-menu {
    background: transparent !important;
    padding: 0.5rem 0 !important;
}

.rz-panel-menu-item {
    border-radius: 0 !important;
    margin: 2px 0 !important;
}

.rz-panel-menu-item-text {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.rz-panel-menu-item .rzi {
    color: rgba(255,255,255,0.7) !important;
    font-size: 1.1rem !important;
}

.rz-panel-menu-item:hover {
    background: rgba(43, 123, 185, 0.3) !important;
    border-left: 3px solid var(--cp-blue-light) !important;
}

    .rz-panel-menu-item:hover .rz-panel-menu-item-text,
    .rz-panel-menu-item:hover .rzi {
        color: white !important;
    }*/

/* Active menu item */
/*.rz-panel-menu-item.rz-state-active,
.rz-panel-menu-item-selected {
    background: linear-gradient(90deg, #2B7BB9 0%, #1a6aa8 100%) !important;
    border-left: 3px solid var(--cp-orange) !important;
}

    .rz-panel-menu-item.rz-state-active .rz-panel-menu-item-text,
    .rz-panel-menu-item.rz-state-active .rzi {
        color: white !important;
    }*/

/* Submenu items */
/*.rz-panel-menu-item .rz-panel-menu-item {
    padding-left: 2rem !important;
    background: rgba(0,0,0,0.15) !important;
}*/

/* ── Header / Navbar ─────────────────────────────── */
/*.rz-header {
    background: white !important;
    border-bottom: 2px solid #E8F4FD !important;
    box-shadow: 0 2px 12px rgba(27, 61, 92, 0.1) !important;
    height: 64px !important;
    padding: 0 1.5rem !important;
}*/

/* ── Body ────────────────────────────────────────── */
/*.rz-body {
    background-color: #F0F7FF !important;
}

.rz-content-container {
    padding: 1.5rem !important;
}*/

/* ── Cards ───────────────────────────────────────── */
/*.rz-card {
    border-radius: 8px !important;
    border: 1px solid #D6EAF8 !important;
    box-shadow: 0 2px 12px rgba(27, 61, 92, 0.07) !important;
}*/

/* ── Buttons ─────────────────────────────────────── */
/*.rz-button.rz-primary {
    background: linear-gradient(135deg, #2B7BB9, #1B3D5C) !important;
    border: none !important;
    border-radius: 8px !important;
}

    .rz-button.rz-primary:hover {
        background: linear-gradient(135deg, #4A9DD4, #2B7BB9) !important;
    }

.rz-button.rz-success {
    background: linear-gradient(135deg, #1DB954, #158A3E) !important;
    border: none !important;
}*/

/* ── DataGrid ────────────────────────────────────── */
/*.rz-data-grid {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #D6EAF8 !important;
}

    .rz-data-grid .rz-datatable-thead tr th {
        background: #1B3D5C !important;
        color: white !important;
        font-weight: 600 !important;
        border: none !important;
    }

    .rz-data-grid .rz-datatable-tbody tr:hover {
        background: #E8F4FD !important;
    }*/

/* ── Form Fields ─────────────────────────────────── */
/*.rz-textbox, .rz-password {
    border-radius: 8px !important;
    border-color: #B8D9F0 !important;
}

    .rz-textbox:focus, .rz-password:focus {
        border-color: var(--cp-blue) !important;
        box-shadow: 0 0 0 3px rgba(43, 123, 185, 0.15) !important;
    }*/

/* ── Footer ──────────────────────────────────────── */
/*.rz-footer {
    background: white !important;
    border-top: 1px solid #E8F4FD !important;
    padding: 0.75rem 1.5rem !important;
}






.cp-layout {
    display: grid;
    grid-template-areas:
        'sidebar header'
        'sidebar body'
        'sidebar footer';
    grid-template-columns: var(--cp-sidebar-width) 1fr;
    grid-template-rows: 64px 1fr auto;
    height: 100vh;
    overflow: hidden;
}*/

/* ── Sidebar ─────────────────────────── */
/*.cp-sidebar {
    grid-area: sidebar;
    width: var(--cp-sidebar-width);
    background: linear-gradient(180deg, #1B3D5C 0%, #0F2535 100%);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    transition: transform 0.3s ease, width 0.3s ease;
}*/

/* ── Header ──────────────────────────── */
/*.cp-header {
    grid-area: header;
    background: white;
    border-bottom: 1px solid #E8F4FD;
    box-shadow: 0 2px 8px rgba(27,61,92,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 64px;
    z-index: 999;
}*/

/* ── Body ────────────────────────────── */
/*.cp-body {
    grid-area: body;
    overflow-y: auto;
    background: #F0F7FF;
    padding: 1.5rem;
}*/

/* ── Footer ──────────────────────────── */
/*.cp-footer {
    grid-area: footer;
    background: white;
    border-top: 1px solid #E8F4FD;
    padding: 0.75rem 1.5rem;
}*/

/* ── Sidebar Logo ────────────────────── */
/*.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

    .sidebar-logo img {
        width: 150px;
        object-fit: contain;
        transition: width 0.3s ease;
    }*/

/* ── Menu Items ──────────────────────── */
/*.rz-panel-menu {
    background: transparent !important;
    padding: 0.5rem 0 !important;
    flex: 1;
}

.rz-panel-menu-item-link {
    color: rgba(255,255,255,0.85) !important;
    border-radius: 0 !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
}

    .rz-panel-menu-item-link:hover {
        background: rgba(43,123,185,0.25) !important;
        border-left: 3px solid #4A9DD4 !important;
        color: white !important;
    }

    .rz-panel-menu-item-link.rz-navigation-item-wrapper-active {
        background: linear-gradient(90deg, rgba(43,123,185,0.5), rgba(43,123,185,0.2)) !important;*/
/*        border-left: 3px solid #F5A623 !important;*/
/*color: white !important;
        margin-left: 12px !important;
        border-radius: 8px !important;
        margin-right: 12px !important;
    }

.rz-panel-menu-item-icon {
    color: rgba(255,255,255,0.7) !important;
}

.rz-panel-menu-item-text {
    color: inherit !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}*/

/* ── Hamburger Button ────────────────── */
/*.hamburger-btn {
    background: #F0F7FF;
    color: #2B7BB9;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

    .hamburger-btn:hover {
        background: #D6EAF8;
    }*/

/* ── Mobile Overlay ──────────────────── */
/*.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}*/

/* ── MOBILE RESPONSIVE ───────────────── */
/*@media (max-width: 768px) {
    .cp-layout {
        grid-template-areas:
            'header header'
            'body body'
            'footer footer';
        grid-template-columns: 1fr;
    }*/

/* Sidebar slides in from left as overlay */
/*.cp-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        transform: translateX(-100%);
        width: 260px !important;
    }

        .cp-sidebar.mobile-open {
            transform: translateX(0);
        }*/

/* Show overlay when sidebar is open on mobile */
/*.mobile-overlay.active {
        display: block;
        opacity: 1;
    }

    .cp-body {
        padding: 1rem;
    }

    .cp-header {
        padding: 0 1rem;
    }*/

/* Hide text in profile menu on small screens */
/*.profile-name {
        display: none;
    }
}

.cp-sidebar .rz-panel-menu .rz-navigation-item {
    border-block-end: none !important;
}

.cp-sidebar .rz-panel-menu .rz-navigation-item-wrapper .rz-navigation-item-text,
.cp-sidebar .rz-panel-menu .rz-navigation-item-wrapper .rz-navigation-item-icon {
    color: white !important;
}*/

/* ── Active: white bg pill ── */
/*.cp-sidebar .rz-panel-menu .rz-navigation-item-wrapper.rz-navigation-item-wrapper-active .rz-navigation-item-link {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px !important;
    border-block-end: none !important;
    margin-left: 12px;
    border-radius: 8px !important;
    margin-right: 12px;
}*/

/* ── Active: purple text + icon ── */
/*.cp-sidebar .rz-panel-menu .rz-navigation-item-wrapper.rz-navigation-item-wrapper-active .rz-navigation-item-text,
.cp-sidebar .rz-panel-menu .rz-navigation-item-wrapper.rz-navigation-item-wrapper-active .rz-navigation-item-icon {
    color: #4340d2 !important;
}*/

/* ── Collapsed Sidebar (Desktop) ─────── */
/*.cp-layout.sidebar-collapsed {
    grid-template-columns: 55px 1fr;
}

    .cp-layout.sidebar-collapsed .cp-sidebar {
        width: 55px !important;
    }

    .cp-layout.sidebar-collapsed .sidebar-logo img {
        width: 32px;
    }*/

/*    .cp-layout.sidebar-collapsed .rz-panel-menu-item-text {
        display: none !important;
    }*/
/* ONLY hide text inside the sidebar's panel menu */
/*.cp-layout.sidebar-collapsed .cp-sidebar .rz-navigation-item-text {
        display: none !important;
        width: 0 !important;
        overflow: hidden !important;
    }*/
/*
    .cp-layout.sidebar-collapsed .rz-panel-menu-item-link {
        justify-content: center !important;
        padding: 0.75rem !important;
    }*/
/* ONLY center links inside the sidebar */
/*.cp-layout.sidebar-collapsed .cp-sidebar .rz-navigation-item-link {
        justify-content: center !important;
        padding: 0 !important;
        margin: 0px !important;
        width: 55px !important;
        height: 42px !important;
        border-left: none !important;
    }*/

/*
    .cp-layout.sidebar-collapsed .rz-panel-menu-item-icon {
        margin: 0 !important;
        font-size: 1.3rem !important;
    }*/
/* 3. Strip Icon Margins */
/*.cp-layout.sidebar-collapsed .cp-sidebar .rz-navigation-item-icon {
        margin: 0 !important;
        font-size: 1.4rem !important;
    }

.rz-navigation-item-wrapper .rz-navigation-item-link {
    margin-left: 12px !important;
}*/
/*.cp-layout.sidebar-collapsed .rz-navigation-item-wrapper-active .rz-navigation-item-link {
        background-color: rgba(255, 255, 255, 0.95) !important;
        border-radius: 50% !important;*/ /* Circular highlight looks better when collapsed */
/*}*/
/* This ensures the Profile Menu in the header stays normal */
/*.cp-header .rz-profile-menu .rz-navigation-item-text {
    display: inline-block !important;
    width: auto !important;
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px 8px 8px 8px;
    border-bottom: 1px solid #E8F4FD;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    max-width: 350px;
}*/

/* ── Mobile card view ────────────────────────── */
/*.user-card {
    background: white;
    border-radius: 8px;
    border: 1px solid #D6EAF8;
    padding: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(27,61,92,0.06);
}

.user-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.user-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cp-blue, #2B7BB9);
    flex-shrink: 0;
}

.user-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: flex-end;
}*/

/* ── Hide/show based on screen ───────────────── */
/*.desktop-grid {
    display: block;
}

.mobile-cards {
    display: none;
}

@media (max-width: 768px) {
    .desktop-grid {
        display: none;
    }

    .mobile-cards {
        display: block;
    }

    .search-input {
        max-width: 100%;
    }
}*/

/* ── Action buttons ──────────────────────────── */
/*.btn-edit {
    background: #2B7BB9 !important;
    color: white !important;
    border-radius: 8px !important;
}

.btn-delete {
    background: #e53e3e !important;
    color: white !important;
    border-radius: 8px !important;
}*/

/* Container to keep the image shape consistent */
/*.preview-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.logo-preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;*/ /* Ensures the logo isn't stretched */
/*}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}*/

/* Mobile specific adjustment */
/*@media (max-width: 768px) {
    .preview-container {
        width: 100px;
        height: 100px;
        margin: 0 auto;*/ /* Center on mobile */
/*}

    .custom-upload {
        text-align: center;
    }
}*/
/* Fix Radzen Notifications for MAUI Mobile */
/*@media (max-width: 768px) {
    .rz-notification {
        width: 70vw !important;*/ /* Take 90% of screen width */
/*left: 5vw !important;*/ /* Center it with 5% margin */
/*right: 5vw !important;
        max-width: none !important;
    }

    .rz-growl {
        top: 10px !important;*/ /* Push it down from the top status bar */
/*left: 0 !important;
        right: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rz-notification-item {
        margin-bottom: 10px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    }
}*/
/* Mobile View: Stack buttons vertically */
/*@media (max-width: 768px) {
    .button-container {
        justify-content: center !important;*/ /* Center buttons on mobile */
/*}

    .action-button {
        width: 100% !important;*/ /* Forces buttons to take full width and stack */
/*margin-left: 0 !important;
        margin-right: 0 !important;
    }
}*/

/* Desktop View: Keep them aligned to the right */
/*@media (min-width: 769px) {
    .action-button {
        min-width: 140px;*/ /* Professional consistent width for desktop */
/*}
}

.rz-textarea {
    border-radius: 8px !important;
}

.rz-numeric {
    border-radius: 8px !important;
}

.rz-dropdown {
    border-radius: 8px !important;
}*/
/* 1. Target the scrollbar width */
/*::-webkit-scrollbar {
    width: 6px;*/ /* Slimmer width for vertical scrollbars */
/*height: 6px;*/ /* Slimmer height for horizontal scrollbars */
/*}*/

/* 2. Target the Track (the background area) */
/*::-webkit-scrollbar-track {
    background-color: transparent;*/ /* Match this to your sidebar background color */
/*}*/

/* 3. Target the Thumb (the draggable part) */
/*::-webkit-scrollbar-thumb {
    background:green;*/ /* Your primary blue color */
/*border-radius: 10px;*/ /* Makes it rounded and sleek */
/*}*/

/* 4. Target the Thumb on hover */
/*::-webkit-scrollbar-thumb:hover {
        background: green;*/ /* Slightly lighter blue on hover */
/*}*/
