/*
   White Nile University - Elite Premium Portal Design (2026)
   تحديث: صياغة كارد موسط ذكي مع توهج شادو خفيف، حقول فاخرة، وتناسق بصري مبهر
*/
/*
@import url('https://googleapis.com'); */

/* تهيئة وتصفير الهيكل بالكامل لمنع أي تداخلات قديمة */
body, html, .pad-zero, .splitlayout, .reset-layout {
    font-family: 'Cairo', sans-serif !important;
    direction: rtl !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    background-color: #f8fafc !important; /* رمادي ناصع ونظيف ومريح جداً للعين */
}

/* الحاوي الرئيسي لتقسيم الشاشة بنسبة متزنة 50/50 */
.premium-split-container {
    display: flex !important;
    min-height: 100vh !important;
    width: 100% !important;
    flex-direction: row-reverse !important; /* واجهة الإدخال على اليمين والترحيب على اليسار */
}

/* ── 🟩 الجانب الأيمن: واجهة الإدخال الموسطة بالكامل ── */
.form-section-right {
    width: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    padding: 2rem !important;
    box-sizing: border-box !important;
}

/* 🌟 صياغة كارد التسجيل الاحترافي الجديد مع شادو متوهج خفيف 🌟 */
.premium-form-card {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 440px !important;
    padding: 3.5rem 2.5rem 3rem 2.5rem !important;
    border-radius: 24px !important; /* حواف دائرية عصرية مريحة للعين */
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    /* شادو احترافي مع لمسة توهج خافتة مقتبسة من عمق الهوية العنابية */
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05),
                0 0 30px -5px rgba(122, 28, 28, 0.04) !important;
    box-sizing: border-box !important;
    text-align: center !important;
    transition: all 0.3s ease-in-out;
}

.premium-form-card:hover {
    /* زيادة التوهج بنعومة عند تمرير الماوس لإعطاء إحساس تكنولوجي فخم */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08),
                0 0 35px -2px rgba(122, 28, 28, 0.08) !important;
}

/* العناوين الداخلية للكارد */
.main-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
}

.sub-title {
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 0 2.5rem 0 !important;
    font-weight: 500;
}

.wellcome-text {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 12px !important;
    text-align: right !important; /* محاذاة لليمين متناسقة مع حقل الإدخال */
    display: block;
}

/* ✍️ تصميم الحقول الجذابة والفاخرة للمدخلات (Inputs UI) */
.contact-form input[type="text"] {
    width: 100% !important;
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    height: auto !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    transition: all 0.2s ease-in-out !important;
    box-sizing: border-box !important;
    margin-bottom: 1.5rem !important;
    text-align: right !important;
}

.contact-form input[type="text"]:focus {
    background-color: #ffffff !important;
    border-color: #7A1C1C !important; /* التوهج العنابي عند الكتابة */
    box-shadow: 0 0 0 4px rgba(122, 28, 28, 0.1) !important;
    outline: none !important;
}

/* 🖼️ كتلة عرض الرمز الأمني الموسطة هندسياً بالتساوي وبأعلى جاذبية */
.modern-captcha-center-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    box-sizing: border-box;
}

.captcha-image-wrapper {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 6px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 52px;
    box-sizing: border-box;
}

.captcha-image-wrapper img {
    max-height: 38px;
    width: auto;
}

/* أيقونة وزر التحديث الدائري الكبير والواضح جداً للمستخدم */
.captcha-refresh-circular-btn {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.25s ease-in-out !important;
}

.captcha-refresh-circular-btn i {
    font-size: 16px !important;
    transition: transform 0.4s ease !important;
}

.captcha-refresh-circular-btn:hover {
    background: #7A1C1C !important; /* التبديل للعنابي الملكي عند التمرير */
    color: #ffffff !important;
    border-color: #7A1C1C !important;
    box-shadow: 0 4px 12px rgba(122, 28, 28, 0.2) !important;
}
.captcha-refresh-circular-btn:hover i {
    transform: rotate(180deg);
}

/* حقل إدخال كود الكباتشا الموسط بالكامل */
.captcha-input-wrapper input[type="text"] {
    text-align: center !important; /* تعبئة الرمز في المنتصف تماماً */
    letter-spacing: 4px !important; /* تباعد الحروف لمظهر فخم */
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
}

/* 🟥 زر بدء التسجيل العنابي الفاخر مع شادو خفيف ثلاثي الأبعاد */
.btn-submit {
    width: 100% !important;
    background: #7A1C1C !important; /* لون العنابي الملكي الصريح من الشعار */
    border: none !important;
    color: #ffffff !important;
    padding: 15px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 6px 15px rgba(122, 28, 28, 0.15) !important;
    box-sizing: border-box !important;
}

.btn-submit:hover {
    background: #5c1212 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(122, 28, 28, 0.25) !important;
}

/* رسائل خطأ التحقق لـ Laravel */
.secure-error-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #ef4444 !important;
    font-size: 13px !important;
    font-weight: 700;
    margin-top: -5px;
    margin-bottom: 15px;
}

/* تذييل الكارد */
.clean-footer {
    margin-top: 2.5rem !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 1.2rem !important;
}
.clean-footer p {
    color: #94a3b8 !important;
    font-size: 13px !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    font-weight: 500;
}

/* ──────────────────────────────────────────────────────────────────────────
   WHITE NILE UNIVERSITY - PREMIUM FLOATING LOGO ANIMATION (2026)
   تفعيل حركة الشعار العائمة والانسيابية الفاخرة بداخل الحاوية الزجاجية
   ────────────────────────────────────────────────────────────────────────── */

/* 🌟 صياغة أنيميشن الحركة الصعودية والهبوطية الناعمة جداً */
@keyframes elegantPremiumFloat {
    0% {
        transform: translateY(0px);
        filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.4));
    }
    50% {
        transform: translateY(-10px); /* الارتفاع للأعلى بنعومة */
        filter: drop-shadow(0 20px 25px rgba(221, 107, 32, 0.25)); /* تمدد الظل بلمسة برتقالية دافئة */
    }
    100% {
        transform: translateY(0px);
        filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.4));
    }
}

/* 🟥 الجانب الأيسر: قسم الترحيب الملون بالهوية العنابية الفاخرة ── */
.info-section-left {
    width: 50% !important;
    background: linear-gradient(135deg, #7A1C1C 0%, #4A0E0E 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4rem !important;
    box-sizing: border-box !important;
}

.info-section-left .info-wrapper {
    width: 100% !important;
    max-width: 460px !important;
    text-align: center !important;
}

/* 🌟 تفعيل تصميم الشعار العائم والمتحرك بشكل انسيابي مذهل وجذاب 🌟 */
.info-section-left .logo-glass-container {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 2.5rem !important;
    border-radius: 24px !important;
    display: inline-block !important;
    margin-bottom: 2.5rem !important;

    /* ربط الحاوية بأنيميشن الحركة الدائرية الصعودية المستمرة */
    animation: elegantPremiumFloat 4s ease-in-out infinite !important;
    will-change: transform; /* تحسين أداء المعالجة على كروت الشاشة المختلفة */
}

.info-section-left .logo-glass-container img {
    max-height: 120px !important;
    width: auto !important;
}

.info-section-left .tagline {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.4 !important;
}

.info-section-left .description-text {
    font-size: 15px !important;
    color: #e2e8f0 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

/* 📱 معايير الاستجابة الذكية والمتزنة للشاشات الصغيرة والموبايل */
@media (max-width: 991px) {
    .premium-split-container {
        flex-direction: column !important;
    }
    .form-section-right, .info-section-left {
        width: 100% !important;
        padding: 3rem 1.5rem !important;
    }
    .info-section-left {
        order: 1 !important;
    }
    .form-section-right {
        order: 2 !important;
    }
}


/* تأثير انطفاء باهت وراقٍ للزر بمجرد قفله وانطلاق الطلب */
.btn-submit:disabled {
    background: #4a1212 !important; /* لون عنابي داكن مطفأ ليدل على المعالجة */
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}
