:root {
            /* Light mode variables */
            --primary: #8b5cf6;
            --primary-dark: #7c3aed;
            --danger: #ef4444;
            --danger-dark: #dc2626;
            --background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
            --surface: rgba(255, 255, 255, 0.98);
            --text-primary: #1f2937;
            --text-secondary: #4b5563;
            --border: #e5e7eb;
            --input-bg: white;
            --table-header: #f8fafc;
            --table-border: #e2e8f0;
            --hover: #f8fafc;
            --shadow-color: rgba(0, 0, 0, 0.1);
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --primary: #a78bfa;
                --primary-dark: #8b5cf6;
                --danger: #f87171;
                --danger-dark: #ef4444;
                --background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
                --surface: rgba(30, 41, 59, 0.98);
                --text-primary: #f1f5f9;
                --text-secondary: #cbd5e1;
                --border: #334155;
                --input-bg: #1e293b;
                --table-header: #1e293b;
                --table-border: #334155;
                --hover: #1e293b;
                --shadow-color: rgba(0, 0, 0, 0.3);
            }
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            min-height: 100vh;
            background: var(--background);
            color: var(--text-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 1rem;
        }
        
        .home-button-container {
            display: flex;
            justify-content: center;
            margin-bottom: 1.5rem;
        }
        
        .home-button {
            text-decoration: none;
            background: var(--primary);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            transition: all 0.2s;
            display: inline-block;
        }
        
        .home-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px var(--shadow-color);
            filter: brightness(110%);
        }

        .container {
            width: 100%;
            max-width: 800px;
            background: var(--surface);
            padding: 2.5rem;
            border-radius: 1.5rem;
            box-shadow: 0 20px 25px -5px var(--shadow-color),
                        0 10px 10px -5px var(--shadow-color);
            backdrop-filter: blur(10px);
        }

        h1 {
            color: var(--primary);
            font-size: 2.25rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 2.5rem;
            position: relative;
            padding-bottom: 1rem;
        }

        h1::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary);
            border-radius: 2px;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        label {
            display: block;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
        }

        input, select {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 2px solid var(--border);
            border-radius: 0.75rem;
            background: var(--input-bg);
            color: var(--text-primary);
            transition: all 0.2s;
            font-size: 1rem;
            appearance: none;
        }

        select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 1.5em;
            padding-right: 2.5rem;
        }

        input:focus, select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
        }

        #submitButton {
            width: 100%;
            padding: 1rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 0.75rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 1rem;
        }

        #submitButton:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px var(--shadow-color);
        }

        table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin-top: 2.5rem;
        }

        th {
            background: var(--table-header);
            padding: 1.25rem 1rem;
            text-align: left;
            font-weight: 600;
            color: var(--text-secondary);
            border-bottom: 2px solid var(--table-border);
            white-space: nowrap;
        }

        td {
            padding: 1.25rem 1rem;
            border-bottom: 1px solid var(--table-border);
            color: var(--text-primary);
        }

        tr:last-child td {
            border-bottom: none;
        }

        .actions {
            display: flex;
            gap: 0.5rem;
            justify-content: flex-end;
        }

        .actions button {
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 0.5rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }

        .edit {
            background: var(--primary);
            color: white;
        }

        .delete {
            background: var(--danger);
            color: white;
        }

        .actions button:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 4px -1px var(--shadow-color);
        }

        /* Animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .container {
            animation: fadeIn 0.5s ease-out;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .container {
                padding: 1.5rem;
                margin: 0.5rem;
            }

            h1 {
                font-size: 1.75rem;
                margin-bottom: 2rem;
            }

            table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }

            th, td {
                padding: 1rem 0.75rem;
            }
        }