        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        
        /* Base Styles */
        :root {
            --bg-primary: #faf9fb;               /* Soft lavender white – elegant canvas */
            --bg-secondary: #f2f0f3;             /* Light orchid gray – subtle depth */
            --bg-card: #ffffff;                  /* Crisp white – modern neutral */
            --bg-glass: rgba(50, 10, 50, 0.02);  /* Whisper of magenta – atmospheric layering */
            --border-primary: #e5e1e9;           /* Gentle violet-gray – light structure */
            --border-hover: #cbc4d1;             /* Muted plum-gray – hover hint */
            --text-primary: #231625;             /* Near-black plum – elegant authority */
            --text-secondary: #4b3c4f;           /* Muted raisin – easy on the eyes */
            --text-tertiary: #7c6f85;            /* Desaturated mauve – label & helper tone */
            --accent-primary: #690069;           /* Deep magenta – bold, premium, unique */
            --accent-secondary: #a83279;         /* Plum rose – warm, rich contrast */
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.5;
        }

        .container {
            display: flex;
            min-height: 100vh;
        }

        /* Sidebar */
        .sidebar {
            width: 280px;
            background: var(--bg-secondary);
            border-right: 1px solid var(--border-primary);
            padding: 20px;
            position: fixed;
            left: 0;
            top: 0;
            height: 100vh;
            z-index: 10;
            display: flex;
            flex-direction: column;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--accent-primary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 18px;
            color: white;
            box-shadow: var(--shadow-lg);
        }

        .logo-text {
            font-size: 24px;
            font-weight: 700;
            color: var(--accent-primary);
        }

        .add-member-btn {
            width: 100%;
            background: var(--accent-primary);
            border: none;
            border-radius: 12px;
            padding: 14px 20px;
            color: white;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            margin-bottom: 24px;
            box-shadow: var(--shadow-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .add-member-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }

        .nav-sections-container {
            flex: 1;
            overflow: hidden;
            margin-bottom: 12px;
        }

        .nav-section {
            margin-bottom: 24px;
        }

        .nav-title {
            font-size: 11px;
            font-weight: 600;
            color: var(--text-tertiary);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 12px;
            padding-left: 16px;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 16px;
            border-radius: 10px;
            cursor: pointer;
            margin-bottom: 2px;
            font-weight: 500;
            font-size: 14px;
            color: var(--text-secondary);
        }

        .nav-item:hover,
        .nav-item.active {
            background: var(--bg-glass);
            color: var(--accent-primary);
        }

        .nav-icon {
            width: 18px;
            height: 18px;
            opacity: 0.8;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            color: inherit;
            text-decoration: none;
        }

        /* User Profile */
        .user-profile {
            margin-top: auto;
            padding: 16px;
            background: var(--bg-glass);
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            cursor: pointer;
        }

        .user-profile:hover {
            background: var(--bg-card);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            background: var(--accent-primary);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 16px;
        }

        .user-info {
            flex: 1;
            min-width: 0;
        }

        .user-name {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 14px;
            margin-bottom: 2px;
        }

        .user-role {
            color: var(--text-tertiary);
            font-size: 12px;
        }

        /* Main Content */
        .main {
            flex: 1;
            padding: 32px;
            margin-left: 280px;
        }

        .header {
            padding: 24px 0;
            border-bottom: 1px solid var(--border-primary);
            margin-bottom: 32px;
        }

        .header h1 {
            font-size: 32px;
            font-weight: 700;
            color: var(--accent-primary);
            margin: 0;
        }

        /* Settings Cards */
        .settings-container {
            max-width: none;
            margin: 0;
            padding-right: 32px;
        }

        .settings-card {
            background: var(--bg-card);
            border: 1px solid var(--border-primary);
            border-radius: 20px;
            padding: 24px;
            margin-bottom: 24px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            max-width: 800px;
        }

        .settings-card:hover {
            transform: translateY(-4px);
            border-color: var(--border-hover);
            box-shadow: var(--shadow-xl);
        }

        .settings-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 20px;
        }

        .settings-group {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .form-label {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
        }

        .form-input,
        .form-select {
            padding: 12px;
            border: 1px solid var(--border-primary);
            border-radius: 12px;
            font-size: 14px;
            transition: all 0.3s ease;
            background: var(--bg-glass);
        }

        .form-input:focus,
        .form-select:focus {
            outline: none;
            border-color: var(--accent-primary);
            background: var(--bg-card);
        }

        .toggle-group {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-primary);
        }

        .toggle-group:last-child {
            border-bottom: none;
        }

        .toggle-label {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
        }

        /* Toggle Switch */
        .switch {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--border-primary);
            transition: .4s;
            border-radius: 24px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: var(--accent-primary);
        }

        input:checked + .slider:before {
            transform: translateX(20px);
        }

        .btn {
            padding: 12px 24px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary {
            background: var(--accent-primary);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .btn-danger {
            background: var(--danger);
            color: white;
        }

        .btn-danger:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .actions {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            margin-top: 20px;
        }

        @media (max-width: 768px) {
            .settings-group {
                grid-template-columns: 1fr;
            }
            
            .main {
                margin-left: 0;
                padding: 20px;
            }
            
            .sidebar {
                display: none;
            }
        }

        /* Add these styles in the <style> section */
        .user-dropdown {
            position: absolute;
            bottom: calc(100% + 10px);
            left: 0;
            right: 0;
            background: var(--bg-card);
            border: 1px solid var(--border-primary);
            border-radius: 12px;
            padding: 8px;
            display: none;
            box-shadow: var(--shadow-xl);
            z-index: 1000;
        }

        .user-dropdown.show {
            display: block;
        }

        .user-dropdown::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%) rotate(45deg);
            width: 12px;
            height: 12px;
            background: var(--bg-card);
            border-right: 1px solid var(--border-primary);
            border-bottom: 1px solid var(--border-primary);
        }

        .user-dropdown-option {
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            border-radius: 8px;
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 14px;
            transition: all 0.2s ease;
            text-decoration: none;
        }

        .user-dropdown-option:hover {
            background: var(--bg-glass);
            color: var(--accent-primary);
        }
