/* MTMS Global — طبقة هوية موحّدة (كحلي/ذهبي) لكل الصفحات المعدّلة */
body.mtms-brand{--navy:#0824A8;--navy2:#061A7A;--violet:#6D2FDB;--deep:#06186E;--gold:#6D2FDB;--gold-d:#5A22C0;--cream:#F4F6FD;--line:#DCE1F3;--muted:#5B6B82}

/* ===== زر اللغة (موحّد) ===== */
body.mtms-brand .language-btn,body.mtms-brand .language-icon,body.mtms-brand #mtmsLangBtn,body.mtms-brand #languageBtn{background:var(--navy)!important;color:#fff!important;border:2px solid var(--gold)!important;box-shadow:0 6px 20px rgba(8,36,168,.25)!important}
body.mtms-brand .language-btn:hover,body.mtms-brand .language-icon:hover,body.mtms-brand #mtmsLangBtn:hover,body.mtms-brand #languageBtn:hover{background:var(--gold)!important;color:var(--navy)!important}

/* ===== التذييل (موحّد) ===== */
body.mtms-brand #mtms-mainfooter{background:linear-gradient(135deg,var(--deep) 0%,#1A1470 100%)!important;border-top:3px solid var(--gold)}
body.mtms-brand #mtms-mainfooter .mf-logo{background:var(--gold)!important;color:var(--navy)!important}
body.mtms-brand #mtms-mainfooter a:hover,body.mtms-brand #mtms-mainfooter .text-blue-400,body.mtms-brand #mtms-mainfooter .hover\:text-blue-400:hover{color:var(--gold)!important}
body.mtms-brand #mtms-mainfooter li i{color:var(--gold)!important}
body.mtms-brand #mtms-mainfooter .mf-soc a{background:rgba(255,255,255,.1)!important}
body.mtms-brand #mtms-mainfooter .mf-soc a:hover,body.mtms-brand #mtms-mainfooter .hover\:bg-blue-600:hover{background:var(--gold)!important;color:var(--navy)!important}
body.mtms-brand #mtms-mainfooter .mf-bt{border-top-color:rgba(109,47,219,.4)!important}

/* ===== بقايا الأزرق في أصناف Tailwind ===== */
body.mtms-brand .bg-blue-500\/20{background:rgba(109,47,219,.16)!important}
body.mtms-brand .text-blue-300,body.mtms-brand .text-blue-400{color:var(--gold-d)!important}
body.mtms-brand .border-blue-200{border-color:#D4C3F5!important}
body.mtms-brand .hover\:bg-blue-600:hover{background:var(--gold)!important;color:var(--navy)!important}

/* ===== صفحة التسجيل: الهيرو بنفس هيرو صفحة التدريب ===== */
body.mtms-brand .page-hero::after{display:none!important}
body.mtms-brand .page-hero h1{color:var(--navy)!important}
body.mtms-brand .page-hero p[class*="text-white"]{color:var(--muted)!important}
body.mtms-brand .page-hero p.font-semibold{color:var(--navy)!important}
body.mtms-brand .btn-outline-white{background:transparent!important;color:var(--navy)!important;border:2px solid var(--navy)!important}
body.mtms-brand .btn-outline-white:hover{background:var(--navy)!important;color:#fff!important;border-color:var(--navy)!important}
body.mtms-brand .step-number{background:var(--violet)!important;color:#fff!important}
body.mtms-brand .role-card:hover,body.mtms-brand .service-card:hover,body.mtms-brand .feature-card:hover{box-shadow:0 20px 40px rgba(8,36,168,.12)}

/* ===== البطاقة (نفس شكل بطاقة اتصل بنا وحسابي) ===== */
body.mtms-brand #register .rounded-2xl,body.mtms-brand .ct .card,body.mtms-brand .mtms-contact-card{position:relative;overflow:hidden;background:#fff;border:1px solid var(--line)!important;border-top:1px solid var(--line)!important;border-radius:20px!important;box-shadow:0 10px 30px rgba(8,36,168,.08)!important}
body.mtms-brand #register .rounded-2xl::before,body.mtms-brand .ct .card::before{content:"";position:absolute;top:0;inset-inline-start:0;width:120px;height:5px;background:var(--gold)}
body.mtms-brand #register .rounded-2xl h2,body.mtms-brand .ct h1{color:var(--navy)}
body.mtms-brand .ct h1{border-bottom:3px solid var(--gold)}

/* ===== الحقول ===== */
body.mtms-brand .apply-form input:not([type=hidden]):not([type=checkbox]),body.mtms-brand .apply-form select,body.mtms-brand .ct input,body.mtms-brand .ct select{min-height:52px;padding:0 16px;border:1px solid #CBD2DD;border-radius:12px;background:#fff;color:var(--navy);font-size:16px;box-shadow:none}
body.mtms-brand .apply-form textarea,body.mtms-brand .ct textarea{min-height:130px;padding:14px 16px;border:1px solid #CBD2DD;border-radius:12px;background:var(--cream);color:var(--navy);font-size:16px;box-shadow:none}
body.mtms-brand .apply-form input:focus,body.mtms-brand .apply-form select:focus,body.mtms-brand .apply-form textarea:focus,body.mtms-brand .ct input:focus,body.mtms-brand .ct select:focus,body.mtms-brand .ct textarea:focus{outline:0;border-color:var(--gold);box-shadow:0 0 0 3px rgba(109,47,219,.2);background:#fff}
body.mtms-brand .apply-form label,body.mtms-brand .ct label{color:var(--navy);font-weight:600;font-size:15px}
body.mtms-brand .apply-form label .text-red-500,body.mtms-brand .ct .req::after{color:#B8412F}
body.mtms-brand .apply-form ::placeholder,body.mtms-brand .ct ::placeholder{color:#8A94A6;opacity:1}

/* ===== زر الإرسال (ذهبي، يغمق عند المرور) ===== */
body.mtms-brand .apply-form button[type=submit],body.mtms-brand .ct button{display:block;width:100%;height:52px;margin-top:8px;border:0;border-radius:12px;background:var(--gold)!important;color:var(--deep)!important;font-size:17px;font-weight:700;cursor:pointer;transition:background .2s}
body.mtms-brand .apply-form button[type=submit]:hover,body.mtms-brand .ct button:hover{background:var(--gold-d)!important;color:var(--navy)!important}

/* ===== الأزرار بنفسجية بنص أبيض ===== */
body.mtms-brand .btn-primary,body.mtms-brand .apply-form button[type=submit],body.mtms-brand .ct button,body.mtms-brand .mtms-btn--gold,body.mtms-brand .modal-box button[type=submit],body.mtms-brand .mtms-contact-card :is(button[type=submit],input[type=submit]){background:var(--violet)!important;color:#fff!important}
body.mtms-brand .btn-primary:hover,body.mtms-brand .apply-form button[type=submit]:hover,body.mtms-brand .ct button:hover,body.mtms-brand .mtms-btn--gold:hover,body.mtms-brand .modal-box button[type=submit]:hover,body.mtms-brand .mtms-contact-card :is(button[type=submit],input[type=submit]):hover{background:var(--gold-d)!important;color:#fff!important}
body.mtms-brand .language-btn:hover,body.mtms-brand .language-icon:hover,body.mtms-brand #mtmsLangBtn:hover,body.mtms-brand #languageBtn:hover{color:#fff!important}
body.mtms-brand .hover\:bg-blue-600:hover{color:#fff!important}
/* التذييل: بنفسجي فاتح ليظهر على الأزرق الغامق */
body.mtms-brand #mtms-mainfooter{border-top-color:#A98BF0!important}
body.mtms-brand #mtms-mainfooter .mf-logo{background:#A98BF0!important;color:var(--deep)!important}
body.mtms-brand #mtms-mainfooter a:hover,body.mtms-brand #mtms-mainfooter .text-blue-400,body.mtms-brand #mtms-mainfooter .hover\:text-blue-400:hover,body.mtms-brand #mtms-mainfooter li i{color:#A98BF0!important}
body.mtms-brand #mtms-mainfooter .mf-soc a:hover,body.mtms-brand #mtms-mainfooter .hover\:bg-blue-600:hover{background:#A98BF0!important;color:var(--deep)!important}
body.mtms-brand #mtms-mainfooter .mf-bt{border-top-color:rgba(169,139,240,.4)!important}
