/* General Styles */
:root {
    --primary-color  : #4361ee;
    --primary-light  : #e6e9ff;
    --secondary-color: #3f37c9;
    --accent-color   : #4cc9f0;
    --text-color     : #2b2d42;
    --light-text     : #8d99ae;
    --bg-color       : #ffffff;
    --card-bg        : #f8f9fa;
    --border-color   : #e9ecef;
    --today-color    : #f72585;
    --event-color    : #4ad66d;
    --shadow         : 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition     : all 0.3s ease;
}


/* ===== DASHBOARD CANVAS STYLES ===== */
.dashboard-chart-canvas {
    display: block;
    box-sizing: border-box;
    height: 350px;
    width: 750px;
}

.user-dashboard-chart-canvas {
    display: block;
    box-sizing: border-box;
    height: 350px;
    width: 750px;
}

/* ===== DROPDOWN COMPONENT STYLES ===== */
.dropdown-content {
    display: none;
}

/* Payment iframe styles */
.payment-iframe {
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Offline payment fields */
.offline-payment-fields {
    display: none;
}

/* Attribute color swatch */
.attribute-color-swatch {
    background-color: var(--color, #000);
}

/* Category row indentation */
.category-row-indent {
    padding-left: calc(var(--level, 0) * 20px + 16px);
}

        .toast-message {
            position: fixed; 
            top: 20px;
            right: 20px;
            padding: 15px 20px;
            border-radius: 8px;
            color: #fff;
            font-family: sans-serif;
            z-index: 9999; 
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            animation: slideInRight 0.5s ease-out;
        }

        .toast-message.toast-success {
            background-color: #28a745; 
        }

        .toast-message.toast-error {
            background-color: #dc3545; 
        }
        
        .toast-close-btn {
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            line-height: 1;
            cursor: pointer;
            opacity: 0.8;
        }
        
        .toast-close-btn:hover {
            opacity: 1;
        }
        
        
        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        
        .toast-message.fade-out {
            animation: slideOutRight 0.5s ease-in forwards;
        }

        @keyframes slideOutRight {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }
    
/* Dark Mode Variables */
.dark-mode {
    --primary-color  : #4cc9f0;
    --primary-light  : #1a365d;
    --secondary-color: #4361ee;
    --text-color     : #f8f9fa;
    --light-text     : #adb5bd;
    --bg-color       : #1e1e2d;
    --card-bg        : #2a2b3d;
    --border-color   : #3a3b4d;
    --today-color    : #ff7096;
    --event-color    : #38b000;
}

/* Calendar Layout */
.calendar-header {
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    padding        : 1.5rem 0;
    margin-bottom  : 1.5rem;
    border-bottom  : 1px solid var(--border-color);
}

.calendar-title {
    font-size  : 1.5rem;
    font-weight: 600;
    color      : var(--text-color);
    margin     : 0;
}

.calendar-actions {
    display    : flex;
    align-items: center;
    gap        : 1rem;
}

.calendar-container {
    display              : grid;
    grid-template-columns: 1fr;
    gap                  : 1.5rem;
}

@media (min-width: 1200px) {
    .calendar-container {
        grid-template-columns: 300px 1fr;
    }
}

/* Sidebar Styles */
.calendar-sidebar {
    display       : flex;
    flex-direction: column;
    gap           : 1.5rem;
}

.sidebar-card {
    background   : var(--card-bg);
    border-radius: 12px;
    padding      : 1.5rem;
    box-shadow   : var(--shadow);
    transition   : var(--transition);
}

.sidebar-card:hover {
    transform : translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.add-event-btn {
    display        : flex;
    align-items    : center;
    justify-content: center;
    gap            : 0.5rem;
    width          : 100%;
    padding        : 0.75rem;
    background     : var(--primary-color);
    color          : white;
    border         : none;
    border-radius  : 8px;
    font-weight    : 500;
    cursor         : pointer;
    transition     : var(--transition);
    text-decoration: none;
}

.add-event-btn:hover {
    background: var(--secondary-color);
    transform : translateY(-1px);
}

.add-event-btn .icon {
    width : 18px;
    height: 18px;
}

/* Events List */
.events-list {
    margin       : 1.5rem 0;
    border-top   : 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding      : 0.5rem 0;
    max-height   : 300px;
    overflow-y   : auto;
}

.event-item {
    position     : relative;
    margin-bottom: 0.5rem;
}

.event-content {
    display      : flex;
    align-items  : center;
    padding      : 0.75rem;
    border-radius: 8px;
    cursor       : pointer;
    transition   : var(--transition);
}

.event-content:hover {
    background: var(--primary-light);
}

.event-indicator {
    width        : 10px;
    height       : 10px;
    background   : var(--event-color);
    border-radius: 50%;
    margin-right : 1rem;
}

.event-details {
    flex: 1;
}

.event-title {
    font-weight  : 500;
    color        : var(--text-color);
    white-space  : nowrap;
    overflow     : hidden;
    text-overflow: ellipsis;
    max-width    : 180px;
}

.event-date {
    font-size : 0.75rem;
    color     : var(--light-text);
    margin-top: 0.25rem;
}

.event-edit {
    position  : absolute;
    right     : 0.75rem;
    top       : 50%;
    transform : translateY(-50%);
    color     : var(--light-text);
    transition: var(--transition);
}

.event-edit:hover {
    color: var(--primary-color);
}

.event-edit .icon {
    width : 16px;
    height: 16px;
}

.no-events {
    text-align: center;
    padding   : 1rem;
    color     : var(--light-text);
    font-size : 0.875rem;
}

/* Mini Calendar */
.month-navigation {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    margin-bottom  : 1rem;
}

.current-month {
    font-weight: 600;
    color      : var(--text-color);
    text-align : center;
    flex       : 1;
}

.month-nav {
    background   : none;
    border       : none;
    cursor       : pointer;
    color        : var(--light-text);
    transition   : var(--transition);
    padding      : 0.5rem;
    border-radius: 6px;
}

.month-nav:hover {
    color     : var(--primary-color);
    background: var(--primary-light);
}

.nav-icon {
    width : 20px;
    height: 20px;
}

.mini-calendar-grid {
    display              : grid;
    grid-template-columns: repeat(7, 1fr);
    gap                  : 0.5rem;
    margin-bottom        : 1.5rem;
}

.day-header {
    font-size  : 0.75rem;
    font-weight: 600;
    color      : var(--light-text);
    text-align : center;
    padding    : 0.25rem 0;
}

.calendar-day {
    aspect-ratio   : 1;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
    border-radius  : 8px;
    cursor         : pointer;
    transition     : var(--transition);
    padding        : 0.25rem;
}

.calendar-day:hover {
    background: var(--primary-light);
}

.day-number {
    font-size    : 0.875rem;
    font-weight  : 500;
    margin-bottom: 0.25rem;
}

.event-preview {
    font-size    : 0.6rem;
    white-space  : nowrap;
    overflow     : hidden;
    text-overflow: ellipsis;
    width        : 100%;
    text-align   : center;
}

.regular-day {
    color: var(--light-text);
}

.today {
    background: var(--today-color);
    color     : white;
}

.today .day-number {
    font-weight: 700;
}

.has-event {
    background: var(--primary-light);
    color     : var(--primary-color);
}

.has-event .day-number {
    font-weight: 600;
}

/* Upcoming Events */
.upcoming-events {
    padding-top: 1rem;
    border-top : 1px solid var(--border-color);
}

.upcoming-event {
    display    : flex;
    align-items: center;
    gap        : 0.75rem;
    padding    : 0.5rem 0;
}

.event-dot {
    width        : 8px;
    height       : 8px;
    border-radius: 50%;
}

.event-dot.primary {
    background: var(--event-color);
}

.event-dot.secondary {
    background: var(--primary-color);
}

.event-name {
    flex         : 1;
    font-size    : 0.875rem;
    color        : var(--text-color);
    white-space  : nowrap;
    overflow     : hidden;
    text-overflow: ellipsis;
}

.event-date {
    font-size: 0.75rem;
    color    : var(--light-text);
}

/* Main Calendar */
.calendar-main {
    background   : var(--card-bg);
    border-radius: 12px;
    box-shadow   : var(--shadow);
    overflow     : hidden;
}

.calendar-wrapper {
    padding: 1.5rem;
}

/* Modal Styles */
.modal {
    display        : none;
    position       : fixed;
    top            : 0;
    left           : 0;
    width          : 100%;
    height         : 100%;
    background     : rgba(0, 0, 0, 0.5);
    z-index        : 1000;
    align-items    : center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-dialog {
    width    : 100%;
    max-width: 400px;
}

.modal-content {
    background   : var(--card-bg);
    border-radius: 12px;
    overflow     : hidden;
}

.modal-header {
    padding      : 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size  : 1.25rem;
    font-weight: 600;
    color      : var(--text-color);
    margin     : 0;
}

.modal-body {
    padding: 1.5rem;
    color  : var(--text-color);
}

.modal-footer {
    padding   : 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.modal-btn {
    padding      : 0.5rem 1.25rem;
    background   : var(--primary-color);
    color        : white;
    border       : none;
    border-radius: 6px;
    font-weight  : 500;
    cursor       : pointer;
    transition   : var(--transition);
}

.modal-btn:hover {
    background: var(--secondary-color);
}

/* Utility Classes */
.icon {
    width : 16px;
    height: 16px;
}

.setting-toggle {
    margin-right: 0.5rem;
}

.setting-label {
    font-size: 0.875rem;
    color    : var(--light-text);
}

.print-btn {
    display      : flex;
    align-items  : center;
    gap          : 0.5rem;
    padding      : 0.5rem 1rem;
    background   : var(--primary-color);
    color        : white;
    border       : none;
    border-radius: 6px;
    font-weight  : 500;
    cursor       : pointer;
    transition   : var(--transition);
}

.print-btn:hover {
    background: var(--secondary-color);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display        : flex;
    align-items    : center;
    justify-content: center;
    width          : 36px;
    height         : 36px;
    background     : var(--card-bg);
    border         : 1px solid var(--border-color);
    border-radius  : 6px;
    cursor         : pointer;
    transition     : var(--transition);
}

.dropdown-toggle:hover {
    background: var(--primary-light);
    color     : var(--primary-color);
}

.dropdown-content {
    position     : absolute;
    right        : 0;
    top          : 100%;
    width        : 160px;
    background   : var(--card-bg);
    border-radius: 8px;
    box-shadow   : var(--shadow);
    padding      : 0.5rem;
    z-index      : 10;
    display      : none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    display        : flex;
    align-items    : center;
    gap            : 0.5rem;
    padding        : 0.5rem;
    color          : var(--text-color);
    text-decoration: none;
    border-radius  : 6px;
    transition     : var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-light);
    color     : var(--primary-color);
}

/* Dark Mode Toggle (optional) */
.dark-mode-toggle {
    position: fixed;
    bottom  : 20px;
    right   : 20px;
    z-index : 100;
}

/* هذا هو الكود المقابل لـ Tailwind CSS classes */
/* يتم إنشاؤه تلقائيًا في الخلفية بواسطة Tailwind */
.green-button {
    padding-left              : 1.5rem;
    /* px-6 */
    padding-right             : 1.5rem;
    /* px-6 */
    padding-top               : 0.75rem;
    /* py-3 */
    padding-bottom            : 0.75rem;
    /* py-3 */
    background-image          : linear-gradient(to right, var(--tw-gradient-stops));
    /* bg-gradient-to-r */
    --tw-gradient-from        : #22c55e;
    /* from-green-500 */
    --tw-gradient-to          : #10b981;
    /* to-emerald-500 */
    color                     : #fff;
    /* text-white */
    border-radius             : 0.5rem;
    /* rounded-lg */
    font-weight               : 500;
    /* font-medium */
    box-shadow                : 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
    transition-property       : all;
    /* transition-all */
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    /* duration-200 */
    transition-duration       : 200ms;
}

/* حالة hover */
.green-button:hover {
    --tw-gradient-from: #16a34a;
    /* hover          :from-green-600 */
    --tw-gradient-to  : #059669;
    /* hover          :to-emerald-600 */
    box-shadow        : 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* hover          :shadow-xl */
    transform         : scale(1.05);
    /* hover          :scale-105 */
}

/* Premium Footer CSS */
.premium-footer {
    background : linear-gradient(to bottom, #111827 0%, #000000 100%);
    color      : #9CA3AF;
    padding    : 2rem 1.5rem;
    border-top : 1px solid #1F2937;
    font-family: 'tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
}

.premium-footer-container {
    max-width      : 80rem;
    margin-left    : auto;
    margin-right   : auto;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: space-between;
    gap            : 1.5rem;
}

@media (min-width: 768px) {
    .premium-footer-container {
        flex-direction: row;
    }
}

/* Branding Section */
.footer-branding {
    display    : flex;
    align-items: center;
    gap        : 0.5rem;
}

.footer-branding-icon {
    height: 1.5rem;
    width : 1.5rem;
    color : #F59E0B;
}

.footer-branding-text {
    font-size     : 0.875rem;
    font-weight   : 300;
    letter-spacing: 0.05em;
}

/* Copyright Section */
.footer-copyright {
    text-align    : center;
    font-size     : 0.75rem;
    gap           : 1rem;
    opacity       : 0.8;
    letter-spacing: 0.025em;
}

@media (min-width: 640px) {
    .footer-copyright {
        font-size: 0.875rem;
    }
}

.footer-copyright-separator {
    display: none;
}

@media (min-width: 640px) {
    .footer-copyright-separator {
        display: inline-block;
    }
}

.footer-version {
    color: #6B7280;
}

/* Support Section */
.footer-support {
    display    : flex;
    align-items: center;
    gap        : 0.5rem;
    color      : #D1D5DB;
    font-size  : 0.875rem;
    font-weight: 500;
    transition : all 0.3s ease;
}

.footer-support:hover {
    color: #FFFFFF;
}

.support-link-text {
    position: relative;
}

.support-link-text span {
    display   : block;
    transition: opacity 0.3s ease;
}

.support-link-text span:last-child {
    position       : absolute;
    top            : 0;
    left           : 0;
    opacity        : 0;
    display        : flex;
    align-items    : center;
    justify-content: center;
    gap            : 0.25rem;
}

.footer-support:hover .support-link-text span:first-child {
    opacity: 0;
}

.footer-support:hover .support-link-text span:last-child {
    opacity: 1;
}

.support-icon {
    height: 1rem;
    width : 1rem;
}

/* Premium Badge */
.footer-premium-badge {
    max-width      : 80rem;
    margin-left    : auto;
    margin-right   : auto;
    margin-top     : 1.5rem;
    padding-top    : 1.5rem;
    border-top     : 1px solid #1F2937;
    display        : flex;
    justify-content: center;
}

.badge-inner {
    background-color: rgba(31, 41, 55, 0.5);
    padding         : 0.25rem 0.75rem;
    border-radius   : 9999px;
    font-size       : 0.75rem;
    color           : #F59E0B;
    letter-spacing  : 0.05em;
}


/* General Toggle Switch Style */
.toggle-switch-label input:checked~.dot {
    transform: translateX(100%);
}

.toggle-switch-label input:checked~.block {
    background-color: #4f46e5;
}

/* indigo-600 */


select {
    background-image          : url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position       : right 0.5rem center;
    background-repeat         : no-repeat;
    background-size           : 1.5em 1.5em;
    -webkit-print-color-adjust: exact;
    print-color-adjust        : exact;
}


.sidebar-nav {
    padding        : 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background-color: #e5e7eb;
    border-radius   : 3px;
}

.nav-item {
    margin-bottom: 0.25rem;
}

.nav-link {
    color      : #4b5563;
    font-weight: 500;
}

.nav-link:hover {
    background-color: #f3f4f6;
    color           : #1f2937;
}

.nav-link.active {
    background-color: #eef2ff;
    color           : #4f46e5;
    font-weight     : 600;
}

.nav-group-toggle {
    color      : #4b5563;
    font-weight: 500;
}

.nav-group-toggle:hover {
    background-color: #f3f4f6;
    color           : #1f2937;
}

.nav-group-toggle.active {
    background-color: #eef2ff;
    color           : #4f46e5;
    font-weight     : 600;
}

.nav-group-toggle.active .nav-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    max-height: 0;
    overflow  : hidden;
    transition: max-height 0.3s ease-out;
}

.nav-submenu.show {
    max-height: 1000px;
}

.nav-sublink {
    color    : #6b7280;
    font-size: 0.875rem;
}

.nav-sublink:hover {
    background-color: #f9fafb;
    color           : #4f46e5;
}

.nav-sublink.active {
    background-color: #eef2ff;
    color           : #4f46e5;
    font-weight     : 500;
}

/* RTL Support */
[dir="rtl"] .nav-text {
    margin-left : 0;
    margin-right: 0.75rem;
}

[dir="rtl"] .nav-arrow {
    margin-left : 0;
    margin-right: auto;
    transform   : rotate(180deg);
}

[dir="rtl"] .nav-group-toggle.active .nav-arrow {
    transform: rotate(0deg);
}

[dir="rtl"] .nav-submenu {
    padding-right: 1rem;
    padding-left : 0;
}

/* Fix for navigation dropdown positioning */
.store-nav-dropdown {
    position: relative;
    overflow: visible !important;
}

/* Ensure proper z-index for dropdowns */
.store-nav-dropdown .absolute {
    z-index: 9999 !important;
    position: absolute !important;
    left: 100% !important;
    right: auto !important;
    top: 0 !important;
    transform: none !important;
    margin-left: 2px !important;
}

/* Prevent parent containers from clipping dropdowns */
.navigation-container {
    overflow: visible !important;
}

/* Ensure dropdown submenus appear correctly */
.relative .absolute {
    position: absolute !important;
}

/* Fix for RTL dropdown positioning */
[dir="rtl"] .store-nav-dropdown .absolute {
    left: auto !important;
    right: 100% !important;
    top: 0 !important;
    margin-left: 0 !important;
    margin-right: 2px !important;
}

/* Prevent dropdowns from centering - removed conflicting rules */

/* Fix multi-level dropdown positioning */
.store-nav-dropdown .store-nav-dropdown .absolute {
    left: 100% !important;
    top: 0 !important;
    margin-left: 2px !important;
    z-index: 70 !important;
}

[dir="rtl"] .store-nav-dropdown .store-nav-dropdown .absolute {
    left: auto !important;
    right: 100% !important;
    margin-left: 0 !important;
    margin-right: 2px !important;
}

/* Ensure proper spacing between dropdown levels */
.store-nav-dropdown {
    position: relative !important;
}

.store-nav-dropdown .absolute {
    min-width: 200px !important;
    white-space: nowrap !important;
}

/* Prevent dropdown overlap */
.store-nav-dropdown .store-nav-dropdown {
    position: relative !important;
}

/* Improve dropdown visibility */
.store-nav-dropdown .absolute.z-\[50\] {
    z-index: 60 !important;
}

.store-nav-dropdown .store-nav-dropdown .absolute.z-\[60\] {
    z-index: 70 !important;
}

        :root {
            --primary-hover: #4338ca;
            --dark: #1e293b;
            --light: #f8fafc;
            --sidebar-width: 280px;
            --topbar-height: 70px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius-xl: 16px;
            --radius-lg: 12px;
        }
        
        /* Admin Layout */
        .admin-layout {
            display: flex;
            min-height: 100vh;
            background-color: #f1f5f9;
        }
        
        /* Top Navigation Bar - Enhanced */
        .admin-topbar {
            height: var(--topbar-height);
            background: white;
            box-shadow: var(--shadow-lg);
            position: fixed;
            top: 0;
            right: 0;
            left: var(--sidebar-width);
            z-index: 100;
            display: flex;
            align-items: center;
            padding: 0 2rem;
            transition: var(--transition);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        /* Sidebar - Enhanced */
        .admin-sidebar {
            width: var(--sidebar-width);
            background: white;
            position: fixed;
            top: 0;
            bottom: 0;
            z-index: 110;
            transition: var(--transition);
            overflow-y: auto;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
            border-right: 1px solid #e2e8f0;
        }
        
        /* Main Content - Enhanced */
        .admin-main {
            flex: 1;
            margin-top: var(--topbar-height);
            margin-left: var(--sidebar-width);
            padding: 2rem;
            transition: var(--transition);
            min-height: calc(100vh - var(--topbar-height));
        }
        
        /* Logo Styles */
        .admin-logo img {
            max-height: 40px;
            transition: var(--transition);
        }
        
        .admin-logo img:hover {
            transform: scale(1.05);
        }
        
        /* Sidebar Toggle Button */
        .sidebar-toggle {
            transition: var(--transition);
            border-radius: 50%;
            padding: 0.5rem;
            margin-right: 1rem;
        }
        
        .sidebar-toggle:hover {
            background-color: rgba(79, 70, 229, 0.1);
            color: var(--primary);
        }
        
        /* User Dropdown */
        .user-avatar {
            transition: var(--transition);
            border: 2px solid transparent;
            width: 36px;
            height: 36px;
        }
        
        .user-avatar:hover {
            border-color: var(--primary);
            transform: scale(1.05);
        }
        
        /* Responsive Adjustments */
        @media (max-width: 1024px) {
            .admin-sidebar {
                transform: translateX(-100%);
                z-index: 120;
            }
            
            .admin-sidebar.show {
                transform: translateX(0);
            }
            
            .admin-topbar {
                left: 0;
            }
            
            .admin-main {
                margin-left: 0;
            }
        }

/* Custom styles for the dashboard */
.sidebar {
    transition: all 0.3s ease;
}

.sidebar.collapsed {
    width: 80px;
}

.nav-link {
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.btn {
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* Sidebar Navigation Styles */
.nav-group {
    margin-bottom: 0.5rem;
}

.nav-group-toggle {
    border: none;
    background: none;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.nav-group-toggle:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.nav-group-toggle.active {
    background-color: #f3f4f6;
    color: #1f2937;
}

.dark .nav-group-toggle.active {
    background-color: #374151;
    color: #f9fafb;
}

.nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

.nav-submenu.show {
    max-height: 500px;
    opacity: 1;
}

.nav-arrow {
    transition: transform 0.2s ease-in-out;
}

.nav-arrow.rotated {
    transform: rotate(180deg);
}

.nav-sublink {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.nav-sublink:hover {
    background-color: #f3f4f6;
    color: #1f2937;
    text-decoration: none;
}

.dark .nav-sublink:hover {
    background-color: #374151;
    color: #f9fafb;
}

.nav-sublink.active {
    background-color: #e5e7eb;
    color: #1f2937;
    font-weight: 500;
}

.dark .nav-sublink.active {
    background-color: #4b5563;
    color: #f9fafb;
}

.nav-icon {
    flex-shrink: 0;
}

.nav-text {
    flex: 1;
    min-width: 0;
}

.nav-divider {
    margin: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.dark .nav-divider {
    border-top-color: #374151;
}
