  :root {
            --primary-navy: #1e284a;
            --accent-blue: #2185f0;
            --light-gray: #f2f4f7;
            --text-muted: #a0aec0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Cairo', sans-serif;
            background-color: #ffffff;
            overflow-x: hidden;
            text-align: right;
            line-height: 1.6;
        }

        /* --- الشعار (Logo) --- */
        .logo-container {
            position: relative;
            width: 160px;
            height: 70px;
            display: inline-block;
            transition: all 0.3s ease;
        }
        .logo-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../assets/logo.svg');
            background-size: 100% 100%;
            background-repeat: no-repeat;
            background-position: center center;
            z-index: 1;
            opacity: 0.3;
            filter: brightness(1.2);
        }
        .logo-top {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            z-index: 2;
            pointer-events: none;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
        }

        /* الهيدر - أصغر وأكثر أناقة */
        .site-header {
            background: #fff;
            border-bottom: 1px solid #eef2f7;
            padding: 10px 0;
            box-shadow: 0 2px 20px rgba(30, 40, 74, 0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: nowrap;
            padding: 0 5px;
        }

        /* الشعار في اليمين للهيدر */
        .header-logo {
            flex: 0 0 auto;
            margin-left: 10px;
            width: 180px;
            height: 80px;
        }

        /* القائمة في المنتصف - رابط واحد بجانب الآخر */
        .header-nav {
            flex: 1 1 auto;
            display: flex;
            justify-content: center;
        }

        .nav-links {
            display: flex;
            gap: 25px;
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .nav-link {
            color: #2d3748 !important;
            font-weight: 700;
            font-size: 15px;
            text-decoration: none;
            padding: 8px 18px;
            border-radius: 25px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
            position: relative;
            background: linear-gradient(135deg, transparent, rgba(33, 133, 240, 0.03));
        }
        .nav-link:hover { 
            color: var(--accent-blue) !important;
            background: linear-gradient(135deg, rgba(33, 133, 240, 0.1), rgba(33, 133, 240, 0.05));
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(33, 133, 240, 0.15);
        }
        .nav-link.active {
            color: var(--accent-blue) !important;
            background: linear-gradient(135deg, rgba(33, 133, 240, 0.15), rgba(33, 133, 240, 0.08));
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: 18px;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-blue), #4dc3eb);
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 1px;
        }
        .nav-link:hover::after {
            width: calc(100% - 36px);
        }

        /* زر إنشاء حساب في اليسار */
        .header-register {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
        }

     /* في ملف login.css - استبدل CSS الخاص بـ .btn-register بالكود التالي */

.btn-register {
    background: linear-gradient(135deg, var(--primary-navy), #2a3a6e);
    color: white !important;
    border-radius: 25px;
    padding: 10px 35px;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(30, 40, 74, 0.25);
    position: relative;
    overflow: hidden;
}
.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}
.btn-register:hover {
    background: linear-gradient(135deg, var(--accent-blue), #1a6bc4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(33, 133, 240, 0.4);
}
.btn-register:hover::before {
    left: 100%;
}

        /* --- القسم الرئيسي --- */
        .auth-wrapper {
            min-height: calc(100vh - 100px);
            display: flex;
            align-items: center;
        }

        .side-image {
            background: url('https://blog.bayut.sa/uploads/2020/06/%D8%A3%D8%A8%D8%B1%D8%A7%D8%AC-%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6AR.jpg') no-repeat center center;
            background-size: cover;
            min-height: 650px;
            position: relative;
        }
        .side-image::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(30, 40, 74, 0.85) 0%, rgba(33, 133, 240, 0.4) 100%);
        }

        .form-content {
            padding: 70px 90px;
            background: linear-gradient(135deg, #ffffff 0%, #fafcff 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        .form-content::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--accent-blue), #4dc3eb);
        }

        .form-title-box {
            margin-bottom: 40px;
            position: relative;
        }
        .form-title-box h2 {
            font-weight: 900;
            color: var(--primary-navy);
            position: relative;
            display: inline-block;
            font-size: 2.3rem;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, var(--primary-navy), var(--accent-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .form-title-box h2::after {
            content: "";
            position: absolute;
            bottom: -20px;
            right: 0;
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-blue), #4dc3eb);
            border-radius: 2px;
            box-shadow: 0 2px 10px rgba(33, 133, 240, 0.3);
        }

        /* حقول النموذج */
        .custom-input-group {
            display: flex;
            align-items: center;
            margin-bottom: 35px;
            position: relative;
        }
        .thick-blue-bar {
            width: 6px;
            height: 48px;
            background: linear-gradient(180deg, var(--accent-blue), #4dc3eb);
            border-radius: 3px;
            margin-left: 20px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(33, 133, 240, 0.2);
        }
        .custom-input-group:focus-within .thick-blue-bar {
            height: 55px;
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(33, 133, 240, 0.4);
        }
        .input-field-container {
            flex-grow: 1;
            position: relative;
            border-bottom: 2px solid #e2e8f0;
            padding: 8px 0;
            display: flex;
            align-items: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(242, 244, 247, 0.3);
            border-radius: 8px 8px 0 0;
        }
        .input-field-container:focus-within {
            border-bottom-color: var(--accent-blue);
            transform: translateY(-2px);
            background: rgba(33, 133, 240, 0.03);
            box-shadow: 0 4px 20px rgba(33, 133, 240, 0.1);
        }
        .input-field-container input {
            border: none;
            width: 100%;
            padding: 12px 15px 12px 50px;
            outline: none;
            font-size: 15px;
            background: transparent;
            color: var(--primary-navy);
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .input-field-container input::placeholder {
            color: #94a3b8;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        .input-field-container input:focus::placeholder {
            color: var(--accent-blue);
            transform: translateX(5px);
        }
        .input-field-container i {
            position: absolute;
            left: 15px;
            color: #94a3b8;
            font-size: 18px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .input-field-container:focus-within i {
            color: var(--accent-blue);
            transform: scale(1.15) rotate(5deg);
        }

        /* نسيان كلمة المرور */
        .forgot-password {
            text-align: left;
            margin: 20px 0 40px;
        }
        .forgot-password a {
            color: var(--accent-blue);
            text-decoration: none;
            font-weight: 700;
            font-size: 15px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 15px;
            border-radius: 20px;
            background: rgba(33, 133, 240, 0.05);
        }
        .forgot-password a:hover {
            background: rgba(33, 133, 240, 0.1);
            transform: translateX(-5px);
        }
        .forgot-password a i {
            font-size: 14px;
        }

        .btn-submit-login {
            background: linear-gradient(135deg, var(--accent-blue), #1a6bc4);
            color: white;
            border: none;
            width: 100%;
            padding: 20px;
            border-radius: 15px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 18px;
            box-shadow: 0 8px 30px rgba(33, 133, 240, 0.4);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 17px;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
        }
        .btn-submit-login::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.7s ease;
        }
        .btn-submit-login:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 12px 35px rgba(33, 133, 240, 0.6);
            background: linear-gradient(135deg, #1a6bc4, var(--accent-blue));
        }
        .btn-submit-login:hover::before {
            left: 100%;
        }

        /* قسم إنشاء حساب جديد */
        .create-account-section {
            margin-top: 50px;
            padding: 30px;
            background: linear-gradient(135deg, rgba(242, 244, 247, 0.6), rgba(233, 239, 248, 0.8));
            border-radius: 20px;
            text-align: center;
            border: 2px solid transparent;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .create-account-section:hover {
            border-color: rgba(33, 133, 240, 0.2);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(33, 133, 240, 0.15);
        }
        .create-account-section h3 {
            color: var(--primary-navy);
            margin-bottom: 15px;
            font-weight: 800;
            font-size: 1.5rem;
        }
        .create-account-section p {
            color: #64748b;
            margin-bottom: 25px;
            font-size: 15px;
            line-height: 1.7;
        }
        .btn-create-account {
            background: linear-gradient(135deg, var(--primary-navy), #2a3a6e);
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 15px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            box-shadow: 0 6px 20px rgba(30, 40, 74, 0.3);
        }
        .btn-create-account:hover {
            background: linear-gradient(135deg, #2a3a6e, var(--primary-navy));
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(30, 40, 74, 0.4);
            color: white;
        }

        /* --- الفوتر مع خلفية الشعار --- */
        footer {
            background: linear-gradient(135deg, var(--primary-navy), #0f1a36);
            color: white;
            padding: 80px 0 35px;
            position: relative;
            overflow: hidden;
        }

        /* خلفية الشعار للفوتر */
        footer::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../assets/logo.svg');
            background-size: 40%;
            background-repeat: no-repeat;
            background-position: center center;
            opacity: 0.05;
            z-index: 0;
            pointer-events: none;
        }

        .footer-logo-box .logo-container {
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
            width: 200px;
            height: 90px;
        }
        .footer-logo-box .logo-bg {
            opacity: 0.2;
            filter: brightness(0) invert(1);
        }
        .footer-logo-box .logo-top {
            filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0,0,0,0.5));
        }
        .footer-text {
            font-size: 15px;
            line-height: 1.9;
            color: #e2e8f0;
            text-align: justify;
            position: relative;
            z-index: 1;
            padding-right: 20px;
            border-right: 3px solid rgba(255,255,255,0.1);
        }

        .footer-nav {
            list-style: none;
            padding: 0;
            position: relative;
            z-index: 1;
        }
        .footer-nav li { 
            margin-bottom: 18px;
            transition: transform 0.3s ease;
        }
        .footer-nav li:hover {
            transform: translateX(-8px);
        }
        .footer-nav a {
            color: #e2e8f0;
            text-decoration: none;
            font-size: 15px;
            font-weight: 700;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 15px;
            border-radius: 25px;
            background: rgba(255,255,255,0.03);
        }
        .footer-nav a::before {
            content: '◀';
            font-size: 12px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .footer-nav a:hover {
            color: white;
            background: rgba(255,255,255,0.08);
            padding-right: 25px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .footer-nav a:hover::before {
            opacity: 1;
        }

        .contact-row {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 22px;
            font-size: 15px;
            color: #cbd5e0;
            position: relative;
            z-index: 1;
            padding: 15px 20px;
            background: rgba(255,255,255,0.05);
            border-radius: 12px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .contact-row:hover {
            background: rgba(255,255,255,0.1);
            transform: translateX(-8px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }
        .contact-row i { 
            color: #4dc3eb;
            width: 25px;
            font-size: 18px;
            transition: transform 0.3s ease;
        }
        .contact-row:hover i {
            transform: scale(1.2) rotate(5deg);
        }

        .btn-footer-blue {
            background: linear-gradient(135deg, var(--accent-blue), #1a6bc4);
            color: white;
            border: none;
            width: 100%;
            padding: 18px;
            border-radius: 12px;
            margin-bottom: 30px;
            font-weight: 700;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            z-index: 1;
            cursor: pointer;
            font-size: 16px;
            box-shadow: 0 6px 20px rgba(33, 133, 240, 0.4);
            overflow: hidden;
        }
        .btn-footer-blue::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s ease;
        }
        .btn-footer-blue:hover {
            transform: translateY(-4px) scale(1.03);
            box-shadow: 0 10px 30px rgba(33, 133, 240, 0.6);
            background: linear-gradient(135deg, #1a6bc4, var(--accent-blue));
        }
        .btn-footer-blue:hover::before {
            left: 100%;
        }

        .footer-social-box {
            position: relative;
            z-index: 1;
            display: flex;
            gap: 15px;
            margin-top: 35px;
        }

        .footer-social-box .social-icon-top {
            background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08));
            color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }
        .footer-social-box .social-icon-top::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s ease;
        }
        .footer-social-box .social-icon-top:hover {
            background: var(--accent-blue);
            transform: translateY(-5px) scale(1.12);
            border-color: white;
            box-shadow: 0 10px 25px rgba(33, 133, 240, 0.5);
        }
        .footer-social-box .social-icon-top:hover::before {
            left: 100%;
        }

        /* === تحسينات الاستجابة الشاملة === */
        
        /* شريط القائمة للأجهزة الصغيرة */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--primary-navy);
            font-size: 24px;
            cursor: pointer;
            padding: 5px;
            transition: all 0.3s ease;
        }
        .mobile-menu-btn:hover {
            color: var(--accent-blue);
            transform: scale(1.1);
        }

        /* التجاوب (Responsive) - تحسينات متقدمة */
        @media (max-width: 1400px) {
            .form-content {
                padding: 60px 70px;
            }
            .nav-links {
                gap: 20px;
            }
            .nav-link {
                font-size: 14.5px;
                padding: 8px 16px;
            }
        }

        @media (max-width: 1200px) {
            .form-content {
                padding: 50px 40px;
            }
            .nav-links {
                gap: 15px;
            }
            .logo-container {
                width: 140px;
                height: 65px;
            }
            .side-image {
                min-height: 550px;
            }
        }

        @media (max-width: 992px) {
            .side-image { 
                display: none; 
            }
            .form-content { 
                padding: 50px 30px;
                min-height: 85vh;
            }
            
            /* تصميم هيدر متجاوب متقدم */
            .header-content {
                flex-wrap: wrap;
                padding: 10px 15px;
            }
            
            .mobile-menu-btn {
                display: block;
                order: 2;
            }
            
            .header-logo {
                order: 1;
                margin-left: 0;
                flex: 1;
            }
            
            .header-nav {
                order: 4;
                width: 100%;
                display: none;
                margin-top: 15px;
            }
            
            .header-nav.active {
                display: block;
                animation: slideDown 0.3s ease;
            }
            
            @keyframes slideDown {
                from {
                    opacity: 0;
                    transform: translateY(-10px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            
            .nav-links {
                flex-direction: column;
                gap: 10px;
                background: white;
                padding: 20px;
                border-radius: 15px;
                box-shadow: 0 10px 30px rgba(0,0,0,0.1);
                border: 1px solid #eef2f7;
            }
            
            .nav-link {
                padding: 12px 20px;
                font-size: 15px;
                text-align: center;
                width: 100%;
            }
            
            .header-register {
                order: 3;
            }
            
            .btn-register {
                padding: 8px 25px;
                font-size: 14px;
            }
            
            footer::before {
                background-size: 55%;
            }
            .footer-logo-box .logo-container {
                width: 180px;
                height: 80px;
                margin: 0 auto 25px;
            }
            .footer-text {
                padding-right: 15px;
                font-size: 14.5px;
            }
        }

        @media (max-width: 768px) {
            .site-header {
                padding: 12px 0;
            }
            
            .logo-container {
                width: 130px;
                height: 60px;
            }
            
            .header-content {
                padding: 0 10px;
            }
            
            .form-content {
                padding: 40px 25px;
            }
            
            .form-title-box h2 {
                font-size: 2rem;
            }
            
            .btn-register {
                padding: 8px 22px;
                font-size: 13.5px;
            }
            
            .input-field-container input {
                padding: 11px 12px 11px 45px;
                font-size: 14.5px;
            }
            
            .input-field-container i {
                left: 12px;
                font-size: 17px;
            }
            
            .create-account-section {
                padding: 25px 20px;
            }
            
            .btn-submit-login {
                padding: 18px;
                font-size: 16px;
            }
            
            footer::before {
                background-size: 70%;
            }
            
            .footer-social-box .social-icon-top {
                width: 42px;
                height: 42px;
                font-size: 15px;
            }
            
            .contact-row {
                padding: 12px 18px;
                font-size: 14.5px;
            }
        }

        @media (max-width: 576px) {
            .site-header {
                padding: 10px 0;
            }
            
            .logo-container {
                width: 120px;
                height: 55px;
            }
            
            .form-content {
                padding: 35px 20px;
            }
            
            .form-title-box h2 {
                font-size: 1.8rem;
            }
            
            .form-title-box h2::after {
                width: 80px;
                bottom: -15px;
            }
            
            .custom-input-group {
                margin-bottom: 28px;
            }
            
            .thick-blue-bar {
                margin-left: 15px;
                width: 5px;
                height: 45px;
            }
            
            .input-field-container input {
                padding: 10px 10px 10px 40px;
                font-size: 14px;
            }
            
            .input-field-container i {
                left: 10px;
                font-size: 16px;
            }
            
            .forgot-password {
                margin: 15px 0 30px;
            }
            
            .create-account-section {
                margin-top: 40px;
                padding: 20px 15px;
            }
            
            .create-account-section h3 {
                font-size: 1.3rem;
            }
            
            .btn-submit-login {
                padding: 16px;
                font-size: 15px;
                gap: 15px;
            }
            
            .footer-logo-box .logo-container {
                width: 160px;
                height: 70px;
            }
            
            footer {
                padding: 60px 0 30px;
            }
            
            .btn-footer-blue {
                padding: 16px;
                font-size: 15px;
                margin-bottom: 25px;
            }
            
            .contact-row {
                padding: 10px 15px;
                font-size: 14px;
                margin-bottom: 18px;
            }
            
            .footer-social-box {
                gap: 12px;
                margin-top: 25px;
                justify-content: center;
            }
            
            .footer-social-box .social-icon-top {
                width: 40px;
                height: 40px;
                font-size: 14px;
            }
            
            footer::before {
                background-size: 85%;
            }
            
            .footer-nav a {
                font-size: 14.5px;
                padding: 10px 15px;
            }
        }

        @media (max-width: 400px) {
            .logo-container {
                width: 110px;
                height: 50px;
            }
            
            .btn-register {
                padding: 7px 20px;
                font-size: 13px;
            }
            
            .form-title-box h2 {
                font-size: 1.6rem;
            }
            
            .footer-logo-box .logo-container {
                width: 140px;
                height: 60px;
            }
            
            .footer-text {
                font-size: 14px;
            }
        }

        /* تحسينات للأجهزة اللوحية */
        @media (min-width: 768px) and (max-width: 992px) {
            .header-nav {
                order: 2;
                width: 100%;
                margin: 15px 0;
            }
            
            .nav-links {
                justify-content: center;
                flex-wrap: wrap;
                gap: 12px;
            }
            
            .nav-link {
                font-size: 14px;
                padding: 8px 16px;
            }
            
            .header-logo, .header-register {
                width: auto;
            }
             
             .header-logo .logo-container {
                width: 140px;
                height: 60px;
            }

            .mobile-menu-btn {
                display: none;
            }
        }