﻿
.login-container {
    width: 440px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.25);
    animation: fadeIn 1s ease;
    position: relative;
    z-index: 1;
    direction: rtl;
    text-align: right;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ شعار + نص */
.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    gap: 12px;
}

    .logo-box img {
        width: 65px;
        height: auto;
        object-fit: contain;
    }

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #07706D;
    font-family: 'Cairo', sans-serif;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #07706D;
    text-align: center;
    margin: 15px 0 25px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
    font-family: 'Cairo', sans-serif;
}

    .social-btn:hover {
        transform: scale(1.03);
    }

.btn-google {
    background: #db4437;
    color: #fff;
}

.btn-facebook {
    background: #3b5998;
    color: #fff;
}

.btn-login {
    background: #07706D;
    color: #fff;
    font-weight: 700;
}

    .btn-login:hover {
        background: #055c56;
    }

.input-group-text {
    background: #f1f1f1;
    border: none;
    color: #009688;
}

.form-control {
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.remember-label {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #444;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

#rememberIcon {
    transition: all 0.3s ease-in-out;
    transform: scale(0.9);
    margin-left: 6px;
}

    #rememberIcon.active {
        color: #28a745 !important;
        transform: scale(1.2);
    }

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.9s ease-out;
    pointer-events: none;
    z-index: 0;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.terms {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-top: 15px;
    line-height: 1.6;
    font-family: 'Cairo', sans-serif;
}

    .terms a {
        color: #009688;
        font-weight: 600;
        text-decoration: none;
    }

        .terms a:hover {
            text-decoration: underline;
        }

    .terms i {
        margin-left: 4px;
        color: #009688;
    }

/* 🌄 خلفية الصفحة */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 60px 15px;
    background: linear-gradient(135deg, #009688, #07706D);
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

    /* دوائر ملونة */
    main::before,
    main::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        animation: floatAnim 10s infinite ease-in-out alternate;
        z-index: 0;
    }

    /* دائرة كبيرة يمين */
    main::before {
        width: 350px;
        height: 350px;
        top: -100px;
        right: -120px;
        background: rgba(0, 188, 212, 0.25); /* فيروزي */
    }

    /* دائرة صغيرة يسار */
    main::after {
        width: 200px;
        height: 200px;
        bottom: -80px;
        left: -60px;
        background: rgba(33, 150, 243, 0.25); /* أزرق فاتح */
        animation-duration: 12s;
    }

    /* دائرة ثالثة متدرجة */
    main .circle-gradient {
        position: absolute;
        width: 150px;
        height: 150px;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(0,188,212,0.4) 80%);
        animation: floatAnim2 14s infinite ease-in-out alternate;
        z-index: 0;
    }

/* حركة */
@keyframes floatAnim {
    from {
        transform: translateY(0) scale(1);
    }

    to {
        transform: translateY(-30px) scale(1.1);
    }
}

@keyframes floatAnim2 {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    to {
        transform: translate(-50%, -60%) scale(1.15);
        opacity: 0.5;
    }
}

/* 📦 صندوق تسجيل الدخول */
.login-container {
    width: 420px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.8s ease;
    position: relative;
    z-index: 1; /* فوق الدوائر */
}

/* ✨ حركة دخول */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



