        /* Default theme: Dark mode with Sunset palette */
        :root {
            --bg-color: #2a3344; /* Darker blue based on #355C7D */
            --text-color: #e4e6eb;
            --link-color: #C56C86; /* Pink from palette */
            --sidebar-bg: #355C7D; /* Blue from palette */
            --sidebar-link-color: #ffffff;
            --card-bg: #2a3344; /* Darker version of blue */
            --card-border: #725A7A; /* Purple from palette */
            --button-bg: #C56C86; /* Pink from palette */
            --button-bg-hover: #FF7582; /* Coral from palette */
            --accent-color: #725A7A; /* Purple from palette */
            --text-muted: #b0b0b0;
            --toggle-button-border: #FF7582; /* Coral from palette */
            --card-text-color: #e4e6eb;
            --card-hover-shadow: 0 5px 15px rgba(255, 117, 130, 0.3); /* Coral shadow */
            --nav-link-hover: #FF7582; /* Coral from palette */
            --header-bg: #355C7D; /* Blue from palette for headers */
            --form-bg: #1f1f1f; /* Darker background for forms */
            --input-bg: #2a3344;
            --input-color: #e4e6eb;
            --input-border: #725A7A;
            --label-color: #C56C86;
            --placeholder-color: #b0b0b0;
            --success-color: #4CAF50;
            --warning-color: #FF9800;
            --error-color: #F44336;
            --default-text: #4CAF50; /* Green color for default text */
            --modal-bg: #1f1f1f;
            --modal-header: #355C7D;
            --card-item-bg: #1f1f1f;
            --table-header-bg: #355C7D;
            --table-border: #725A7A;
            --table-row-bg: #2a3344;
            --table-row-alt-bg: #1f1f1f;
            --alert-success-bg: rgba(76, 175, 80, 0.2);
            --alert-success-text: #4CAF50;
            --alert-danger-bg: rgba(244, 67, 54, 0.2);
            --alert-danger-text: #F44336;
        }

        /* Override for light mode with Sunset palette */
        .light-mode {
            --bg-color: #f8f9fa;
            --text-color: #2a3344; /* Darker blue based on #355C7D */
            --link-color: #C56C86; /* Pink from palette */
            --sidebar-bg: #355C7D; /* Blue from palette */
            --sidebar-link-color: #ffffff;
            --card-bg: #ffffff;
            --card-border: #725A7A; /* Purple from palette */
            --button-bg: #C56C86; /* Pink from palette */
            --button-bg-hover: #FF7582; /* Coral from palette */
            --accent-color: #725A7A; /* Purple accent */
            --text-muted: #725A7A; /* Purple for muted text */
            --toggle-button-border: #C56C86; /* Pink from palette */
            --card-text-color: #2a3344;
            --card-hover-shadow: 0 5px 15px rgba(197, 108, 134, 0.2); /* Pink shadow */
            --nav-link-hover: #FF7582; /* Coral from palette */
            --header-bg: #C56C86; /* Pink for headers in light mode */
            --form-bg: #f0f0f0; /* Light background for forms */
            --input-bg: #ffffff;
            --input-color: #2a3344;
            --input-border: #C56C86;
            --label-color: #725A7A;
            --placeholder-color: #6c757d;
            --success-color: #4CAF50;
            --warning-color: #FF9800;
            --error-color: #F44336;
            --default-text: #4CAF50; /* Green color for default tag */
            --modal-bg: #ffffff;
            --modal-header: #C56C86;
            --card-item-bg: #f8f9fa;
            --table-header-bg: #C56C86;
            --table-border: #725A7A;
            --table-row-bg: #ffffff;
            --table-row-alt-bg: #f8f9fa;
            --alert-success-bg: rgba(76, 175, 80, 0.1);
            --alert-success-text: #4CAF50;
            --alert-danger-bg: rgba(244, 67, 54, 0.1);
            --alert-danger-text: #F44336;
        }
        
        /* General styling */
        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            transition: background-color 0.3s, color 0.3s;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
        }
        
        a {
            color: var(--link-color);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        a:hover {
            color: var(--button-bg-hover);
            text-decoration: none;
        }
        
        /* Container styling */
        .main-container {
            flex: 1;
            padding: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* Navigation */
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            background-color: var(--sidebar-bg);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
        .back-link {
            display: flex;
            align-items: center;
            color: var(--sidebar-link-color);
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .back-link:hover {
            color: white;
            transform: translateX(-3px);
        }
        
        .back-link i {
            margin-right: 8px;
        }
        
        /* Theme Toggle Button */
        .theme-toggle-button {
            display: flex;
            align-items: center;
            padding: 8px 16px;
            background-color: transparent;
            color: var(--sidebar-link-color) !important;
            border: 2px solid var(--toggle-button-border) !important;
            border-radius: 20px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .theme-toggle-button:hover {
            background-color: var(--toggle-button-border);
            color: white !important;
        }
        
        .theme-toggle-button i {
            margin-right: 8px;
        }
        
        /* Page header */
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 3px solid;
            border-image: linear-gradient(to right, #355C7D, #C56C86, #FF7582) 1;
        }
        
        .page-title {
            font-size: 2.2rem;
            font-weight: 600;
            margin: 0;
            background: linear-gradient(to right, #355C7D, #C56C86, #FF7582);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
        }

        .description-text {
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }
        
        /* Form styling */
        .form-label {
            color: var(--label-color);
            font-weight: 600;
            display: block;
            margin-bottom: 0.5rem;
        }
        
        .form-control {
            background-color: var(--input-bg);
            color: var(--input-color);
            border: 1px solid var(--input-border);
            border-radius: 6px;
            padding: 12px 15px;
            width: 100%;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            border-color: var(--button-bg);
            box-shadow: 0 0 0 0.2rem rgba(197, 108, 134, 0.25);
            outline: none;
        }
        
        .form-control::placeholder {
            color: var(--placeholder-color);
        }

        
        /* Button styling */
        .btn {
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border: none;
        }
        
        .btn-primary {
            background-color: var(--button-bg);
            color: white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        
        .btn-primary:hover {
            background-color: var(--button-bg-hover);
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        }
        
        .btn-success {
            background-color: var(--success-color);
            color: white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        
        .btn-success:hover {
            background-color: #3d8b40;
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        }
        
        .narrow-number {
            max-width: 50px;
            width: 50px;
        }

        /* Status message styling */
        .status-message {
            background-color: var(--card-bg);
            border: 2px solid var(--card-border);
            border-radius: 12px;
            padding: 1.25rem;
            margin-bottom: 1.5rem;
            color: var(--text-color);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .status-message::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(to bottom, #355C7D, #C56C86, #FF7582);
            border-top-left-radius: 12px;
            border-bottom-left-radius: 12px;
        }
        
        /* Alert styling */
        .alert {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 8px;
            border: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .alert-success {
            background-color: var(--alert-success-bg);
            color: var(--success-color);
            border-left: 4px solid var(--success-color);
        }
        
        .alert-danger {
            background-color: var(--alert-danger-bg);
            color: var(--error-color);
            border-left: 4px solid var(--error-color);
        }
        
        /* Table styling */
        .table-container {
            overflow-x: auto;
            margin-bottom: 2rem;
            background-color: var(--card-bg);
            border-radius: 12px;
            border: 2px solid var(--card-border);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            padding: 0.5rem;
        }
        
        .table-container:hover {
            box-shadow: var(--card-hover-shadow);
        }
        
        .custom-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 0;
            color: var(--text-color);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .custom-table th {
            background-color: var(--table-header-bg);
            color: white;
            font-weight: 600;
            text-align: left;
            padding: 0.9rem 1rem;
            border: 1px solid var(--table-border);
            white-space: nowrap;
        }
        
        .custom-table td {
            padding: 0.9rem 1rem;
            border: 1px solid var(--table-border);
            background-color: var(--table-row-bg);
            vertical-align: middle;
        }
        
        .custom-table tr:nth-child(even) td {
            background-color: var(--table-row-alt-bg);
        }
        
        .custom-table input[type="text"],
        .custom-table input[type="number"],
        .custom-table input[type="date"] {
            width: 100%;
            padding: 8px 12px;
            border-radius: 4px;
            border: 1px solid var(--input-border);
            background-color: var(--input-bg);
            color: var(--input-color);
            transition: all 0.3s ease;
        }
        
        .custom-table input:focus {
            border-color: var(--button-bg);
            box-shadow: 0 0 0 0.2rem rgba(197, 108, 134, 0.25);
            outline: none;
        }
        
        /* Section title styling */
        .section-title {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--text-color);
            position: relative;
            padding-bottom: 10px;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100px;
            height: 3px;
            background: linear-gradient(to right, #355C7D, #C56C86, #FF7582);
            border-radius: 3px;
        }
        
        /* No data message styling */
        .no-data {
            text-align: center;
            padding: 3rem 2rem;
            background-color: var(--card-bg);
            border: 2px dashed var(--card-border);
            border-radius: 12px;
            margin-top: 1rem;
            margin-bottom: 2rem;
            color: var(--text-muted);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }
        
        .no-data i {
            font-size: 3rem;
            color: var(--accent-color);
        }
        
        .no-data p {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }
        
        /* Animation for content */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .form-container, .status-message, .table-container {
            animation: fadeIn 0.5s ease-out forwards;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .nav-container {
                padding: 0.75rem 1rem;
            }
            
            .page-title {
                font-size: 1.8rem;
            }
            
            .custom-table {
                font-size: 0.9rem;
            }
            
            .btn {
                padding: 8px 16px;
                font-size: 0.9rem;
            }
        }
