/*
========================================
    ملف التنسيق الخاص بصفحة تسجيل الدخول
========================================
*/

/* أساسيات الصفحة */
.login-page-wrapper {
    animation: fade-slide 0.6s ease-out forwards;
}

/* تعديلات على قسم الفورم لإضافة جمالية */
.login-form-section .form-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 420px;
}

.login-form-section h2 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 30px;
}

/* تنسيق حقول الإدخال */
.form-group input {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.2);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

/* تنسيق رسالة الخطأ */
#error-message {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    padding: 10px;
    border-radius: 6px;
}

/* شعار */
.qz-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    animation: pop-in 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* شريط التواصل */
.social-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    transition: all .3s ease;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.social-btn i {
    position: relative;
    z-index: 2;
    transition: color .3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* تأثير الحركة عند المرور */
.social-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    opacity: 1;
    transition: width .4s ease, height .4s ease;
    z-index: 1;
}

.social-btn:hover::after {
    width: 150%;
    height: 150%;
}

.social-btn:hover i {
    color: var(--text-primary);
}

/* ألوان مخصّصة */
.social-btn.fb:hover::after { background: #1877F2; }
.social-btn.ig:hover::after { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.social-btn.wa:hover::after { background: #25D366; }
.social-btn.tel:hover::after { background: var(--accent-blue); }
.social-btn.mail:hover::after { background: #c71610; }


/* مفاتيح حركة */
@keyframes fade-slide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pop-in {
    0% {
        transform: scale(.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
