/* تنسيقات صفحة تسجيل الدخول */
/* === Final Login Page Styling with Finexo Theme === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600&display=swap');

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #021024;
    font-family: 'Cairo', sans-serif; /* ✅ خط عربي أنيق */
    background-image: url('logo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundMove 10s infinite alternate ease-in-out;
    color: #fff;
}


@keyframes backgroundMove {
    0% {
        background-position: top left;
    }
    100% {
        background-position: bottom right;
    }
}

.login-section {
    background-color: rgba(15, 21, 33, 0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 90%;
    max-width: 420px;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeIn 0.6s forwards ease-in-out;
}

@keyframes fadeIn {
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

h2 {
    color: #00bbf0;
    margin-bottom: 40px;
    font-weight: 600;
    font-size: 1.8em;
}

label {
    display: block;
    margin: 10px 0 5px;
    text-align: left;
    color: #ffffffcc;
    font-weight: 500;
    font-size: 0.95em;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #00bbf033;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.07);
    color: #fff;
    transition: all 0.3s ease-in-out;
}

input:focus {
    border-color: #00bbf0;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 187, 240, 0.5);
}

button {
    width: 100%;
    padding: 12px;
    background-color: #00bbf0;
    color: #021024;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-weight: 600;
}

button:hover {
    background-color: #008ecf;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.another-login {
    margin-top: 25px;
    font-size: 15px;
    color: #ccc;
}

.another-login p {
    margin-bottom: 15px;
}

.another-login a {
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    color: #00bbf0;
    font-weight: 500;
    margin: 0 10px;
}

.another-login a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.another-login img {
    border: 2px solid #00bbf055;
    border-radius: 50%;
    width: 35px;
    padding: 5px;
    margin: 0 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.another-login img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.sign-up {
    margin-top: 20px;
    font-size: 15px;
    color: #ccc;
    text-align: center;
}

.sign-up a {
    color: #00bbf0;
    font-weight: 500;
    text-decoration: none;
}

.sign-up a:hover {
    text-decoration: underline;
}

.gender-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #fff;
}

.gender-options input {
    margin-right: 5px;
}

/* حقل العمر */
input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #00bbf033;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.07);
    color: #fff;
}

/* موبايل صغير */
@media (max-width: 480px) {
    .login-section {
        padding: 20px;
    }
    .another-login img {
        width: 30px;
    }
}

/* تابلت وأجهزة وسط */
@media (max-width: 768px) {
    .gender-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    label {
        font-size: 0.9em;
    }
}

