* {
            box-sizing: border-box;
            font-family: 'Segoe UI', sans-serif;
        }
        
        body {
            margin: 0;
            background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
            min-height: 100vh;
            color: #fff;
            overflow-x: hidden;
        }
        
        .header {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: all 0.3s ease;
            height: 70px;
            box-sizing: border-box;
        }
        
        .header.sidebar-open {
            left: 280px;
            width: calc(100% - 280px);
            padding-left: 0;
        }
        
        .header h1 {
            margin: 0;
            background: linear-gradient(90deg, #00f2fe, #4facfe);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .menu-toggle {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
            transition: 0.3s;
        }
        
        .menu-toggle:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        .user-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .logout-btn {
            background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            font-size: 14px;
            transition: 0.3s;
        }
        
        .logout-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        }
        
        /* Desktop-first approach - sidebar open by default on large screens */
        @media (min-width: 769px) {
            .sidebar {
                left: 0;
                opacity: 1;
                visibility: visible;
            }
            
            .header {
                left: 280px;
                width: calc(100% - 280px);
                padding-left: 0;
            }
            
            .main-content {
                margin-left: 280px;
                width: calc(100% - 280px);
                padding: 2rem;
            }
            
            .main-content .content-wrapper {
                margin-left: 2rem;
                margin-right: 0;
                max-width: none;
                width: calc(100% - 2rem);
            }
        }
        
        .sidebar {
            position: fixed;
            top: 0;
            left: -280px;
            width: 280px;
            height: 100vh;
            background: #0a0e27;
            backdrop-filter: blur(15px);
            border-right: none;
            transition: all 0.3s ease;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            overflow-y: auto;
            overflow-x: hidden;
        }
        
        .sidebar.sidebar-open {
            left: 0;
            opacity: 1;
            visibility: visible;
        }
        
        /* Sidebar responsive adjustments - mobile overlay style */
        @media (max-width: 768px) {
            .sidebar {
                width: 85%;
                max-width: 320px;
                left: -85%;
                z-index: 999;
            }
            
            .sidebar.sidebar-open {
                left: 0;
            }
            
            .menu-toggle {
                display: block !important;
            }
        }
        
        @media (max-width: 576px) {
            .sidebar {
                width: 90%;
                max-width: 280px;
                left: -90%;
            }
            
            .sidebar.sidebar-open {
                left: 0;
            }
        }
        
        @media (max-width: 480px) {
            .sidebar {
                width: 95%;
                max-width: 260px;
                left: -95%;
            }
            
            .sidebar.sidebar-open {
                left: 0;
            }
        }
        
        /* Mobile Navigation Overlay */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .mobile-nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* Mobile Bottom Navigation */
        .mobile-bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(15px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 0.75rem 0;
            z-index: 1001;
            display: none;
        }
        
        .mobile-nav-items {
            display: flex;
            justify-content: space-around;
            align-items: center;
            max-width: 100%;
            overflow-x: auto;
            padding: 0 1rem;
        }
        
        .mobile-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0.5rem;
            color: #ccc;
            text-decoration: none;
            transition: 0.3s;
            min-width: 60px;
            border-radius: 8px;
            position: relative;
        }
        
        .mobile-nav-item:hover,
        .mobile-nav-item.active {
            color: #4facfe;
            background: rgba(79, 172, 254, 0.1);
        }
        
        .mobile-nav-icon {
            font-size: 1.2rem;
            margin-bottom: 0.25rem;
        }
        
        .mobile-nav-text {
            font-size: 0.7rem;
            text-align: center;
            white-space: nowrap;
            font-weight: 500;
        }
        
        .mobile-nav-badge {
            position: absolute;
            top: 0.25rem;
            right: 0.25rem;
            background: #ff6b6b;
            color: white;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.6rem;
            font-weight: 600;
        }
        
        /* Mobile Floating Action Button */
        .mobile-fab {
            position: fixed;
            bottom: 90px;
            right: 1rem;
            width: 56px;
            height: 56px;
            background: linear-gradient(90deg, #00f2fe, #4facfe);
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            color: #000;
            font-size: 1.5rem;
            box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
            z-index: 1000;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        
        .mobile-fab:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
        }
        
        .mobile-fab.rotate {
            transform: rotate(45deg);
        }
        
        /* Mobile Quick Actions Menu */
        .mobile-quick-actions {
            position: fixed;
            bottom: 150px;
            right: 1rem;
            display: none;
            flex-direction: column;
            gap: 0.5rem;
            z-index: 999;
        }
        
        .mobile-quick-actions.show {
            display: flex;
            animation: slideInUp 0.3s ease;
        }
        
        .mobile-quick-action {
            display: flex;
            align-items: center;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 25px;
            padding: 0.75rem 1rem;
            color: #fff;
            text-decoration: none;
            transition: all 0.3s ease;
            white-space: nowrap;
            transform: translateX(100px);
            opacity: 0;
            animation: slideInRight 0.3s ease forwards;
        }
        
        .mobile-quick-action:nth-child(1) { animation-delay: 0.1s; }
        .mobile-quick-action:nth-child(2) { animation-delay: 0.2s; }
        .mobile-quick-action:nth-child(3) { animation-delay: 0.3s; }
        .mobile-quick-action:nth-child(4) { animation-delay: 0.4s; }
        
        .mobile-quick-action:hover {
            background: rgba(79, 172, 254, 0.2);
            border-color: #4facfe;
            transform: translateX(0) scale(1.05);
        }
        
        .mobile-quick-action-icon {
            margin-right: 0.5rem;
            font-size: 1.1rem;
        }
        
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Mobile Pull-to-Refresh Indicator */
        .pull-to-refresh {
            position: fixed;
            top: -60px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(79, 172, 254, 0.9);
            color: white;
            padding: 1rem 2rem;
            border-radius: 0 0 15px 15px;
            font-size: 0.9rem;
            font-weight: 600;
            z-index: 1002;
            transition: top 0.3s ease;
            display: none;
        }
        
        .pull-to-refresh.show {
            top: 0;
        }
        
        .pull-to-refresh.active {
            background: rgba(76, 175, 80, 0.9);
        }
        
        /* Mobile Search Bar */
        .mobile-search {
            position: fixed;
            top: 80px;
            left: 1rem;
            right: 1rem;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 25px;
            padding: 0.75rem 1rem;
            z-index: 1000;
            transform: translateY(-100px);
            opacity: 0;
            transition: all 0.3s ease;
            display: none;
        }
        
        .mobile-search.show {
            transform: translateY(0);
            opacity: 1;
            display: block;
        }
        
        .mobile-search input {
            width: 100%;
            background: transparent;
            border: none;
            outline: none;
            color: #fff;
            font-size: 1rem;
        }
        
        .mobile-search input::placeholder {
            color: #aaa;
        }
        
        /* Mobile Breadcrumb */
        .mobile-breadcrumb {
            position: fixed;
            top: 80px;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
            color: #ccc;
            z-index: 999;
            display: none;
            overflow-x: auto;
            white-space: nowrap;
        }
        
        .mobile-breadcrumb a {
            color: #4facfe;
            text-decoration: none;
            margin-right: 0.5rem;
        }
        
        .mobile-breadcrumb span {
            margin: 0 0.5rem;
            color: #aaa;
        }
        
        /* Mobile Notification Badge */
        .mobile-notification-badge {
            position: fixed;
            top: 1rem;
            right: 1rem;
            background: #ff6b6b;
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 600;
            z-index: 1001;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        /* Mobile Swipe Indicator */
        .mobile-swipe-indicator {
            position: fixed;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 60px;
            background: linear-gradient(to bottom, transparent, #4facfe, transparent);
            border-radius: 0 4px 4px 0;
            z-index: 1000;
            opacity: 0;
            animation: swipeHint 3s ease-in-out infinite;
        }
        
        @keyframes swipeHint {
            0%, 100% { opacity: 0; transform: translateY(-50%) translateX(-4px); }
            50% { opacity: 1; transform: translateY(-50%) translateX(0); }
        }
        
        .sidebar-header {
            padding: 2rem 1.5rem 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .sidebar-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0;
            background: linear-gradient(90deg, #00f2fe, #4facfe);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .sidebar-nav {
            padding: 1rem 0;
        }
        
        .nav-section {
            margin-bottom: 2rem;
        }
        
        .nav-section-title {
            padding: 0 1.5rem 0.5rem;
            font-size: 0.8rem;
            font-weight: 600;
            color: #aaa;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .nav-item {
            display: flex;
            align-items: center;
            padding: 0.75rem 1.5rem;
            color: #fff;
            text-decoration: none;
            transition: 0.3s;
            border-left: 3px solid transparent;
        }
        
        .nav-item:hover {
            background: rgba(255, 255, 255, 0.1);
            border-left-color: #4facfe;
        }
        
        .nav-item.active {
            background: rgba(79, 172, 254, 0.2);
            border-left-color: #4facfe;
        }
        
        .nav-item-icon {
            margin-right: 0.75rem;
            font-size: 1.1rem;
            width: 20px;
            text-align: center;
        }
        
        .nav-item-text {
            flex: 1;
        }
        
        .nav-item-badge {
            background: #ff6b6b;
            color: white;
            font-size: 0.7rem;
            padding: 0.2rem 0.5rem;
            border-radius: 10px;
            min-width: 18px;
            text-align: center;
        }
        
        .main-content {
            margin-top: 70px;
            padding: 2rem;
            transition: all 0.3s ease;
            width: 100%;
            box-sizing: border-box;
            min-height: calc(100vh - 70px);
        }
        
        .main-content.sidebar-open {
            margin-left: 280px;
            width: calc(100% - 280px);
            padding: 2rem;
            padding-left: 0;
        }
        
        .main-content.sidebar-open .content-wrapper {
            margin-left: 2rem;
            margin-right: 0;
            max-width: none;
            width: calc(100% - 2rem);
        }
        
        .page-header {
            text-align: center;
            margin-bottom: 3rem;
            max-width: none;
            margin-left: 0;
            margin-right: 0;
            width: 100%;
        }
        
        .main-content.sidebar-open .page-header {
            text-align: center;
            margin-left: 0;
            margin-right: 0;
            max-width: none;
            width: 100%;
        }
        
        .page-header h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            background: linear-gradient(90deg, #00f2fe, #4facfe);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .page-header p {
            color: #ccc;
            font-size: 1.1rem;
        }
        
        .content-wrapper {
            max-width: none;
            margin: 0;
            width: 100%;
        }
        
        .content-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 2rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: 0.3s;
            width: 100%;
            box-sizing: border-box;
        }
        
        .content-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .content-card h3 {
            margin-top: 0;
            color: #4facfe;
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
        }
        
        /* Grid layouts for better alignment */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
            width: 100%;
        }
        
        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            width: 100%;
        }
        
        .action-grid {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
        }
        
        /* Table responsive wrapper */
        .table-responsive {
            overflow-x: auto;
            margin: 1rem 0;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            -webkit-overflow-scrolling: touch;
        }
        
        .table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1rem;
            min-width: 600px; /* Ensure minimum width for proper display */
        }
        
        .table th,
        .table td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            white-space: nowrap;
        }
        
        .table th {
            background: rgba(255, 255, 255, 0.05);
            color: #4facfe;
            font-weight: 600;
            position: sticky;
            top: 0;
            z-index: 10;
        }
        
        .table tr:hover {
            background: rgba(255, 255, 255, 0.05);
        }
        
        /* Responsive table adjustments */
        @media (max-width: 768px) {
            .table-responsive {
                font-size: 0.85rem;
                margin: 0.5rem 0;
            }
            
            .table {
                min-width: 500px;
            }
            
            .table th,
            .table td {
                padding: 0.75rem 0.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .table-responsive {
                font-size: 0.8rem;
            }
            
            .table {
                min-width: 450px;
            }
            
            .table th,
            .table td {
                padding: 0.5rem 0.25rem;
            }
        }
        
        .btn {
            background: linear-gradient(90deg, #00f2fe, #4facfe);
            color: #000;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: 0.3s;
            margin-right: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
        }
        
        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }
        
        .btn-danger {
            background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
            color: #fff;
        }
        
        .status-badge {
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .status-active { background: #4caf50; color: white; }
        .status-inactive { background: #ff6b6b; color: white; }
        .status-pending { background: #ffa726; color: white; }
        .status-paid { background: #4caf50; color: white; }
        .status-unpaid { background: #ff6b6b; color: white; }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            color: #4facfe;
            font-weight: 600;
        }
        
        .form-input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            font-size: 1rem;
        }
        
        .form-input:focus {
            outline: none;
            border-color: #4facfe;
            box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.2);
        }
        
        .form-select {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            font-size: 1rem;
        }
        
        .alert {
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1rem;
        }
        
        .alert-success {
            background: rgba(76, 175, 80, 0.2);
            border: 1px solid rgba(76, 175, 80, 0.3);
            color: #4caf50;
        }
        
        .alert-error {
            background: rgba(255, 107, 107, 0.2);
            border: 1px solid rgba(255, 107, 107, 0.3);
            color: #ff6b6b;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Responsive .stats-row (dashboard stat cards) */
        @media (max-width: 992px) and (min-width: 769px) {
            .stats-row {
                grid-template-columns: repeat(2, 1fr) !important;
            }
        }
        
        @media (max-width: 768px) {
            .stats-row {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 0.75rem;
            }
        }
        
        @media (max-width: 576px) {
            .stats-row {
                grid-template-columns: 1fr !important;
            }
        }
        
        /* Responsive Design */
        @media (max-width: 1200px) {
            .main-content.sidebar-open {
                padding: 1.5rem;
            }
            
            .content-wrapper {
                max-width: none;
                padding: 0 1rem;
                margin: 0;
                width: 100%;
            }
            
            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
                gap: 1rem;
            }
        }
        
        @media (max-width: 992px) and (min-width: 769px) {
            .header {
                padding: 1rem 1.5rem;
            }
            
            .header.sidebar-open {
                left: 250px;
                width: calc(100% - 250px);
            }
            
            .main-content {
                padding: 1.5rem;
                margin-left: 250px !important;
                width: calc(100% - 250px) !important;
                margin-top: 70px;
            }
            
            .main-content.sidebar-open {
                margin-left: 250px !important;
                width: calc(100% - 250px) !important;
                padding: 1.5rem;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
            
            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 1rem;
            }
            
            .form-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .card-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 1rem;
            }
        }
        
        @media (max-width: 768px) {
            .sidebar {
                left: -85% !important;
                width: 85% !important;
                max-width: 320px !important;
            }
            
            .header.sidebar-open {
                left: 0 !important;
                width: 100% !important;
            }
            
            .main-content.sidebar-open {
                margin-left: 0 !important;
                width: 100% !important;
            }
        }
        
        @media (max-width: 768px) {
            .header {
                padding: 0.75rem 1rem;
                height: 60px;
            }
            
            .header h1 {
                font-size: 1.2rem;
            }
            
            .user-info {
                display: flex;
                align-items: center;
                gap: 0.5rem;
            }
            
            .user-info span {
                display: none;
            }
            
            .logout-btn {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }
            
            .main-content {
                padding: 1rem;
                margin-top: 60px;
                padding-bottom: 100px; /* Space for mobile bottom nav */
                min-height: calc(100vh - 60px);
            }
            
            .page-header {
                margin-bottom: 2rem;
            }
            
            .page-header h1 {
                font-size: 1.8rem;
            }
            
            .content-card {
                padding: 1.5rem;
                margin-bottom: 1.5rem;
            }
            
            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 0.75rem;
            }
            
            .action-grid {
                flex-direction: column;
                align-items: stretch;
                gap: 0.75rem;
            }
            
            .action-grid .btn {
                margin-right: 0;
                margin-bottom: 0;
                text-align: center;
                width: 100%;
            }
            
            .table-responsive {
                font-size: 0.85rem;
            }
            
            .table th,
            .table td {
                padding: 0.5rem 0.25rem;
            }
            
            /* Show mobile navigation */
            .mobile-bottom-nav {
                display: block;
            }
            
            .mobile-fab {
                display: flex;
            }
            
            /* Keep menu-toggle visible on mobile for sidebar toggle */
            .menu-toggle {
                display: block;
            }
            
            .header-search {
                display: none;
            }
            
            .user-dropdown .header-icon-btn {
                display: flex;
            }
        }
        
        @media (max-width: 576px) {
            .header {
                padding: 0.5rem 0.75rem;
                height: 55px;
            }
            
            .header h1 {
                font-size: 1rem;
            }
            
            .main-content {
                padding: 0.75rem;
                margin-top: 55px;
                min-height: calc(100vh - 55px);
            }
            
            .page-header h1 {
                font-size: 1.5rem;
            }
            
            .page-header p {
                font-size: 0.9rem;
            }
            
            .content-card {
                padding: 1rem;
                margin-bottom: 1rem;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
                gap: 0.5rem;
            }
            
            .card-grid {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }
            
            .mobile-nav-text {
                font-size: 0.6rem;
            }
            
            .mobile-nav-icon {
                font-size: 1rem;
            }
            
            .mobile-nav-item {
                min-width: 50px;
                padding: 0.4rem;
            }
            
            .btn {
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
            }
            
            .form-control {
                padding: 0.6rem;
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 480px) {
            .header {
                padding: 0.5rem;
                height: 50px;
            }
            
            .header h1 {
                font-size: 0.9rem;
            }
            
            .main-content {
                padding: 0.5rem;
                margin-top: 50px;
                min-height: calc(100vh - 50px);
            }
            
            .page-header {
                margin-bottom: 1.5rem;
            }
            
            .page-header h1 {
                font-size: 1.3rem;
            }
            
            .content-card {
                padding: 0.75rem;
                border-radius: 10px;
            }
            
            .mobile-bottom-nav {
                padding: 0.5rem 0;
            }
            
            .mobile-nav-item {
                min-width: 45px;
                padding: 0.3rem;
            }
            
            .mobile-nav-text {
                font-size: 0.55rem;
            }
            
            .mobile-nav-icon {
                font-size: 0.9rem;
            }
        }

        /* Additional layout improvements */
        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
        .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -0.75rem;
        }
        
        .col {
            flex: 1;
            padding: 0 0.75rem;
            min-width: 0;
        }
        
        .col-auto {
            flex: 0 0 auto;
            padding: 0 0.75rem;
        }
        
        /* Improved spacing utilities */
        .mb-1 { margin-bottom: 0.5rem; }
        .mb-2 { margin-bottom: 1rem; }
        .mb-3 { margin-bottom: 1.5rem; }
        .mb-4 { margin-bottom: 2rem; }
        .mb-5 { margin-bottom: 3rem; }
        
        .mt-1 { margin-top: 0.5rem; }
        .mt-2 { margin-top: 1rem; }
        .mt-3 { margin-top: 1.5rem; }
        .mt-4 { margin-top: 2rem; }
        .mt-5 { margin-top: 3rem; }
        
        .p-1 { padding: 0.5rem; }
        .p-2 { padding: 1rem; }
        .p-3 { padding: 1.5rem; }
        .p-4 { padding: 2rem; }
        .p-5 { padding: 3rem; }
        
        /* Text alignment utilities */
        .text-left { text-align: left; }
        .text-center { text-align: center; }
        .text-right { text-align: right; }
        
        /* Flexbox utilities */
        .d-flex { display: flex; }
        .flex-column { flex-direction: column; }
        .flex-row { flex-direction: row; }
        .justify-content-start { justify-content: flex-start; }
        .justify-content-center { justify-content: center; }
        .justify-content-end { justify-content: flex-end; }
        .justify-content-between { justify-content: space-between; }
        .align-items-start { align-items: flex-start; }
        .align-items-center { align-items: center; }
        .align-items-end { align-items: flex-end; }
        
        /* Card layout improvements */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
            width: 100%;
        }
        
        .card-grid-sm {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            width: 100%;
        }
        
        .card-grid-lg {
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 2rem;
            width: 100%;
        }
        
        /* Improved content spacing */
        .content-section {
            margin-bottom: 3rem;
        }
        
        .content-section:last-child {
            margin-bottom: 0;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .section-title {
            color: #4facfe;
            font-size: 1.3rem;
            font-weight: 600;
            margin: 0;
        }
        
        .section-actions {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }
        
        /* Better button groups */
        .btn-group {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        
        .btn-group .btn {
            margin-right: 0;
            margin-bottom: 0;
        }
        
        /* Improved form layouts */
        .form-section {
            margin-bottom: 2rem;
        }
        
        .form-section:last-child {
            margin-bottom: 0;
        }
        
        .form-section-title {
            color: #4facfe;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        /* Width utilities */
        .w-100 { width: 100%; }
        .w-75 { width: 75%; }
        .w-50 { width: 50%; }
        .w-25 { width: 25%; }
        
        /* SweetAlert2 Dark Theme Customization */
        .swal2-popup {
            background: rgba(15, 32, 39, 0.95) !important;
            backdrop-filter: blur(15px) !important;
            border: 1px solid rgba(79, 172, 254, 0.3) !important;
            border-radius: 15px !important;
            color: #fff !important;
        }

        .swal2-title {
            color: #4facfe !important;
            font-weight: 600 !important;
        }

        .swal2-content {
            color: #ccc !important;
        }

        .swal2-confirm {
            background: linear-gradient(90deg, #00f2fe, #4facfe) !important;
            color: #000 !important;
            border: none !important;
            border-radius: 8px !important;
            font-weight: 600 !important;
            padding: 0.75rem 1.5rem !important;
            transition: all 0.3s ease !important;
        }

        .swal2-confirm:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4) !important;
        }

        .swal2-cancel {
            background: rgba(255, 255, 255, 0.1) !important;
            color: #fff !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            border-radius: 8px !important;
            font-weight: 600 !important;
            padding: 0.75rem 1.5rem !important;
            transition: all 0.3s ease !important;
        }

        .swal2-cancel:hover {
            background: rgba(255, 255, 255, 0.2) !important;
            transform: translateY(-2px) !important;
        }

        .swal2-deny {
            background: linear-gradient(90deg, #ff6b6b, #ff8e8e) !important;
            color: #fff !important;
            border: none !important;
            border-radius: 8px !important;
            font-weight: 600 !important;
            padding: 0.75rem 1.5rem !important;
            transition: all 0.3s ease !important;
        }

        .swal2-deny:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4) !important;
        }

        .swal2-input {
            background: rgba(255, 255, 255, 0.1) !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            border-radius: 8px !important;
            color: #fff !important;
            padding: 0.75rem !important;
        }

        .swal2-input:focus {
            border-color: #4facfe !important;
            box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.2) !important;
            outline: none !important;
        }

        .swal2-input::placeholder {
            color: #aaa !important;
        }

        .swal2-select {
            background: rgba(255, 255, 255, 0.1) !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            border-radius: 8px !important;
            color: #fff !important;
            padding: 0.75rem !important;
        }

        .swal2-select:focus {
            border-color: #4facfe !important;
            box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.2) !important;
            outline: none !important;
        }

        .swal2-textarea {
            background: rgba(255, 255, 255, 0.1) !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            border-radius: 8px !important;
            color: #fff !important;
            padding: 0.75rem !important;
            resize: vertical !important;
        }

        .swal2-textarea:focus {
            border-color: #4facfe !important;
            box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.2) !important;
            outline: none !important;
        }

        .swal2-textarea::placeholder {
            color: #aaa !important;
        }

        .swal2-icon.swal2-success {
            border-color: #4caf50 !important;
            color: #4caf50 !important;
        }

        .swal2-icon.swal2-error {
            border-color: #ff6b6b !important;
            color: #ff6b6b !important;
        }

        .swal2-icon.swal2-warning {
            border-color: #ffa726 !important;
            color: #ffa726 !important;
        }

        .swal2-icon.swal2-info {
            border-color: #4facfe !important;
            color: #4facfe !important;
        }

        .swal2-icon.swal2-question {
            border-color: #4facfe !important;
            color: #4facfe !important;
        }

        .swal2-progress-steps .swal2-progress-step {
            background: #4facfe !important;
        }

        .swal2-progress-steps .swal2-progress-step-line {
            background: rgba(79, 172, 254, 0.3) !important;
        }

        .swal2-timer-progress-bar {
            background: linear-gradient(90deg, #00f2fe, #4facfe) !important;
        }

        .swal2-close {
            color: #ccc !important;
        }

        .swal2-close:hover {
            color: #fff !important;
        }

        /* Loading/Processing styles */
        .swal2-loading .swal2-confirm {
            background: rgba(79, 172, 254, 0.3) !important;
        }

        /* Toast styles */
        .swal2-toast {
            background: rgba(15, 32, 39, 0.95) !important;
            backdrop-filter: blur(15px) !important;
            border: 1px solid rgba(79, 172, 254, 0.3) !important;
            color: #fff !important;
        }

        .swal2-toast .swal2-title {
            color: #4facfe !important;
        }

        .swal2-toast .swal2-content {
            color: #ccc !important;
        }