        :root {
            --main-dark: #1a252f;
            --brand-color: #2ecc71;
            --input-bg: #f8f9fa;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Tajawal', sans-serif;
        }

        body {
            display: flex;
            height: 100vh;
            background-color: #ffffff;
            overflow: hidden;
        }

        /* القسم الأيمن: الخلفية الترحيبية */
        .brand-side {
            flex: 1;
            background: linear-gradient(135deg, rgba(26, 37, 47, 0.95), rgba(44, 62, 80, 0.9)), 
                        url('https://unsplash.com');
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            padding: 40px;
            text-align: center;
        }

        .brand-side h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .brand-side p {
            font-size: 1.2rem;
            max-width: 400px;
            opacity: 0.9;
            line-height: 1.6;
        }

        /* القسم الأيسر: فورم تسجيل الدخول */
        .form-side {
            width: 450px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 60px;
            background: #ffffff;
        }

        .form-header {
            margin-bottom: 40px;
        }

        .form-header h2 {
            color: var(--main-dark);
            font-size: 1.8rem;
            margin-bottom: 10px;
        }

        .form-header p {
            color: #7f8c8d;
            font-size: 0.95rem;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--main-dark);
            font-size: 0.9rem;
            font-weight: bold;
        }

        .form-group input {
            width: 100%;
            padding: 14px;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            background-color: var(--input-bg);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--brand-color);
            background-color: #ffffff;
            box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
        }

        .error-txt {
            color: #e74c3c;
            font-size: 0.85rem;
            margin-top: 5px;
            display: none;
        }

        .options-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            font-size: 0.85rem;
        }

        .options-bar a {
            color: var(--brand-color);
            text-decoration: none;
            font-weight: bold;
        }

        .submit-btn {
            width: 100%;
            padding: 15px;
            background-color: var(--main-dark);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .submit-btn:hover {
            background-color: var(--brand-color);
            transform: translateY(-2px);
        }

        .footer-link {
            text-align: center;
            margin-top: 40px;
            font-size: 0.9rem;
            color: #7f8c8d;
        }

        .footer-link a {
            color: var(--brand-color);
            text-decoration: none;
            font-weight: bold;
        }

        /* التوافق مع الشاشات الصغيرة (الجوال) */
        @media (max-width: 850px) {
            body {
                flex-direction: column;
            }
            .brand-side {
                display: none; /* إخفاء نصف الشاشة الجانبي في الجوال لتوفير المساحة */
            }
            .form-side {
                width: 100%;
                height: 100vh;
                padding: 40px 20px;
            }
        }