@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800&display=swap');

/* إعدادات الخطوط */
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    background: linear-gradient(to left, 
        #302e39 0%, 
        #1b1c25 10%, 
        rgba(39, 38, 44, 1) 40%, 
        #262f44 100%
    );
    height: 100vh;
    margin: 0;
}

/* تغيير لون النص في الفوتر */
.text-auth-footer p {
    color: #ff8b2c !important;
}

/* قسم الخلفية */
#background-section {
    height: 100vh;
    position: relative;
}

/* قسم النموذج */
#form-section {
    height: 100vh;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* تنسيق النموذج */
#auth-form {
    background: linear-gradient(to left, 
        #302e39 0%, 
        #283042 10%, 
        rgba(39, 38, 44, 1) 40%, 
        #2b354e 100%
    );
    padding: 20px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); /* ظلال داكنة حول النموذج */
    position: relative;
    z-index: 2;
    border-radius: 2.5rem;
    overflow: visible;
}

/* تأثير النيون الأزرق إلى البرتقالي */
@keyframes neon-glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 139, 30, 0.5), 0 0 10px rgba(255, 179, 38, 0.664), 0 0 15px rgba(60, 177, 255, 0.2);
    }
    25% {
        box-shadow: 0 0 10px rgba(250, 162, 0, 0.7), 0 0 25px rgba(231, 124, 2, 0.5), 0 0 35px rgba(44, 160, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 139, 44, 0.7), 0 0 30px rgba(255, 139, 44, 0.5), 0 0 40px rgb(255, 139, 44);
    }
    75% {
        box-shadow: 0 0 20px rgba(255, 128, 44, 0.6), 0 0 40px rgba(255, 128, 44, 0.4), 0 0 50px rgba(255, 128, 44, 0.2);
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 164, 44, 0.8), 0 0 50px rgba(255, 164, 44, 0.6), 0 0 70px rgba(255, 188, 44, 0.4);
    }
}

/* تطبيق النيون على النموذج */
#auth-form::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: transparent;
    border-radius: 1.5rem;
    filter: blur(4px);
    animation: neon-glow 5s alternate infinite; /* حركة تأثير النيون بشكل عكسي */
}


/* تنسيق الحقول داخل النموذج */
.form-material .form-control {
    background-color: rgba(255, 255, 255, 0.05); /* خلفية شفافة فاتحة */
    border: 1px solid rgba(255, 255, 255, 0.3); /* حدود بيضاء */
    border-radius: 8px;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

/* تأثير التركيز على الحقول */
.form-material .form-control:focus {
    border-color: #03a9f3; /* حد أزرق عند التركيز */
    background-color: rgba(255, 255, 255, 0.1); /* خلفية فاتحة عند التركيز */
    color: #fff;
    box-shadow: 0 0 5px rgba(3, 169, 243, 0.5); /* توهج أزرق عند التركيز */
}

/* تنسيق النص داخل الحقول */
.form-material .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* تنسيق الصندوق الذي يحتوي على checkbox */
.checkbox label {
    color: #fff;
    font-size: 14px;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}

/* تنسيق علامة الـ check عند تحديد الـ checkbox */
.checkbox input[type="checkbox"]:checked + label::before {
    background-color: #03a9f3;
    border-color: #03a9f3;
}

/* إضافة رمز التحديد عندما يتم تحديد الـ checkbox */
.checkbox input[type="checkbox"]:checked + label::after {
    content: "\f00c"; /* الرمز من FontAwesome */
    font-family: FontAwesome;
    color: #fff;
    position: absolute;
    top: 2px;
    left: 4px;
}

/* تنسيق الأزرار */
.btn-info {
    background-color: #03a9f3;
    border: 1px solid #03a9f3;
    color: #fff;
}

/* تأثير hover على الأزرار */
.btn-info:hover {
    background-color: #ffb62d;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* تنسيق النص الداكن */
.text-dark {
    color: #ffffff;
}

/* تنسيق المسافات داخل النموذج */
.form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 25px;
    overflow: hidden;
}

/* تنسيق النموذج في الشاشات الصغيرة */
@media (max-width: 767px) {
    #auth-form {
        padding: 10px;
        margin: 10px 0;
    }

    #auth-logo {
        padding: 15px;
    }

    .form-material .form-control {
        font-size: 14px;
        padding: 10px;
    }

    .btn-info {
        padding: 10px;
    }
}
.text-dark {
    color: #ffffff;
}


/* الحقول في صفحة التسجيل */
.mb-16 {
    margin-bottom: 16px;
}

.form-horizontal .checkbox {
    padding-top: 0;
}

/* أزرار الشبكات الاجتماعية */
.btn-facebook {
    background: #3B5998 !important;
    color: white !important;
    border-color: #3B5998 !important;
}

.btn-facebook:active:hover {
    border-color: #3B5998 !important;
}

.btn-google {
    background: #dd4b39 !important;
    color: white !important;
    border-color: #dd4b39 !important;
}

.btn-google:active:hover {
    border-color: #dd4b39 !important;
}

.btn-twitter {
    background: #55ACEE !important;
    color: white !important;
    border-color: #55ACEE !important;
}

.btn-twitter:active:hover {
    border-color: #55ACEE !important;
}

.btn-linkedin {
    background: #007bb5 !important;
    color: white !important;
    border-color: #007bb5 !important;
}

.btn-twitter:active:hover {
    border-color: #b57600 !important;
}

/* النموذج الخاص بالتسجيل */
#register-auth-form {
    max-width: 75%;
    margin: 30px auto;
}

#register-auth-form .form-control {
    height: 50px;
    padding: 6px 12px;
}

#register-auth-form #save-form {
    height: 50px;
    border-radius: 4px;
}

#register-auth-form label {
    font-weight: 500;
}

#register-auth-logo {
    padding: 5% 11%;
}

.login-url {
    color: #03a9f3;
    padding: 6px 0px;
    font-weight: 500;
}
/* تنسيق شعار النموذج */
#auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

#auth-logo img {
    max-width: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    /* تعديل حجم وتنسيق النموذج */
    #auth-form {
        padding: 20px; /* تقليل الحشو */
        margin: 10px 0; /* مسافات عمودية صغيرة */
        max-width: 100%; /* تحديد أقصى عرض للنموذج */
        width: 90%; /* عرض النموذج بنسبة 90% من الشاشة */
    }

    
        #auth-logo {
            padding: 15px;
        }
    
        .form-material .form-control {
            font-size: 14px;
            padding: 10px;
        }
    
        .btn-info {
            padding: 10px;
        }
    }