        :root {
            --bg: #0f172a;
            --card-bg: #1e293b;
            --primary: #38bdf8;
            --primary-hover: #0ea5e9;
            --success: #22c55e;
            --warning: #f59e0b;
            --danger: #ef4444;
            --text: #f8fafc;
            --text-dim: #94a3b8;
            --accent: #6366f1;
            --glass: rgba(30, 41, 59, 0.7);
        }

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

        body {
            font-family: 'Outfit', 'Noto Kufi Arabic', sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            padding: 20px;
            min-height: 100vh;
            background-image: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
        }

        .glass-card {
            background: var(--glass);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
        }

        h2 {
            color: var(--primary);
            font-weight: 800;
            font-size: 26px;
            text-align: center;
            margin-bottom: 25px;
        }

        h3 {
            border-bottom: 2px solid var(--primary);
            display: inline-block;
            padding-bottom: 4px;
            font-size: 17px;
            color: var(--text);
            margin-bottom: 15px;
        }

        input,
        select {
            width: 100%;
            padding: 10px 14px;
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid #334155;
            border-radius: 8px;
            color: white;
            font-size: 13px;
            margin-bottom: 10px;
            outline: none;
        }

        label {
            font-size: 12px;
            color: var(--text-dim);
            display: block;
            margin-bottom: 5px;
        }

        button {
            padding: 10px 18px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 13px;
        }

        button.primary {
            background: var(--primary);
            color: #0f172a;
        }

        button.success {
            background: var(--success);
            color: white;
        }

        button.warning {
            background: var(--warning);
            color: #0f172a;
        }

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

        button.icon {
            padding: 5px 10px;
            font-size: 16px;
        }

        .row {
            display: flex;
            gap: 10px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .row>* {
            flex: 1;
            min-width: 180px;
        }

        .list-container {
            margin-top: 10px;
            max-height: 250px;
            overflow-y: auto;
            background: rgba(15, 23, 42, 0.4);
            border-radius: 10px;
            padding: 12px;
            border: 1px solid #334155;
        }

        .item {
            background: #2d3748;
            padding: 10px;
            border-radius: 6px;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 3px solid var(--primary);
        }

        .item.clickable {
            cursor: pointer;
            transition: 0.2s;
        }

        .item.clickable:hover {
            background: rgba(56, 189, 248, 0.1);
            border-color: var(--primary-hover);
        }

        .sat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            gap: 8px;
            background: rgba(30, 41, 59, 0.4);
            padding: 12px;
            border-radius: 10px;
            border: 1px solid #334155;
        }

        .sat-checkbox {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            cursor: pointer;
            padding: 6px;
            border-radius: 4px;
        }

        .sat-checkbox input {
            width: auto;
            margin-bottom: 0;
        }

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

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

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #334155;
            transition: .4s;
            border-radius: 20px;
        }

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

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

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

        #toast {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 12px 20px;
            border-radius: 10px;
            color: white;
            z-index: 1000;
            display: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
        }

        #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .spinner {
            width: 35px;
            height: 35px;
            border: 3px solid #334155;
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .entries-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 12px;
        }

        .entry-card {
            background: #1e293b;
            border: 1px solid #334155;
            border-radius: 10px;
            padding: 12px;
            border-top: 3px solid var(--success);
        }

        .flex-row {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .card-header {
            font-size: 16px;
            font-weight: bold;
            color: var(--text);
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary);
        }

        .center-buttons {
            margin-top: 30px;
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-bottom: 50px;
            align-items: center;
        }

        /* Header Navigation */
        .header-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .header-nav h2 {
            margin: 0;
            text-align: right;
        }

        .header-buttons {
            display: flex;
            gap: 10px;
        }

        .header-buttons a,
        .header-buttons button {
            padding: 10px 20px;
            border-radius: 8px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
        }
