   :root {
            --background: 0 0% 100%;
            --foreground: 195 100% 15%;
            --card: 0 0% 100%;
            --card-foreground: 195 100% 15%;
            --popover: 0 0% 100%;
            --popover-foreground: 195 100% 15%;
            --primary: 186 59% 47%;
            --primary-foreground: 0 0% 100%;
            --secondary: 196 66% 22%;
            --secondary-foreground: 0 0% 100%;
            --muted: 210 40% 96.1%;
            --muted-foreground: 195 50% 35%;
            --accent: 186 59% 47%;
            --accent-foreground: 0 0% 0%;
            --destructive: 0 84.2% 60.2%;
            --destructive-foreground: 210 40% 98%;
            --border: 214.3 31.8% 91.4%;
            --input: 214.3 31.8% 91.4%;
            --ring: 222.2 84% 4.9%;
            --radius: 0.5rem;
        }

        .dark {
            --background: 222.2 84% 4.9%;
            --foreground: 210 40% 98%;
            --card: 222.2 84% 4.9%;
            --card-foreground: 210 40% 98%;
            --popover: 222.2 84% 4.9%;
            --popover-foreground: 210 40% 98%;
            --primary: 210 40% 98%;
            --primary-foreground: 222.2 47.4% 11.2%;
            --secondary: 217.2 32.6% 17.5%;
            --secondary-foreground: 210 40% 98%;
            --muted: 217.2 32.6% 17.5%;
            --muted-foreground: 215 20.2% 65.1%;
            --accent: 217.2 32.6% 17.5%;
            --accent-foreground: 210 40% 98%;
            --destructive: 0 62.8% 30.6%;
            --destructive-foreground: 210 40% 98%;
            --border: 217.2 32.6% 17.5%;
            --input: 217.2 32.6% 17.5%;
            --ring: 212.7 26.8% 83.9%;
        }

        body {
            background-color: hsl(var(--background));
            color: hsl(var(--foreground));
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
        
        /* Background Colors */
        .bg-background { background-color: hsl(var(--background)); }
        .bg-foreground { background-color: hsl(var(--foreground)); }
        .bg-card { background-color: hsl(var(--card)); }
        .bg-primary { background-color: hsl(var(--primary)); }
        .bg-primary-10 { background-color: hsl(var(--primary) / 0.1); }
        .bg-primary-5 { background-color: hsl(var(--primary) / 0.05); }
        .bg-secondary { background-color: hsl(var(--secondary)); }
        .bg-muted { background-color: hsl(var(--muted)); }
        .bg-muted-20 { background-color: hsl(var(--muted) / 0.2); }
        .bg-muted-50 { background-color: hsl(var(--muted) / 0.5); }
        .bg-accent { background-color: hsl(var(--accent)); }
        .bg-destructive { background-color: hsl(var(--destructive)); }
        
        /* Text Colors */
        .text-background { color: hsl(var(--background)); }
        .text-foreground { color: hsl(var(--foreground)); }
        .text-card-foreground { color: hsl(var(--card-foreground)); }
        .text-primary { color: hsl(var(--primary)); }
        .text-primary-foreground { color: hsl(var(--primary-foreground)); }
        .text-secondary { color: hsl(var(--secondary)); }
        .text-secondary-foreground { color: hsl(var(--secondary-foreground)); }
        .text-muted-foreground { color: hsl(var(--muted-foreground)); }
        .text-accent { color: hsl(var(--accent)); }
        .text-accent-foreground { color: hsl(var(--accent-foreground)); }
        .text-destructive { color: hsl(var(--destructive)); }
        .text-destructive-foreground { color: hsl(var(--destructive-foreground)); }
        
        /* Border Colors */
        .border-border { border-color: hsl(var(--border)); }
        .border-input { border-color: hsl(var(--input)); }
        .border-ring { border-color: hsl(var(--ring)); }
        .border-primary { border-color: hsl(var(--primary)); }
        
        /* Ring Colors */
        .ring-ring { --tw-ring-color: hsl(var(--ring)); }
        .ring-primary { --tw-ring-color: hsl(var(--primary)); }

        /* Gradients */
        .bg-gradient-to-br { 
            background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); 
        }
        .from-background { --tw-gradient-from: hsl(var(--background)); --tw-gradient-to: hsl(var(--background) / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
        .to-muted { --tw-gradient-to: hsl(var(--muted)); }

        /* Button Components */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            white-space: nowrap;
            border-radius: calc(var(--radius) - 2px);
            font-size: 0.875rem;
            font-weight: 500;
            transition: all 0.2s;
            outline: none;
            text-decoration: none;
            cursor: pointer;
            border: none;
        }
        
        .btn:focus-visible {
            outline: 2px solid hsl(var(--ring));
            outline-offset: 2px;
        }
        
        .btn:disabled {
            pointer-events: none;
            opacity: 0.5;
        }
        
        .btn-default {
            background-color: hsl(var(--primary));
            color: hsl(var(--primary-foreground));
        }
        
        .btn-default:hover {
            background-color: hsl(var(--primary) / 0.9);
        }
        
        .btn-outline {
            border: 1px solid hsl(var(--input));
            background-color: hsl(var(--background));
        }
        
        .btn-outline:hover {
            background-color: hsl(var(--accent));
            color: hsl(var(--accent-foreground));
        }
        
        .btn-ghost:hover {
            background-color: hsl(var(--accent));
            color: hsl(var(--accent-foreground));
        }
        
        .btn-sm {
            height: 2.25rem;
            padding: 0 0.75rem;
            border-radius: calc(var(--radius) - 2px);
        }
        
        .btn-default-size {
            height: 2.5rem;
            padding: 0.5rem 1rem;
        }
        
        .btn-lg {
            height: 2.75rem;
            border-radius: calc(var(--radius) - 2px);
            padding: 0 2rem;
            font-size: 1rem;
        }
        
        .btn-icon {
            height: 2.5rem;
            width: 2.5rem;
        }

        /* Card Components */
        .card {
            border-radius: calc(var(--radius) + 2px);
            border: 1px solid hsl(var(--border));
            background-color: hsl(var(--card));
            color: hsl(var(--card-foreground));
            box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
        }
        
        .card-header {
            display: flex;
            flex-direction: column;
            gap: 0.375rem;
            padding: 1.5rem;
        }
        
        .card-title {
            font-size: 1.125rem;
            font-weight: 600;
            line-height: 1;
            letter-spacing: -0.025em;
        }
        
        .card-content {
            padding: 1.5rem;
            padding-top: 0;
        }

        /* Container */
        .container {
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            padding-left: 2rem;
            padding-right: 2rem;
        }
        
        @media (min-width: 1400px) {
            .container {
                max-width: 1400px;
            }
        }

        /* Utility Classes */
        .transition-all { transition: all 0.2s; }
        .transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
        .transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
        
        .hover-shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
        
        .sticky { position: sticky; }
        .relative { position: relative; }
        .z-50 { z-index: 50; }
        
        .btn-primary {
            background-color: hsl(var(--primary));
            color: hsl(var(--primary-foreground));
            border: 1px solid hsl(var(--primary));
            transition: all 0.2s ease-in-out;
        }
        
        .btn-primary:hover {
            background-color: hsl(var(--primary) / 0.9);
        }
        
        .btn-primary:disabled {
            background-color: hsl(var(--muted));
            color: hsl(var(--muted-foreground));
            cursor: not-allowed;
        }
        
        .btn-outline {
            background-color: transparent;
            color: hsl(var(--primary));
            border: 1px solid hsl(var(--border));
            transition: all 0.2s ease-in-out;
        }
        
        .btn-outline:hover {
            background-color: hsl(var(--accent));
            color: hsl(var(--accent-foreground));
        }
        
        .btn-ghost {
            background-color: transparent;
            color: hsl(var(--foreground));
            border: 1px solid transparent;
            transition: all 0.2s ease-in-out;
        }
        
        .btn-ghost:hover {
            background-color: hsl(var(--accent));
            color: hsl(var(--accent-foreground));
        }

        .card {
            background-color: hsl(var(--card));
            color: hsl(var(--card-foreground));
            border: 1px solid hsl(var(--border));
            border-radius: calc(var(--radius) + 2px);
            box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
        }
        
        .card:hover {
            box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        }
        
        .input {
            background-color: hsl(var(--background));
            color: hsl(var(--foreground));
            border: 1px solid hsl(var(--input));
            border-radius: var(--radius);
            padding: 0.5rem 0.75rem;
            transition: all 0.2s ease-in-out;
        }
        
        .input:focus {
            outline: none;
            border-color: hsl(var(--ring));
            box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
        }
        
        .input.error {
            border-color: hsl(var(--destructive));
        }
        
        .textarea {
            background-color: hsl(var(--background));
            color: hsl(var(--foreground));
            border: 1px solid hsl(var(--input));
            border-radius: var(--radius);
            padding: 0.5rem 0.75rem;
            transition: all 0.2s ease-in-out;
            resize: vertical;
        }
        
        .textarea:focus {
            outline: none;
            border-color: hsl(var(--ring));
            box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
        }
        
        .select {
            background-color: hsl(var(--background));
            color: hsl(var(--foreground));
            border: 1px solid hsl(var(--input));
            border-radius: var(--radius);
            padding: 0.5rem 0.75rem;
            transition: all 0.2s ease-in-out;
        }
        
        .select:focus {
            outline: none;
            border-color: hsl(var(--ring));
            box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
        }

        /* Modal styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }
        
        .modal-content {
            background-color: hsl(var(--card));
            border-radius: calc(var(--radius) + 4px);
            padding: 1.5rem;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
            margin: 1rem;
            box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
        }

        /* Error message styles */
        .error-message {
            color: hsl(var(--destructive));
            font-size: 0.875rem;
            margin-top: 0.25rem;
        }

        /* Success message styles */
        .success-message {
            background-color: hsl(var(--primary) / 0.1);
            color: hsl(var(--primary));
            padding: 1rem;
            border-radius: var(--radius);
            margin-bottom: 1rem;
        }

        /* Loading state */
        .loading {
            opacity: 0.6;
            pointer-events: none;
        }

        /* Checkbox and radio styles */
        input[type="checkbox"], input[type="radio"] {
            accent-color: hsl(var(--primary));
        }

        /* Date picker styles */
        .date-picker {
            background-color: hsl(var(--background));
            border: 1px solid hsl(var(--input));
            border-radius: var(--radius);
            padding: 0.5rem 0.75rem;
            cursor: pointer;
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Responsive utilities */
        @media (max-width: 768px) {
            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            
            .modal-content {
                max-width: 95vw;
                margin: 0.5rem;
            }
        }

        /* Hidden fields for conditional display */
        .hidden-field {
            display: none !important;
        }
        
        .show-field {
            display: block !important;
        }
        
        /* Smooth transitions for field visibility */
        .conditional-field {
            transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        }
        
        .conditional-field.hidden-field {
            opacity: 0;
            transform: translateY(-10px);
        }
        
        .conditional-field.show-field {
            opacity: 1;
            transform: translateY(0);
        }
        .custom-select {
            position: relative;
            display: block;
            width: 100%;
        }
        
        .custom-select-trigger {
            background-color: hsl(var(--background));
            border: 1px solid hsl(var(--input));
            border-radius: var(--radius);
            padding: 0.5rem 2.5rem 0.5rem 0.75rem;
            width: 100%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.875rem;
            line-height: 1.25rem;
            transition: all 0.2s;
        }
        
        .custom-select-trigger:hover {
            border-color: hsl(var(--ring));
        }
        
        .custom-select-trigger:focus {
            outline: 2px solid hsl(var(--ring));
            outline-offset: 2px;
            border-color: hsl(var(--ring));
        }
        
        .custom-select-trigger.placeholder {
            color: hsl(var(--muted-foreground));
        }
        
        .custom-select-arrow {
            position: absolute;
            right: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            width: 1rem;
            height: 1rem;
            transition: transform 0.2s;
            pointer-events: none;
        }
        
        .custom-select.open .custom-select-arrow {
            transform: translateY(-50%) rotate(180deg);
        }
        
        .custom-select-content {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            z-index: 50;
            background-color: hsl(var(--popover));
            border: 1px solid hsl(var(--border));
            border-radius: var(--radius);
            box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
            max-height: 200px;
            overflow-y: auto;
            margin-top: 0.25rem;
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.2s, transform 0.2s;
            pointer-events: none;
        }
        
        .custom-select.open .custom-select-content {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        
        .custom-select-item {
            padding: 0.5rem 0.75rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            transition: background-color 0.2s;
            position: relative;
        }
        
        .custom-select-item:hover {
            background-color: hsl(var(--accent));
            color: hsl(var(--accent-foreground));
        }
        
        .custom-select-item.selected {
            background-color: hsl(var(--accent));
            color: hsl(var(--accent-foreground));
        }
        
        .custom-select-item.selected::before {
            content: "✓";
            color: hsl(var(--primary));
            font-weight: bold;
            margin-right: 0.5rem;
        }
        
        .custom-select-item:first-child {
            border-top-left-radius: calc(var(--radius) - 2px);
            border-top-right-radius: calc(var(--radius) - 2px);
        }
        
        .custom-select-item:last-child {
            border-bottom-left-radius: calc(var(--radius) - 2px);
            border-bottom-right-radius: calc(var(--radius) - 2px);
        }
    