        :root {
            --primary: #FF5C1B;
            --primary-dark: #e05015;
            --primary-light: #ff7c43;
            --secondary: #001a33;
            --dark: #1B1B1B;
            --darker: #000000;
            --light: #FFFFFF;
            --gray: #CCCCCC;
            --gray-dark: #333333;
            --success: #4CAF50;
            --warning: #FFC107;
            --danger: #F44336;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', 'Roboto Condensed', 'Roboto Slab', sans-serif;
            background: linear-gradient(135deg, var(--darker) 0%, var(--secondary) 100%);
            color: var(--light);
            min-height: 100vh;
            font-size: 16px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .dashboard-layout {
            max-width: 1280px;
            margin: 0 auto;
            width: 100%;
        }

        .dashboard-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px 40px;
            width: 100%;
        }

        /* Modern Settings Styles */
        .settings-container {
            background: rgba(27, 27, 27, 0.7);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 92, 27, 0.2);
            backdrop-filter: blur(10px);
        }

        .settings-header {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .settings-header h2 {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 10px;
        }

        .settings-header p {
            color: var(--gray);
            font-size: 1rem;
        }

        /* Settings Card */
        .settings-card {
            background: rgba(30, 30, 30, 0.8);
            border-radius: 12px;
            margin-bottom: 25px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
            border: 1px solid rgba(255, 92, 27, 0.15);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .settings-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(255, 92, 27, 0.2);
        }

        .card-header {
            display: flex;
            align-items: center;
            padding: 20px;
            background: rgba(0, 0, 0, 0.3);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .card-icon {
            width: 50px;
            height: 50px;
            background: rgba(255, 92, 27, 0.15);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 1.5rem;
            color: var(--primary);
        }

        .card-title h3 {
            color: var(--primary);
            margin-bottom: 5px;
            font-size: 1.3rem;
        }

        .card-title p {
            color: var(--gray);
            font-size: 0.9rem;
            margin: 0;
        }

        .card-body {
            padding: 20px;
        }

        .setting-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .setting-item:last-child {
            border-bottom: none;
        }

        .setting-info h4 {
            color: var(--light);
            margin-bottom: 5px;
            font-size: 1.1rem;
        }

        .setting-info p {
            color: var(--gray);
            font-size: 0.9rem;
            margin: 0;
            max-width: 600px;
        }

        .setting-control {
            min-width: 120px;
            text-align: right;
        }

        .setting-control input[type="number"] {
            width: 80px;
            padding: 8px;
            border-radius: 5px;
            background: var(--darker);
            border: 1px solid var(--gray-dark);
            color: var(--light);
            font-family: 'Roboto', 'Roboto Condensed', 'Roboto Slab', sans-serif;
            font-size: 1rem;
            text-align: center;
        }

        /* Toggle Switch */
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--gray-dark);
            transition: .4s;
            border-radius: 24px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked+.slider {
            background-color: var(--primary);
        }

        input:checked+.slider:before {
            transform: translateX(26px);
        }

        /* Radio Group */
        .radio-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .radio-option {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--gray);
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .radio-option:hover {
            background: rgba(255, 92, 27, 0.1);
        }

        .radio-option input {
            width: auto;
        }

        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background: rgba(0, 0, 0, 0.2);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* Info Panel */
        .info-panel {
            background: rgba(0, 26, 51, 0.5);
            border-radius: 12px;
            padding: 20px;
            border: 1px solid rgba(255, 92, 27, 0.1);
        }

        .info-panel h3 {
            color: var(--primary);
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        .info-panel ul {
            padding-left: 20px;
        }

        .info-panel li {
            margin-bottom: 10px;
            color: var(--gray);
            line-height: 1.5;
        }

        .info-panel li strong {
            color: var(--light);
        }

        /* Status Indicator */
        .status-indicator {
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            display: none;
        }

        .status-indicator.success {
            background: rgba(76, 175, 80, 0.2);
            color: var(--success);
            display: inline-block;
        }

        .status-indicator.error {
            background: rgba(244, 67, 54, 0.2);
            color: var(--danger);
            display: inline-block;
        }

        /* Buttons */
        .btn {
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-family: 'Roboto', 'Roboto Condensed', 'Roboto Slab', sans-serif;
            position: relative;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            letter-spacing: 0.5px;
            font-size: 0.95rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            text-decoration: none;
            min-height: 44px;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: var(--light);
            box-shadow: 0 4px 15px rgba(255, 92, 27, 0.4);
            border: none;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, var(--primary-dark), #c2400f);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(255, 92, 27, 0.6);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
            box-shadow: 0 4px 10px rgba(255, 92, 27, 0.2);
        }

        .btn-outline:hover {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: var(--light);
            box-shadow: 0 6px 15px rgba(255, 92, 27, 0.4);
            transform: translateY(-3px);
        }

        /* Page Header */
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 30px;
        }

        .page-title {
            color: var(--primary);
            font-size: 1.8rem;
            margin: 0;
        }

        /* Summary Cards */
        .summary-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .summary-card {
            background: var(--dark);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: 1px solid var(--primary);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .summary-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(255, 92, 27, 0.3);
        }

        .summary-title {
            font-size: 1rem;
            color: var(--gray);
            margin-bottom: 10px;
        }

        .summary-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 5px;
        }

        .summary-detail {
            font-size: 0.9rem;
            color: var(--gray);
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            color: var(--primary);
            border: 2px solid var(--primary);
            transition: all 0.3s ease;
            background: transparent;
        }

        .back-link:hover {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: var(--light);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(255, 92, 27, 0.4);
        }

        /* Filters */
        .filters {
            background: var(--dark);
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: 1px solid var(--primary);
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            align-items: end;
        }

        .filter-group {
            flex: 1;
            min-width: 200px;
        }

        .filter-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.9rem;
            color: var(--gray);
        }

        .filter-group select,
        .filter-group input {
            width: 100%;
            padding: 12px;
            border-radius: 5px;
            background: var(--darker);
            border: 1px solid var(--gray-dark);
            color: var(--light);
            font-family: 'Roboto', 'Roboto Condensed', 'Roboto Slab', sans-serif;
            font-size: 1rem;
        }

        .filter-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            align-items: end;
        }

        .filter-buttons .btn {
            min-height: 44px;
            padding: 12px 20px;
        }

        .records-table {
            width: 100%;
            border-collapse: collapse;
            background: var(--dark);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            margin-bottom: 30px;
        }

        .records-table th {
            background: var(--primary);
            color: var(--light);
            text-align: left;
            padding: 15px 20px;
            font-weight: 600;
        }

        .records-table td {
            padding: 15px 20px;
            border-bottom: 1px solid var(--gray-dark);
            color: var(--gray);
        }

        .records-table tr:last-child td {
            border-bottom: none;
        }

        .records-table tr:hover {
            background: rgba(255, 92, 27, 0.1);
        }

        .positive {
            color: #4CAF50;
        }

        .negative {
            color: #F44336;
        }

        .section-title {
            color: var(--primary);
            margin: 30px 0 15px;
            font-size: 1.4rem;
        }

        .statement-info {
            background: var(--dark);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            margin-bottom: 30px;
            border: 1px solid var(--primary);
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }

        .info-item {
            margin-bottom: 15px;
        }

        .info-label {
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 5px;
        }

        .info-value {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--light);
        }

        /* Form Styles */
        .form-container {
            background: var(--dark);
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: 1px solid var(--primary);
            display: none;
        }

        .form-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            flex: 1;
            min-width: 250px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border-radius: 5px;
            background: var(--darker);
            border: 1px solid var(--gray-dark);
            color: var(--light);
            font-family: 'Roboto', 'Roboto Condensed', 'Roboto Slab', sans-serif;
            font-size: 1rem;
        }

        .form-group textarea {
            min-height: 100px;
            resize: vertical;
        }

        .form-hint {
            font-size: 0.8rem;
            color: var(--gray);
            margin-top: 5px;
            display: block;
        }

        .section-title {
            color: var(--primary);
            margin: 30px 0 15px;
            font-size: 1.4rem;
        }

        .section-header-flex {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        /* Form Styles */
        .form-container {
            background: var(--dark);
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: 1px solid var(--primary);
            display: none;
        }

        .form-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            flex: 1;
            min-width: 250px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border-radius: 5px;
            background: var(--darker);
            border: 1px solid var(--gray-dark);
            color: var(--light);
            font-family: 'Roboto', 'Roboto Condensed', 'Roboto Slab', sans-serif;
            font-size: 1rem;
        }

        .form-group textarea {
            min-height: 100px;
            resize: vertical;
        }

        .form-hint {
            font-size: 0.8rem;
            color: var(--gray);
            margin-top: 5px;
            display: block;
        }

        .form-buttons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        /* Status badges */
        .status-badge {
            padding: 4px 8px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .status-paid {
            background: rgba(76, 175, 80, 0.2);
            color: var(--success);
        }

        .status-unpaid {
            background: rgba(244, 67, 54, 0.2);
            color: var(--danger);
        }

        .status-pending {
            background: rgba(255, 193, 7, 0.2);
            color: var(--warning);
        }

        .status-cancelled {
            background: rgba(158, 158, 158, 0.2);
            color: #9E9E9E;
        }

        .status-waived {
            background: rgba(33, 150, 243, 0.2);
            color: #2196F3;
        }

        .status-info {
            background: rgba(0, 188, 212, 0.2);
            color: #00BCD4;
        }

        .status-success {
            background: rgba(76, 175, 80, 0.2);
            color: var(--success);
        }

        /* Tab Styles */
        .tabs {
            display: flex;
            background: var(--dark);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: 1px solid var(--primary);
            margin-bottom: 20px;
        }

        .tab {
            flex: 1;
            text-align: center;
            padding: 15px 20px;
            background: var(--darker);
            color: var(--gray);
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            border-right: 1px solid rgba(255, 92, 27, 0.2);
        }

        .tab:last-child {
            border-right: none;
        }

        .tab:hover {
            background: rgba(255, 92, 27, 0.1);
            color: var(--light);
        }

        .tab.active {
            background: var(--primary);
            color: var(--light);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Action buttons */
        .action-button {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            color: var(--light);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .action-button:hover {
            background: rgba(255, 92, 27, 0.1);
        }

        .action-button.primary {
            background: var(--primary);
        }

        .action-button.primary:hover {
            background: rgba(255, 92, 27, 0.8);
        }

        .action-button.secondary {
            background: var(--secondary);
        }

        .action-button.secondary:hover {
            background: rgba(117, 117, 117, 0.8);
        }

        .action-button.danger {
            background: var(--danger);
        }

        .action-button.danger:hover {
            background: rgba(244, 67, 54, 0.8);
        }

        .action-button.warning {
            background: var(--warning);
        }

        .action-button.warning:hover {
            background: rgba(255, 193, 7, 0.8);
        }

        .action-button.success {
            background: var(--success);
        }

        .action-button.success:hover {
            background: rgba(76, 175, 80, 0.8);
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            gap: 10px;
        }

        .pagination-item {
            padding: 8px 15px;
            border: 1px solid var(--gray-dark);
            border-radius: 5px;
            color: var(--gray);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .pagination-item:hover {
            background: rgba(255, 92, 27, 0.1);
            color: var(--light);
        }

        .pagination-item.active {
            background: var(--primary);
            color: var(--light);
        }

        /* Tooltips */
        .tooltip {
            position: relative;
            display: inline-block;
        }

        .tooltip .tooltiptext {
            visibility: hidden;
            width: 120px;
            background-color: var(--dark);
            color: var(--light);
            text-align: center;
            padding: 5px 0;
            border-radius: 5px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -60px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.4);
        }

        .modal-content {
            background-color: var(--dark);
            margin: 15% auto;
            padding: 20px;
            border: 1px solid var(--primary);
            border-radius: 10px;
            width: 80%;
            max-width: 600px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .close {
            color: var(--light);
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover,
        .close:focus {
            color: var(--danger);
            text-decoration: none;
            cursor: pointer;
        }

        /* Alerts */
        .alert {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 5px;
            color: var(--light);
            font-weight: 500;
        }

        .alert.info {
            background: rgba(33, 150, 243, 0.2);
            color: #2196F3;
        }

        .alert.success {
            background: rgba(76, 175, 80, 0.2);
            color: #4CAF50;
        }

        .alert.warning {
            background: rgba(255, 193, 7, 0.2);
            color: #FFC107;
        }

        .alert.danger {
            background: rgba(244, 67, 54, 0.2);
            color: #F44336;
        }

        /* Search Bar */
        .search-bar {
            display: flex;
            align-items: center;
            background: var(--dark);
            border: 1px solid var(--gray-dark);
            border-radius: 25px;
            padding: 10px 15px;
            margin-bottom: 20px;
            width: 100%;
            max-width: 400px;
        }

        .search-bar input {
            background: none;
            border: none;
            color: var(--light);
            font-family: 'Roboto', 'Roboto Condensed', 'Roboto Slab', sans-serif;
            font-size: 1rem;
            width: 100%;
            outline: none;
        }

        .search-bar button {
            background: none;
            border: none;
            color: var(--primary);
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .search-bar button:hover {
            color: rgba(255, 92, 27, 0.8);
        }

        /* Loader */
        .loader {
            border: 16px solid var(--darker);
            border-top: 16px solid var(--primary);
            border-radius: 50%;
            width: 120px;
            height: 120px;
            animation: spin 2s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .form-group {
                min-width: 100%;
            }
        }

        /* Action buttons */
        .action-cell {
            display: flex;
            gap: 5px;
            flex-wrap: wrap;
        }

        .action-cell .btn {
            padding: 8px 12px;
            font-size: 0.8rem;
            min-height: 36px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }

            .page-header {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }

            .page-title {
                font-size: 1.5rem;
            }

            .action-buttons {
                width: 100%;
                display: flex;
                gap: 15px;
                justify-content: center;
                justify-content: center;
            }

            .filters {
                flex-direction: column;
            }

            .filter-group {
                width: 100%;
            }

            .form-row {
                flex-direction: column;
                gap: 15px;
            }

            .form-group {
                min-width: 100%;
            }

            .records-table {
                font-size: 0.9rem;
            }

            .records-table th,
            .records-table td {
                padding: 10px 8px;
            }

            .action-cell {
                flex-direction: column;
            }

            .action-cell .btn {
                width: 100%;
                margin-bottom: 5px;
            }

            .btn {
                padding: 12px 16px;
                font-size: 0.9rem;
            }

            .form-buttons {
                flex-direction: column;
            }

            .form-buttons .btn {
                width: 100%;
            }

            .summary-cards {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .summary-card {
                padding: 15px;
            }

            .summary-value {
                font-size: 1.5rem;
            }

            .tabs {
                flex-direction: column;
            }

            .tab {
                text-align: center;
            }
        }

        /* Mobile Card View */
        @media (max-width: 768px) {
            .records-table thead {
                display: none;
            }

            .records-table,
            .records-table tbody,
            .records-table tr,
            .records-table td {
                display: block;
                width: 100%;
            }

            .records-table tr {
                margin-bottom: 15px;
                border-radius: 10px;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
                border: 1px solid #FF5C1B;
                background: var(--dark);
                padding: 15px;
                position: relative;
            }

            .records-table td {
                border: none;
                position: relative;
                padding: 10px 10px 10px 40%;
                text-align: right;
                margin-bottom: 5px;
                border-bottom: 1px solid #2a2a2a;
            }

            .records-table td:last-child {
                border-bottom: none;
                margin-bottom: 0;
            }

            .records-table td::before {
                content: attr(data-label);
                position: absolute;
                left: 15px;
                width: calc(40% - 25px);
                text-align: left;
                color: #9a9a9a;
                font-size: 13px;
                font-weight: 500;
            }

            .records-table td.action-cell {
                text-align: center;
                padding: 15px 15px 5px;
            }

            .records-table td.action-cell::before {
                display: none;
            }

            .records-table td.action-cell .btn {
                width: 100%;
                margin-bottom: 10px;
            }

            .records-table td.action-cell .btn:last-child {
                margin-bottom: 0;
            }
        }

        @media (max-width: 480px) {
            body {
                font-size: 14px;
            }

            .container {
                padding: 10px;
            }

            .page-title {
                font-size: 1.3rem;
            }

            .btn {
                padding: 10px 14px;
                font-size: 0.85rem;
            }

            .form-group input,
            .form-group select,
            .form-group textarea {
                padding: 10px;
                font-size: 0.9rem;
            }

            .records-table {
                font-size: 0.8rem;
            }

            .records-table th,
            .records-table td {
                padding: 8px 5px;
            }

            .status-badge {
                font-size: 0.7rem;
                padding: 3px 6px;
            }

            .summary-cards {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .summary-card {
                padding: 12px;
            }

            .summary-title {
                font-size: 0.9rem;
                margin-bottom: 8px;
            }

            .summary-value {
                font-size: 1.3rem;
                margin-bottom: 3px;
            }

            .summary-detail {
                font-size: 0.8rem;
            }

            .action-buttons {
                flex-direction: column;
                gap: 10px;
            }

            .back-link {
                width: 100%;
                text-align: center;
                justify-content: center;
            }
        }

        /* Mobile menu styles */
        .menu-toggle {
            display: none;
            font-size: 30px;
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 0;
            margin: 0;
            width: 30px;
            height: 30px;
            align-items: center;
            justify-content: center;
        }

        @media (max-width: 780px) {
            .menu-toggle {
                display: flex;
            }

            .nav-menu {
                display: flex;
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                background: #121722;
                flex-direction: column;
                align-items: center;
                padding: 10px 0;
                transform: translateX(-100%);
                transition: transform 0.3s ease;
                z-index: 1000;
                border-bottom: 1px solid #333;
            }

            .nav-menu.active {
                transform: translateX(0);
            }

            .nav-menu ul {
                flex-direction: column;
                width: 100%;
                align-items: center;
            }

            .nav-menu li {
                width: 100%;
                text-align: center;
                border-bottom: 1px solid #222;
            }

            .nav-menu li:last-child {
                border-bottom: none;
            }

            .nav-menu a {
                display: block;
                padding: 15px 0;
                width: 100%;
            }

            /* Logout button in mobile menu */
            .logout-mobile {
                display: block;
                width: 100%;
                text-align: center;
                padding: 10px 0;
                border-top: 1px solid #222;
                margin-top: auto;
                /* Push to bottom */
            }

            .logout-mobile .btn {
                width: 90%;
                margin: 0 auto;
                display: block;
                background: var(--primary);
                color: var(--light);
                border: none;
                padding: 10px 20px;
                border-radius: 8px;
                cursor: pointer;
                font-weight: 600;
                transition: background 0.3s;
                box-shadow: 0 4px 10px rgba(255, 92, 27, 0.3);
            }

            .logout-mobile .btn:hover {
                background: var(--primary-dark);
                transform: translateY(-2px);
                box-shadow: 0 6px 15px rgba(255, 92, 27, 0.4);
            }

            /* Hide desktop logout button on mobile */
            .nav-buttons {
                display: none;
            }
        }
