      :root {
            --primary-bg: #f0f0f0;
            --card-bg: #ffffff;
            --accent: #3b82f6;
        }

        body {
            background: var(--primary-bg);
            color: #333;
            font-family: 'Segoe UI', sans-serif;
        }

        .sidebar {
            background: #071529;
            min-height: 100vh;
            padding: 20px;
            border-left: 1px solid rgba(255, 255, 255, 0.05);
        }

        .nav-link {
            color: #94a3b8;
            border-radius: 12px;
            padding: 12px;
            margin-bottom: 5px;
        }

        .nav-link.active {
            background: var(--accent);
            color: #fff;
        }

        .user-card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 15px;
            margin-bottom: 10px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .form-control {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.2);
            color: #222;
        }

        .table {
            border-collapse: collapse !important;
            /* مهم */
        }

        .table thead th {
            color: #fff;
            background: #920707;
            background: linear-gradient(to top, #920707, #BF1E22);
            background: linear-gradient(to top, #1A1A24, #61666B);

            border-color: #241D3D;
             border: 1px solid #ccc;
            font-size: 13px;
            padding: 3px;
        }



        .table tbody td {

            font-size: 12px;


            background: #E4EBF4;
            color: #2E2B29;
            background: #1A1A24;
            background: #ffffff;
            color: #0F172A;

            color: #444;
            background: #0D0D12;
            background: #0F172A;
            background: #fff;

            border: 1px solid #ccc;
            /* border-color: #2E2B29; */

            padding: 5px;
        }

        /* الصف */
        .table tbody tr {
            transition: background 0.2s ease;
        }

        /* hover (بدون scale لأنه بيبوّظ الجدول) */
        .table tbody tr:hover td {
            background: #B3D7F3 !important;
            color: #555 !important;
            cursor: pointer;
        }

        .table-responsive {
            max-height: calc(100vh - 180px);
        }





        /* تحسين شكل المودال */
        #SearchModal .modal-content {
            border-radius: 16px;
            padding: 10px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        }

        #SearchModal .modal-header {
            padding-bottom: 5px;
        }

        #SearchModal .modal-title {
            font-weight: 600;
            font-size: 18px;
            letter-spacing: 0.5px;
        }

        /* تحسين الانبوت */
        #SearchModal input {
            height: 40px;
            border-radius: 12px;
            color: #fff;
            font-size: 15px;
            transition: 0.3s;
        }



        /* زرار البحث */
        #SearchModal .btn-primary {
            width: 100%;
            height: 45px;
            border-radius: 12px;
            font-weight: 500;
            letter-spacing: 0.5px;
        }


        .form-control:focus {
            background: transparent;
            color: #222;
        }

        /* 
        .Search {
            -webkit-text-fill-color: #fff;
        }

        .Search:focus {
            background: transparent;
            color: #444;
        } */



        .Search option {
            background: #0b1f3c;
            color: #ffffff;
        }

        .Search option:hover {
            background: yellow;
            color: #000;
        }