:root { 
        --primary-color: #1a237e; 
        --secondary-color: #ffca28; 
        --gold: #ffb300; 
        --bg-light: #f4f7f9;
        --surface: #ffffff;
      }

      body, html { margin: 0; padding: 0; width: 100%; overflow-x: hidden; font-family: 'Tajawal', sans-serif; background-color: var(--bg-light); direction: rtl; scroll-behavior: smooth; }
      .header-outer, .content-inner, .footer-outer, .sidebar, #navbar-iframe { display: none !important; }
      
      ::-webkit-scrollbar { width: 8px; }
      ::-webkit-scrollbar-track { background: var(--bg-light); }
      ::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 4px; }
      ::-webkit-scrollbar-thumb:hover { background: var(--gold); }

      .top-urgency-bar {
        background: linear-gradient(90deg, var(--primary-color), #2a3699);
        color: #fff; text-align: center; padding: 8px 15px; font-size: 14px; font-weight: 700;
        display: flex; justify-content: center; align-items: center; gap: 8px; z-index: 1001; position: relative;
        box-shadow: 0 2px 10px rgba(26, 35, 126, 0.25); flex-wrap: wrap; border-bottom: 2px solid var(--secondary-color);
      }
      .pulse-bell { animation: pulse 1.5s infinite; color: var(--secondary-color); font-size: 16px; }
      @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
      .urgency-seats { background: rgba(255,255,255,0.15); padding: 2px 10px; border-radius: 12px; font-weight: 800; color: var(--secondary-color); }

      .quick-contact-bar { background: var(--primary-color); color: #fff; text-align: center; padding: 6px 10px; font-size: 13px; font-weight: 600; }
      .quick-contact-bar a { color: var(--secondary-color); text-decoration: none; font-weight: 800; margin-right: 6px; }

      header { background-color: var(--surface); padding: 12px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--secondary-color); }
      .brand-box { display: flex; align-items: center; gap: 12px; }
      .brand-box img { height: 48px; border-radius: 10px; border: 2px solid var(--primary-color); padding: 2px; }
      .brand-box h1 { margin: 0; font-size: 22px; font-weight: 800; color: var(--primary-color); letter-spacing: -0.5px; }
      .brand-tagline { display: block; font-size: 11.5px; color: #607d8b; font-weight: 600; margin-top: 2px; }
      .header-actions { display: flex; align-items: center; gap: 10px; }
      .btn-call-header { display: flex; align-items: center; gap: 6px; color: var(--primary-color); text-decoration: none; font-weight: 800; font-size: 15px; border: 2px solid var(--primary-color); padding: 8px 16px; border-radius: 30px; transition: all 0.2s; }
      .btn-call-header:hover { background: var(--primary-color); color: #fff; }
      .btn-header { background: linear-gradient(135deg, var(--secondary-color), var(--gold)); color: var(--primary-color); padding: 10px 24px; border-radius: 30px; font-weight: 800; border: none; cursor: pointer; font-family: 'Tajawal'; font-size: 16px; box-shadow: 0 4px 10px rgba(255, 202, 40, 0.3); transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap; }
      .btn-header:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255, 202, 40, 0.5); }
      
      .hero { 
        background: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?q=65&w=1400&auto=format&fit=crop') center/cover no-repeat; 
        color: #fff; text-align: center; padding: 90px 20px; position: relative; 
      }
      .hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(26, 35, 126, 0.9), rgba(10, 15, 60, 0.8)); z-index: 1; }
      
      .hero-glass-box {
        position: relative; z-index: 2;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 24px;
        padding: 40px 30px;
        max-width: 800px;
        margin: 0 auto;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
      }
      
      .hero img { height: 110px; border-radius: 18px; margin-bottom: 20px; border: 3px solid var(--secondary-color); box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
      
      .hero h2 { font-size: 40px; font-weight: 800; margin-bottom: 10px; color: var(--secondary-color); text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
      .hero h3 { font-size: 22px; font-weight: 700; margin-bottom: 15px; letter-spacing: 0.5px; }
      .hero p { font-size: 17px; margin: 0 auto 25px auto; line-height: 1.6; color: #e3f2fd; font-weight: 500; }
      .highlight-text { color: var(--secondary-color); font-weight: 800; font-size: 19px; }
      
      .badges-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 25px; }
      .urgency-badge { display: inline-flex; align-items: center; background: rgba(211, 47, 47, 0.85); border: 1px solid rgba(255,255,255, 0.25); color: #fff; padding: 6px 15px; border-radius: 30px; font-size: 14px; font-weight: 800; backdrop-filter: blur(5px); }
      .urgency-badge i { color: #fff; margin-left: 5px; font-size: 16px; }
      .grants-badge { background: rgba(16, 185, 129, 0.9); border-color: rgba(16, 185, 129, 0.5); }

      .cta-button { background: linear-gradient(135deg, var(--secondary-color), var(--gold)); color: var(--primary-color); padding: 16px 40px; font-size: 20px; border-radius: 40px; font-weight: 800; border: none; cursor: pointer; font-family: 'Tajawal'; box-shadow: 0 8px 20px rgba(255, 202, 40, 0.4); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); margin: 0 auto; display: inline-block;}
      .cta-button:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 25px rgba(255, 202, 40, 0.6); }

      /* منحة الصفوف الثاني حتى الخامس أسفل زر التسجيل */
      .hero-grant-offer {
        width: min(100%, 650px); margin: 18px auto 0; padding: 13px 15px;
        border: 1px solid rgba(255,255,255,0.3); border-radius: 16px;
        background: linear-gradient(135deg, rgba(16,185,129,0.96), rgba(5,150,105,0.92));
        color: #fff; font-family: 'Tajawal'; cursor: pointer; text-align: right;
        display: flex; align-items: center; gap: 12px; box-sizing: border-box;
        box-shadow: 0 10px 24px rgba(5,150,105,0.28); transition: transform 0.25s ease, box-shadow 0.25s ease;
      }
      .hero-grant-offer:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(5,150,105,0.38); }
      .hero-grant-offer:focus-visible { outline: 3px solid rgba(255,255,255,0.9); outline-offset: 3px; }
      .hero-grant-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 13px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 23px; }
      .hero-grant-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
      .hero-grant-kicker { font-size: 12px; font-weight: 800; color: #d1fae5; }
      .hero-grant-copy strong { font-size: 16px; font-weight: 800; line-height: 1.4; }
      .hero-grant-copy small { color: #ecfdf5; font-size: 12.5px; font-weight: 600; line-height: 1.5; }
      .hero-grant-action { background: #fff; color: #047857; padding: 8px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }

      .stats-section { background: var(--primary-color); padding: 35px 5%; }
      .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; max-width: 1100px; margin: 0 auto; text-align: center; }
      .stat-item h3 { color: var(--secondary-color); font-size: 32px; font-weight: 800; margin: 0 0 5px 0; }
      .stat-item p { color: #dbe4ff; font-size: 14px; font-weight: 600; margin: 0; }

      .features-section { padding: 70px 5%; background-color: var(--surface); text-align: center; position: relative; }
      .features-section h2 { color: var(--primary-color); font-size: 34px; font-weight: 800; margin-bottom: 5px; }
      .features-section h4 { color: #607d8b; font-size: 18px; font-weight: 700; margin-bottom: 40px; }
      
      .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto 40px auto; }
      
      .feature-card { background: var(--surface); padding: 25px 20px; border-radius: 16px; text-align: center; border: 1px solid #f0f0f0; border-bottom: 4px solid var(--gold); box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: transform 0.3s ease; }
      .feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(26, 35, 126, 0.08); border-bottom-color: var(--primary-color); }
      .feature-card.highlight-card { border: 2px solid var(--gold); background: #fffdf5; }
      
      .feature-card.tech-card { border-bottom-color: #6366f1; border: 2px solid #e0e7ff; background: #fefeff; }
      .feature-card.tech-card .feature-icon { color: #6366f1; }
      .feature-card.tech-card h3 { color: #4338ca; }

      .feature-card.grants-card { border-bottom-color: #10b981; border: 2px solid #d1fae5; background: #f0fdf4; }
      .feature-card.grants-card .feature-icon { color: #10b981; }
      .feature-card.grants-card h3 { color: #047857; }

      .feature-icon { font-size: 38px; color: var(--primary-color); margin-bottom: 12px; display: inline-block; }
      .feature-card h3 { color: var(--primary-color); font-size: 20px; margin: 0 0 10px 0; font-weight: 800; }
      .feature-card p { color: #607d8b; line-height: 1.6; font-size: 15px; margin: 0; font-weight: 500; }

      footer { background-color: #0a0f3c; color: #90caf9; text-align: center; padding: 20px; font-size: 14px; font-weight: 500; }
      footer a { color: var(--secondary-color); text-decoration: none; font-weight: 700; }

      @keyframes fadeInOverlay { from { opacity: 0; backdrop-filter: blur(0); } to { opacity: 1; backdrop-filter: blur(6px); } }
      @keyframes slideUpModal { from { opacity: 0; transform: translateY(30px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
      
      .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 15, 60, 0.85); z-index: 100000; justify-content: center; align-items: center; animation: fadeInOverlay 0.4s ease-out forwards; }
      #feesModal { z-index: 100010; }
      .modal-content { background: var(--surface); width: 95%; max-width: 650px; max-height: 92vh; border-radius: 20px; display: flex; flex-direction: column; box-shadow: 0 25px 50px rgba(0,0,0,0.4); overflow: hidden; animation: slideUpModal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
      
      .modal-header { background: var(--primary-color); color: #fff; padding: 15px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 4px solid var(--secondary-color); }
      .modal-header h3 { margin: 0; font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
      .close-btn { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.3s; padding: 0; }
      .close-btn:hover { background: #ff4757; transform: rotate(90deg); }
      
      .modal-body { flex: 1; overflow-y: auto; padding: 25px; box-sizing: border-box; background: #fafbfc; }
      
      .step { display: none; animation: fadeInForm 0.4s ease-out; }
      .step.active { display: block; }
      @keyframes fadeInForm { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; transform: translateX(0); } }
      @keyframes spinAnim { 100% { transform: rotate(360deg); } }
      .spin { display: inline-block; animation: spinAnim 1s linear infinite; }

      .step-indicator { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 25px; }
      .step-dot { width: 35px; height: 35px; border-radius: 50%; background: #e0e6ed; display: flex; justify-content: center; align-items: center; font-weight: 800; font-size: 1rem; color: #8798ad; transition: all 0.4s; }
      .step-dot.active { background: #fff; border: 2px solid var(--gold); color: var(--primary-color); transform: scale(1.1); box-shadow: 0 0 10px rgba(255, 193, 7, 0.3); }
      .step-title { text-align: right; font-weight: 800; color: var(--primary-color); margin-bottom: 20px; font-size: 1.15rem; border-right: 4px solid var(--secondary-color); padding-right: 10px; }
      
      .form-label { font-weight: 700; font-size: 0.9rem; color: #34495e; display: block; margin-bottom: 6px; margin-top: 15px; }
      .form-control, .form-select { 
        width: 100%; padding: 12px 15px; 
        background-color: #f0f4f8; 
        border: 2px solid transparent; border-bottom: 2px solid #cbd5e1; 
        border-radius: 8px 8px 0 0; 
        box-sizing: border-box; font-family: 'Tajawal'; font-size: 0.95rem; font-weight: 500; color: #1e293b;
        transition: all 0.3s ease; 
      }
      .form-control:focus, .form-select:focus { 
        background-color: #ffffff; border-bottom-color: var(--primary-color); outline: none; 
        box-shadow: 0 4px 10px rgba(26, 35, 126, 0.08); 
      }
      
      .row { display: flex; gap: 12px; flex-wrap: wrap; }
      .col-6 { flex: 1 1 calc(50% - 6px); min-width: 0; }
      .col-12 { flex: 1 1 100%; }
      .d-flex-wa { display: flex; gap: 10px; direction: ltr; } 
      .action-buttons { display: flex; gap: 12px; margin-top: 30px; }
      .action-buttons button { flex: 1; }
      .hidden { display: none !important; }
      
      .btn-custom { padding: 14px; border-radius: 10px; font-weight: 800; border: none; font-size: 1.05rem; cursor: pointer; text-align: center; font-family: 'Tajawal'; width: 100%; transition: all 0.3s; display: flex; justify-content: center; align-items: center; gap: 8px;}
      .btn-primary-custom { background: var(--primary-color); color: white; }
      .btn-primary-custom:hover { background: #121858; transform: translateY(-2px); }
      .btn-gold-custom { background: var(--gold); color: var(--primary-color); }
      .btn-gold-custom:hover { background: #ffb300; transform: translateY(-2px); }
      .btn-secondary-custom { background: #e2e8f0; color: #475569; }
      .btn-secondary-custom:hover { background: #cbd5e1; color: #1e293b; }
      .btn-custom:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
      
      #gradeMessageAlert { padding: 12px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 15px; display: none; border: 1px solid; line-height: 1.5; font-weight: 600; }

      /* ============== إضافات: قسم الرسوم/الاستثمار التعليمي ============== */
      .fees-link-wrap { text-align: center; margin-top: 18px; }
      .fees-link-wrap a { color: #607d8b; font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 1px dashed #b0bec5; padding-bottom: 2px; transition: 0.2s; }
      .fees-link-wrap a:hover { color: var(--primary-color); border-bottom-color: var(--primary-color); }
      .fees-link-wrap i { margin-left: 4px; }

      .nonprofit-badge { display: inline-flex; align-items: center; gap: 6px; background: #f0fdf4; color: #047857; border: 1px solid #bbf7d0; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 800; margin-bottom: 15px; }

      .fees-intro-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 20px; margin-bottom: 20px; text-align: right; }
      .fees-intro-box p { margin: 0; color: #475569; font-size: 14.5px; line-height: 1.8; font-weight: 500; }
      .fees-intro-box strong { color: var(--primary-color); }

      .fees-value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 22px; }
      .fees-value-item { background: #fff; border: 1px solid #eef2f6; border-radius: 12px; padding: 12px 10px; text-align: center; }
      .fees-value-item i { color: var(--gold); font-size: 20px; display: block; margin-bottom: 6px; }
      .fees-value-item span { font-size: 12px; font-weight: 700; color: #475569; display: block; line-height: 1.4; }

      .fees-table-title { font-weight: 800; color: var(--primary-color); font-size: 1rem; margin: 20px 0 10px; text-align: right; border-right: 4px solid var(--gold); padding-right: 10px; }
      .fees-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: 14px; }
      .fees-table th, .fees-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid #eef2f6; }
      .fees-table th { background: var(--primary-color); color: #fff; font-weight: 700; }
      .fees-table td { font-weight: 600; color: #334155; }
      .fees-table td.stage-cell { text-align: right; font-weight: 700; color: var(--primary-color); }
      .fees-table tr:nth-child(even) td { background: #fafbfc; }
      .fees-table td.amount-cell { font-weight: 800; color: #047857; }

      .fees-reservation-note { display: flex; align-items: flex-start; gap: 10px; background: #fffbea; border: 1px solid #ffe4a3; border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: #7a5c00; font-weight: 600; line-height: 1.7; margin-bottom: 8px; }
      .fees-reservation-note i { color: var(--gold); font-size: 18px; margin-top: 2px; }

      .fees-footer-note { text-align: center; font-size: 12.5px; color: #94a3b8; margin-top: 15px; font-weight: 600; }

      /* سطر الرسم الديناميكي داخل النموذج */
      #gradeFeeInline { display: none; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 11px 14px; margin-bottom: 15px; font-size: 13.5px; color: #047857; font-weight: 700; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
      #gradeFeeInline .fee-amount-badge { background: #047857; color: #fff; padding: 3px 12px; border-radius: 20px; font-weight: 800; white-space: nowrap; }
      #gradeFeeInline a { color: #047857; font-size: 12px; text-decoration: underline; font-weight: 700; white-space: nowrap; }
      #gradeFeeInline.grant-active { background: linear-gradient(135deg, #ecfdf5, #f0fdfa); border: 1px solid #6ee7b7; padding: 14px; align-items: stretch; box-shadow: 0 6px 16px rgba(5,150,105,0.09); }
      #gradeFeeInline.grant-active a { align-self: center; }
      .grant-fee-content { flex: 1; min-width: 210px; display: flex; flex-direction: column; gap: 4px; }
      .grant-fee-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
      .grant-free-badge { display: inline-flex; align-items: center; gap: 5px; background: #047857; color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 800; }
      .original-fee { color: #64748b; font-size: 12.5px; font-weight: 700; text-decoration: line-through; text-decoration-thickness: 2px; }
      .grant-fee-title { color: #065f46; font-size: 14.5px; font-weight: 800; line-height: 1.5; }
      .grant-fee-subtitle { color: #047857; font-size: 12.5px; font-weight: 600; line-height: 1.5; }

      .fees-grant-note { display: flex; align-items: flex-start; gap: 10px; background: linear-gradient(135deg, #ecfdf5, #f0fdfa); border: 1px solid #6ee7b7; border-radius: 12px; padding: 13px 14px; margin: 12px 0; color: #065f46; font-size: 13.5px; line-height: 1.7; font-weight: 650; }
      .fees-grant-note i { color: #059669; font-size: 19px; margin-top: 2px; }
      .fees-grant-note strong { color: #047857; }



      /* ============== مسارات التسجيل — دون تغيير الواجهة الرئيسية ============== */
      .reg-choice-intro { text-align: center; color: #64748b; font-size: 14.5px; line-height: 1.8; font-weight: 600; margin: 2px auto 20px; max-width: 520px; }
      .reg-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
      .reg-choice-card { appearance: none; width: 100%; border: 1px solid #e2e8f0; background: #fff; border-radius: 20px; padding: 25px 18px; font-family: 'Tajawal'; text-align: center; cursor: pointer; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
      .reg-choice-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--primary-color), #3f51b5); }
      .reg-choice-card.course-path::before { background: linear-gradient(90deg, #008fa1, #00b8c8); }
      .reg-choice-card:hover { transform: translateY(-4px); border-color: #cbd5e1; box-shadow: 0 16px 32px rgba(26,35,126,.12); }
      .reg-choice-icon { width: 62px; height: 62px; margin: 0 auto 15px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 29px; background: linear-gradient(135deg, var(--primary-color), #3949ab); box-shadow: 0 10px 22px rgba(26,35,126,.22); }
      .course-path .reg-choice-icon { background: linear-gradient(135deg, #008fa1, #00b8c8); box-shadow: 0 10px 22px rgba(0,143,161,.22); }
      .reg-choice-card h4 { margin: 0 0 7px; color: var(--primary-color); font-size: 20px; font-weight: 800; }
      .reg-choice-card p { margin: 0 0 14px; color: #64748b; font-size: 13.5px; line-height: 1.65; font-weight: 600; }
      .reg-choice-link { color: var(--primary-color); font-size: 13.5px; font-weight: 800; }
      .course-path .reg-choice-link { color: #007d8c; }

      /* ============== كتالوج الدورات المرن ============== */
      .course-catalog-hero {
        position: relative; overflow: hidden; border-radius: 22px; padding: 24px;
        margin-bottom: 18px; color: #fff;
        background: linear-gradient(135deg, #10175a 0%, #1a237e 55%, #008fa1 140%);
        box-shadow: 0 16px 34px rgba(26,35,126,.18);
      }
      .course-catalog-hero::before, .course-catalog-hero::after {
        content: ''; position: absolute; border-radius: 50%; pointer-events: none;
        background: rgba(255,255,255,.08);
      }
      .course-catalog-hero::before { width: 170px; height: 170px; left: -55px; top: -80px; }
      .course-catalog-hero::after { width: 110px; height: 110px; right: -35px; bottom: -52px; }
      .course-catalog-kicker { display: inline-flex; align-items: center; gap: 7px; color: #ffe47c; font-size: 12px; font-weight: 800; margin-bottom: 8px; }
      .course-catalog-hero h4 { position: relative; margin: 0 0 7px; font-size: 25px; font-weight: 800; line-height: 1.4; }
      .course-catalog-hero p { position: relative; margin: 0; color: #dce6ff; font-size: 14px; line-height: 1.8; font-weight: 600; max-width: 670px; }
      .course-hero-points { position: relative; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
      .course-hero-point { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.08); color: #fff; font-size: 11.5px; font-weight: 800; }

      .course-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
      .course-search-wrap { position: relative; flex: 1; }
      .course-search-wrap i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #8290a3; font-size: 16px; }
      .course-search { width: 100%; box-sizing: border-box; border: 1px solid #dbe3ec; border-radius: 14px; background: #fff; padding: 12px 42px 12px 14px; font-family: 'Tajawal'; font-size: 13.5px; font-weight: 600; color: #26364b; outline: none; transition: .25s; }
      .course-search:focus { border-color: #7f8bd4; box-shadow: 0 0 0 4px rgba(63,81,181,.08); }
      .course-count { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 11px 13px; border-radius: 13px; background: #eef2ff; color: var(--primary-color); font-size: 12px; font-weight: 800; }

      .course-catalog-intro { margin: 0 0 16px; color: #65748a; font-size: 13.5px; line-height: 1.8; font-weight: 600; }
      .courses-catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 12px; align-items: stretch; }
      .catalog-card { border: 1px solid #e5eaf1; background: #fff; border-radius: 18px; padding: 14px; display: grid; grid-template-columns: 68px minmax(0,1fr) 118px; align-items: center; min-width: 0; box-shadow: 0 7px 20px rgba(15,23,42,.055); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
      .catalog-card:hover { transform: translateY(-3px); border-color: #cfd7e4; box-shadow: 0 14px 30px rgba(15,23,42,.09); }
      .catalog-visual { width: 68px; height: 68px; border-radius: 18px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; background: linear-gradient(135deg, #008fa1, #1a237e); }
      .catalog-card.photo .catalog-visual { background: linear-gradient(135deg, #d97706, #f5a300); }
      .catalog-visual::after { content: ''; position: absolute; width: 54px; height: 54px; border-radius: 50%; left: -25px; bottom: -28px; background: rgba(255,255,255,.12); }
      .catalog-icon { position: relative; z-index: 1; color: #fff; font-size: 27px; }
      .catalog-number, .catalog-status, .catalog-label, .catalog-benefits { display: none !important; }
      .catalog-content { min-width: 0; padding: 0 14px; }
      .catalog-card h4 { margin: 0 0 4px; color: var(--primary-color); font-size: 16.5px; font-weight: 800; line-height: 1.5; }
      .catalog-card p { margin: 0; color: #66758a; font-size: 12.7px; line-height: 1.65; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
      .catalog-footer { padding: 0; background: transparent; border: 0; display: flex; flex-direction: column; align-items: stretch; gap: 9px; }
      .catalog-meta-row { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; min-height: 29px; }
      .catalog-meta { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
      .catalog-chip { display: inline-flex; align-items: center; gap: 4px; background: #f1f4f8; color: #65748a; border-radius: 20px; padding: 5px 8px; font-size: 10.5px; font-weight: 800; }
      .catalog-price { color: var(--primary-color); font-size: 18px; font-weight: 800; white-space: nowrap; text-align: center; }
      .catalog-price small { color: #7b8798; font-size: 10.5px; font-weight: 700; }
      .catalog-actions { display: block; }
      .catalog-details { width: 100%; border: 1px solid #d9e0ea; background: #fff; color: var(--primary-color); border-radius: 11px; font-family: 'Tajawal'; padding: 9px 10px; font-size: 12px; font-weight: 800; cursor: pointer; transition: .22s ease; }
      .catalog-details:hover { border-color: var(--primary-color); background: #f7f8ff; }
      .catalog-register { display: none !important; }
      .courses-empty { display: none; grid-column: 1 / -1; text-align: center; padding: 28px 18px; border: 1px dashed #ccd6e2; border-radius: 16px; background: #fff; color: #718096; font-size: 13px; font-weight: 700; }
      .courses-empty i { display: block; color: #a2adbb; font-size: 27px; margin-bottom: 7px; }

      /* تفاصيل الدورة التسويقية */
      .course-details-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 25px; color: #fff; margin-bottom: 18px; background: linear-gradient(135deg, #11185d, #1a237e 58%, #008fa1 150%); box-shadow: 0 15px 32px rgba(26,35,126,.17); }
      .course-details-hero.photo-theme { background: linear-gradient(135deg, #8d4000, #c56408 58%, #f5a300 145%); }
      .course-details-hero::after { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; left: -60px; top: -95px; background: rgba(255,255,255,.09); }
      .course-details-top { position: relative; display: flex; align-items: flex-start; gap: 16px; }
      .course-details-icon { width: 66px; height: 66px; flex: none; border-radius: 19px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 12px 25px rgba(0,0,0,.16); }
      .course-details-category { display: inline-block; color: #ffe47c; font-size: 11px; font-weight: 800; margin-bottom: 5px; }
      .course-details-hero h4 { margin: 0 0 7px; font-size: 25px; font-weight: 800; line-height: 1.4; }
      .course-details-hero p { margin: 0; color: #e2e8ff; font-size: 13.5px; line-height: 1.8; font-weight: 600; }
      .course-detail-facts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; }
      .course-detail-fact { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); border-radius: 13px; padding: 10px; text-align: center; }
      .course-detail-fact i { color: #ffe47c; display: block; margin-bottom: 5px; font-size: 16px; }
      .course-detail-fact strong { display: block; font-size: 12px; color: #fff; }
      .course-detail-fact span { display: block; margin-top: 2px; color: #dbe4ff; font-size: 10.5px; font-weight: 600; }
      .course-details-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 15px; }
      .course-detail-panel { background: #fff; border: 1px solid #e4eaf1; border-radius: 17px; padding: 18px; box-shadow: 0 7px 20px rgba(15,23,42,.04); }
      .course-detail-panel h5 { margin: 0 0 12px; color: var(--primary-color); font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
      .course-detail-panel h5 i { color: #008fa1; }
      .course-detail-panel p { margin: 0; color: #607086; font-size: 13px; line-height: 1.8; font-weight: 600; }
      .course-detail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
      .course-detail-list li { display: flex; align-items: flex-start; gap: 8px; color: #49596d; font-size: 12.5px; line-height: 1.65; font-weight: 700; }
      .course-detail-list li i { color: #0d9d73; margin-top: 3px; }
      .course-detail-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 16px 18px; border-radius: 17px; background: #fff9e6; border: 1px solid #ffe09a; }
      .course-detail-cta strong { display: block; color: var(--primary-color); font-size: 15px; margin-bottom: 3px; }
      .course-detail-cta span { color: #756433; font-size: 11.5px; font-weight: 700; }
      .course-detail-cta button { flex: none; border: none; border-radius: 12px; background: var(--primary-color); color: #fff; font-family: 'Tajawal'; padding: 11px 17px; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 17px rgba(26,35,126,.2); }

      .modal-back-link { border: none; background: transparent; color: #64748b; font-family: 'Tajawal'; font-size: 13px; font-weight: 800; cursor: pointer; margin-bottom: 14px; padding: 0; }
      .course-selected-box { display: flex; align-items: center; gap: 12px; background: #fff9e8; border: 1px solid #ffe2a0; border-radius: 14px; padding: 12px 14px; margin-bottom: 17px; }
      .course-selected-box i { width: 39px; height: 39px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--primary-color); font-size: 18px; }
      .course-selected-box strong { display: block; color: var(--primary-color); font-size: 14px; margin-bottom: 2px; }
      .course-selected-box span { color: #64748b; font-size: 12px; font-weight: 600; }
      .form-note-small { color: #94a3b8; font-size: 11.5px; font-weight: 600; display: block; margin-top: 5px; }



      /* ============== الدورات الديناميكية ولوحة الإدارة ============== */
      .courses-loading-state { grid-column: 1 / -1; min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #64748b; font-size: 13px; font-weight: 700; }
      .courses-loader { width: 34px; height: 34px; border: 3px solid #e5eaf2; border-top-color: var(--primary-color); border-radius: 50%; animation: courseSpin .75s linear infinite; }
      @keyframes courseSpin { to { transform: rotate(360deg); } }
      .course-registration-success { text-align: center; padding: 24px 8px 8px; }
      .course-success-icon { font-size: 62px; color: #10b981; line-height: 1; margin-bottom: 12px; }
      .course-registration-success h4 { margin: 0 0 8px; color: #047857; font-size: 23px; font-weight: 800; }
      .course-registration-success p { margin: 0 auto 13px; max-width: 430px; color: #64748b; font-size: 14px; font-weight: 600; line-height: 1.8; }
      .course-success-code { display: none; width: fit-content; margin: 0 auto 15px; padding: 7px 11px; border-radius: 9px; background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 800; direction: ltr; }
      .course-wa-secondary { background: #25D366 !important; color: #fff !important; text-decoration: none; margin-top: 8px; }
      .reg-choice-card[disabled] { opacity: .48; cursor: not-allowed; filter: grayscale(.4); transform: none !important; }
      .catalog-card.is-closed { opacity: .72; }
      .catalog-closed-label { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 9px; background: #fff1f2; color: #be123c; font-size: 11px; font-weight: 800; }

      /* ============== بوابة الدخول الذكية ============== */
      .welcome-portal {
        position: fixed; inset: 0; z-index: 100200;
        display: none; align-items: center; justify-content: center;
        padding: 24px; box-sizing: border-box; overflow: hidden;
        background:
          radial-gradient(circle at 18% 18%, rgba(255,202,40,.18), transparent 26%),
          radial-gradient(circle at 82% 78%, rgba(61,75,190,.30), transparent 30%),
          linear-gradient(145deg, #090f3b 0%, #1a237e 55%, #24328f 100%);
        opacity: 1; transition: opacity .38s ease, visibility .38s ease;
      }
      .welcome-portal.is-visible { display: flex; }
      .welcome-portal.is-leaving { opacity: 0; visibility: hidden; }
      .welcome-portal::before {
        content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .18;
        background-image: radial-gradient(rgba(255,255,255,.72) 1px, transparent 1px);
        background-size: 28px 28px;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent);
      }
      .welcome-portal-card {
        position: relative; width: min(440px, 100%); text-align: center; color: #fff;
        animation: portalCardIn .65s cubic-bezier(.16,1,.3,1) both;
      }
      .welcome-logo-wrap {
        width: 112px; height: 112px; margin: 0 auto 20px; border-radius: 30px;
        display: flex; align-items: center; justify-content: center;
        background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
        box-shadow: 0 25px 55px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.18);
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
      }
      .welcome-logo-wrap img {
        width: 88px; height: 88px; object-fit: cover; border-radius: 23px;
        border: 3px solid var(--secondary-color); box-shadow: 0 10px 25px rgba(0,0,0,.25);
      }
      .welcome-kicker {
        display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px;
        color: var(--secondary-color); font-size: 13px; font-weight: 800;
        letter-spacing: .2px;
      }
      .welcome-portal h2 { margin: 0 0 7px; font-size: 31px; font-weight: 800; line-height: 1.35; }
      .welcome-portal p { margin: 0; color: #dfe6ff; font-size: 15px; font-weight: 600; line-height: 1.7; }
      .welcome-progress {
        width: min(250px, 72%); height: 4px; margin: 24px auto 0; border-radius: 20px;
        background: rgba(255,255,255,.15); overflow: hidden;
      }
      .welcome-progress span {
        display: block; width: 100%; height: 100%; border-radius: inherit;
        background: linear-gradient(90deg, var(--secondary-color), #fff2a9);
        transform-origin: right center; animation: portalProgress 3s linear both;
      }
      .welcome-loading { margin-top: 10px; color: rgba(255,255,255,.74); font-size: 11.5px; font-weight: 700; }
      @keyframes portalCardIn {
        from { opacity: 0; transform: translateY(16px) scale(.97); }
        to { opacity: 1; transform: translateY(0) scale(1); }
      }
      @keyframes portalProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
      .portal-browse-link {
        display: block; margin: 18px auto 0; padding: 0; border: none; background: transparent;
        color: #718096; font-family: 'Tajawal'; font-size: 12.5px; font-weight: 700;
        text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
      }

      @media(max-width: 768px) {
        .hero-glass-box, .welcome-card, .modal-content { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
        .welcome-portal { padding: 18px; }
        .welcome-logo-wrap { width: 96px; height: 96px; border-radius: 26px; margin-bottom: 17px; }
        .welcome-logo-wrap img { width: 75px; height: 75px; border-radius: 20px; }
        .welcome-portal h2 { font-size: 25px; }
        .welcome-portal p { font-size: 14px; }
        .top-urgency-bar { font-size: 12px; padding: 6px 10px; }
        .quick-contact-bar { display: none; }
        header { padding: 10px 15px; }
        .brand-box img { height: 40px; }
        .brand-box h1 { font-size: 18px; }
        .brand-tagline { display: none; }
        .btn-header { padding: 6px 14px; font-size: 14px; }
        .btn-call-header span.call-text { display: none; }
        .btn-call-header { padding: 6px 10px; }
        .hero { padding: 40px 15px; }
        .hero-glass-box { padding: 25px 15px; border-radius: 18px; }
        .hero img { height: 90px; margin-bottom: 15px; }
        .hero h2 { font-size: 28px; margin-bottom: 10px; }
        .hero h3 { font-size: 17px; }
        .hero p { font-size: 15px; margin-bottom: 20px; }
        .urgency-badge { font-size: 12px; padding: 5px 12px; margin-bottom:10px; }
        .cta-button { font-size: 17px; padding: 12px 20px; }
        .hero-grant-offer { padding: 12px; gap: 10px; align-items: flex-start; }
        .hero-grant-icon { width: 38px; height: 38px; min-width: 38px; font-size: 20px; }
        .hero-grant-copy strong { font-size: 14px; }
        .hero-grant-copy small { font-size: 11.5px; }
        .hero-grant-action { display: none; }
        #gradeFeeInline.grant-active { flex-direction: column; }
        #gradeFeeInline.grant-active a { align-self: flex-start; }
        .stats-section { padding: 25px 5%; }
        .stat-item h3 { font-size: 24px; }
        .features-section { padding: 40px 15px; }
        .features-section h2 { font-size: 26px; margin-bottom: 5px; }
        .features-section h4 { font-size: 15px; margin-bottom: 30px; }
        .modal-content { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
        .modal-header { padding: 12px 15px; }
        .modal-body { padding: 20px 15px; }
        .col-6 { flex: 1 1 100%; } 
        .action-buttons { flex-direction: column-reverse; gap: 10px; }
        #successState h3 { font-size: 1.5rem !important; }
        #successState p { font-size: 1rem !important; }

        .reg-choice-grid { grid-template-columns: 1fr; gap: 12px; }
        .reg-choice-card { padding: 20px 15px; }
        .reg-choice-icon { width: 54px; height: 54px; border-radius: 16px; font-size: 25px; margin-bottom: 12px; }
        .reg-choice-card h4 { font-size: 18px; }
        .course-catalog-intro { margin-bottom: 13px; font-size: 12.8px; }
        .courses-catalog { grid-template-columns: 1fr; gap: 10px; }
        .catalog-card { grid-template-columns: 56px minmax(0,1fr); padding: 12px; border-radius: 16px; }
        .catalog-visual { width: 56px; height: 56px; border-radius: 15px; }
        .catalog-icon { font-size: 23px; }
        .catalog-content { padding: 0 11px 0 0; }
        .catalog-card h4 { font-size: 15.5px; }
        .catalog-card p { font-size: 12px; -webkit-line-clamp: 2; }
        .catalog-footer { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding-top: 11px; margin-top: 11px; border-top: 1px solid #eef1f5; }
        .catalog-meta-row { justify-content: flex-start; min-height: auto; }
        .catalog-actions { width: 112px; flex: none; }
        .catalog-price { font-size: 17px; text-align: right; }
        .course-details-top { gap: 12px; }
        .course-details-icon { width: 56px; height: 56px; border-radius: 17px; font-size: 24px; }
        .course-details-hero { padding: 20px 17px; border-radius: 18px; }
        .course-details-hero h4 { font-size: 21px; }
        .course-detail-facts { grid-template-columns: 1fr; }
        .course-details-grid { grid-template-columns: 1fr; }
        .course-detail-cta { align-items: stretch; flex-direction: column; }
        .course-detail-cta button { width: 100%; }

        .fees-table { font-size: 12.5px; }
        .fees-table th, .fees-table td { padding: 8px 6px; }
      }


      /* ============== مسار تسجيل مبسّط: قرار واحد في كل شاشة ============== */
      .simple-modal-header { justify-content: center; }
      .simple-modal-header h3 { text-align: center; }
      .reg-choice-intro { margin-bottom: 17px; font-size: 13.5px; }
      .reg-choice-card { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
      .reg-choice-card p { margin-bottom: 0; }
      .reg-choice-link, .portal-browse-link, .modal-back-link, .catalog-actions, .course-catalog-intro { display: none !important; }
      .portal-school-link {
        display: block; margin: 18px auto 0; padding: 4px 8px; border: 0; background: transparent;
        color: #7b8798; font-family: 'Tajawal'; font-size: 11.5px; font-weight: 700;
        text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color .2s ease;
      }
      .portal-school-link:hover { color: var(--primary-color); }

      .catalog-choice-actions {
        grid-column: 1 / -1; display: flex; align-items: center; gap: 9px;
        margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef1f5;
      }
      .catalog-choice-actions button {
        min-height: 40px; border-radius: 11px; font-family: 'Tajawal'; font-size: 12.5px;
        font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
      }
      .catalog-register-now {
        flex: 1; border: 0; background: var(--primary-color); color: #fff;
        box-shadow: 0 7px 16px rgba(26,35,126,.16);
      }
      .catalog-register-now:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(26,35,126,.22); }
      .catalog-details-link {
        flex: none; min-width: 92px; border: 1px solid #dbe2eb; background: #fff; color: #59677a;
      }
      .catalog-details-link:hover { background: #f7f9fc; color: var(--primary-color); }

      .nav-back-btn {
        width: 38px; height: 38px; flex: none; border: 1px solid rgba(255,255,255,.24);
        border-radius: 11px; background: rgba(255,255,255,.1); color: #fff;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 18px; cursor: pointer; transition: background .2s ease, transform .2s ease;
      }
      .nav-back-btn:hover { background: rgba(255,255,255,.2); transform: translateX(-2px); }

      .courses-catalog { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
      .catalog-card {
        grid-template-columns: 68px minmax(0,1fr) auto; padding: 15px; cursor: pointer;
        outline: none; user-select: none;
      }
      .catalog-card:focus-visible { border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(26,35,126,.1), 0 14px 30px rgba(15,23,42,.09); }
      .catalog-content { padding: 0 14px; }
      .catalog-footer { min-width: 105px; align-items: flex-end; justify-content: center; gap: 4px; }
      .catalog-meta-row { min-height: 0; }
      .catalog-compact-meta { color: #7a8798; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
      .catalog-price { font-size: 19px; }

      .course-primary-cta {
        position: sticky; bottom: -20px; z-index: 3; margin: 18px -1px -20px;
        padding: 14px 0 0; border: 0; border-radius: 0; background: linear-gradient(to top, #fff 72%, rgba(255,255,255,0));
      }
      .course-primary-cta button {
        width: 100%; min-height: 51px; border-radius: 14px; font-size: 15px;
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      }

      @media (max-width: 600px) {
        .reg-choice-card { min-height: 155px; padding: 18px 14px; }
        .reg-choice-card p { font-size: 12.5px; }
        .catalog-card { grid-template-columns: 54px minmax(0,1fr) auto; padding: 12px; }
        .catalog-visual { width: 54px; height: 54px; }
        .catalog-content { padding: 0 10px; }
        .catalog-footer { grid-column: auto; min-width: 76px; padding: 0; margin: 0; border: 0; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2px; }
        .catalog-price { font-size: 16px; }
        .catalog-price small, .catalog-compact-meta { font-size: 9.5px; }
        .catalog-choice-actions { gap: 7px; margin-top: 10px; padding-top: 10px; }
        .catalog-choice-actions button { min-height: 39px; font-size: 12px; }
        .catalog-details-link { min-width: 82px; }
        .course-primary-cta { bottom: -20px; }
      }


      /* ============== لوحة الإدارة داخل موقع المدرسة ============== */
      .admin-site-layer {
        position: fixed; inset: 0; z-index: 100000; display: none; flex-direction: column;
        background: #f5f7fb; direction: rtl;
      }
      .admin-site-layer.is-open { display: flex; }
      .admin-site-toolbar {
        min-height: 54px; padding: 8px 14px; display: flex; align-items: center;
        justify-content: space-between; gap: 12px; background: #151d67; color: #fff;
        box-shadow: 0 5px 18px rgba(9,16,70,.2); flex: none;
      }
      .admin-site-toolbar strong { font-size: 14px; font-weight: 800; }
      .admin-site-close {
        border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1);
        color: #fff; border-radius: 10px; min-height: 36px; padding: 7px 11px;
        font-family: 'Tajawal'; font-size: 12px; font-weight: 800; cursor: pointer;
        display: inline-flex; align-items: center; gap: 6px;
      }
      .admin-site-close:hover { background: rgba(255,255,255,.18); }
      .admin-site-frame { width: 100%; flex: 1; min-height: 0; border: 0; background: #f5f7fb; }
      .admin-footer-link { opacity: .72; font-size: 11px !important; }
      .admin-footer-link:hover { opacity: 1; }
      @media (max-width: 600px) {
        .admin-site-toolbar { min-height: 50px; padding: 7px 10px; }
        .admin-site-toolbar strong { font-size: 12.5px; }
        .admin-site-close { min-height: 34px; padding: 6px 9px; font-size: 11.5px; }
      }