        :root {
            /* primary gradient */
            --gradient-start: #4e73df;
            --gradient-end: #224abe;


            --dark: #2d3748;
            --light: #f8f9fa;


            /* Secondary Gradient */
            --gradient-secondary-start: #6c757d;
            /* A neutral gray */
            --gradient-secondary-end: #343a40;
            /* A darker gray */
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f5f7fa;
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .btn-gradient {
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
            color: white;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(78, 115, 223, 0.3);
        }

        .btn-gray-gradient {
            background: linear-gradient(135deg, #6c757d, #9ca3af);
            color: white;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(78, 115, 223, 0.3);
        }

        .btn-secondary-gradient {
            background: linear-gradient(135deg, var(--gradient-secondary-start), var(--gradient-secondary-end));
            color: white;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
            /* Use a softer shadow for a secondary button */
            box-shadow: 0 2px 10px rgba(108, 117, 125, 0.2);
            padding: 10px 20px;
            /* Example padding, adjust as needed */
            text-decoration: none;
            /* In case it's an anchor tag */
            border: none;
        }

        .btn-gradient:hover, .btn-import:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(79, 81, 87, 0.3);
        }
        .btn-import {
            background: linear-gradient(135deg, #343a40, #6c757d);
            color: white;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(79, 81, 87, 0.3));
        }

        /* Secondary Button Hover Effect */
        .btn-secondary-gradient:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
        }

        .nav-pill {
            transition: all 0.3s ease;
        }

        .nav-pill:hover {
            background-color: rgba(78, 115, 223, 0.1);
        }

        .nav-pill.active {
            background-color: rgba(78, 115, 223, 0.2);
            color: var(--gradient-start);
            font-weight: 500;
        }

        .feature-card {
            transition: all 0.3s ease;
            border-radius: 12px;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .status-badge {
            /* font-size: 0.6rem; */
            /* padding: 0.2rem 0.7rem; */
            /* border-radius: 9999px; */
        }








        /* --- Modal Styles --- */
        .modal {
            display: none;
            position: fixed;
            z-index: 50;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            overflow-y: auto;
        }

        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 24px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            width: 90%;
            max-width: 600px;
            animation: modalFadeIn 0.3s ease-out;
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-lg .modal-content {
            max-width: 42rem;
        }

        .modal-xl .modal-content {
            max-width: 56rem;
        }

        /* --- Consistent Form Controls --- */
        .modal input[type="text"],
        .modal input[type="number"],
        .modal input[type="date"],
        .modal input[type="email"],
        .modal input[type="password"],
        .modal select,
        .modal textarea {
            width: 100%;
            /* padding: 0.5rem 0.75rem; */
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            line-height: 1.25rem;
            color: #111827;
            background-color: #fff;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }

        .modal input:focus,
        .modal select:focus,
        .modal textarea:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        /* --- Button Styles --- */
        .modal-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem 1rem;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            font-weight: 500;
            line-height: 1.25rem;
            transition: all 0.15s ease-in-out;
            cursor: pointer;
        }

        .modal-btn-primary {
            background-color: #3b82f6;
            color: white;
            border: 1px solid transparent;
        }

        .modal-btn-primary:hover {
            background-color: #2563eb;
        }

        .modal-btn-secondary {
            background-color: #f3f4f6;
            color: #374151;
            border: 1px solid #d1d5db;
        }

        .modal-btn-secondary:hover {
            background-color: #e5e7eb;
        }

        .modal-btn-close {
            color: #9ca3af;
            font-size: 1.5rem;
            line-height: 1;
            padding: 0.25rem;
            background: none;
            border: none;
            cursor: pointer;
        }

        .modal-btn-close:hover {
            color: #6b7280;
        }

        /* --- General Settings UI Styles --- */
        .main-tab-content,
        .secondary-tab-content {
            display: none;
        }

        .main-tab-content.active,
        .secondary-tab-content.active {
            display: block !important;
            animation: fadeIn 0.3s ease-in-out !important;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .main-nav-tab {
            transition: all 0.2s ease;
            border-bottom: 2px solid transparent;
        }

        .main-nav-tab:hover:not(.active) {
            border-bottom-color: #d1d5db;
        }

        .main-nav-tab.active {
            border-bottom-color: #2563eb !important;
            color: #2563eb !important;
        }

        .secondary-nav-tab,
        .secondary-min-tab-content .active {
            transition: all 0.2s ease;
            border-bottom: 2px solid transparent;
            color: #6b7280;
        }

        .secondary-nav-tab:hover:not(.active),
        .secondary-min-tab-content:hover:not(.active) {
            color: #374151;
            border-bottom-color: #d1d5db;
        }

        .secondary-nav-tab.active,
        .secondary-min-tab-content .active {
            border-bottom-color: #3b82f6;
            color: #3b82f6;
            font-weight: 600;
        }

        .loading-state {
            color: #4b5563;
        }

        .loading-state i {
            margin-right: 0.5rem;
        }

        /* --- Accordion Styling --- */
        .accordion-header {
            transition: background-color 0.2s ease;
        }

        .accordion-header:hover {
            background-color: #f9fafb;
        }

        .accordion.active .accordion-content {
            display: block;
        }

        .accordion-icon {
            transition: transform 0.2s ease;
            font-size: 1.2rem;
            transform: rotate(0deg);
        }

        .accordion.active .accordion-icon {
            transform: rotate(45deg);
        }

        .accordion-content {
            display: none;
            transition: all 0.3s ease;
        }

        /* --- Responsive Grid and Card Styles --- */
        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1rem;
        }

        .card {
            transition: all 0.2s ease;
        }

        .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }