
body {
   direction:rtl
}


*,
*::after,
*::before {
  box-sizing: border-box !important;
  list-style: none !important;
}
/* color */
:root {
  --color-main-blue: #473bf0;
  --color-dark-blue: rgb(82, 87, 139);
  --color-text: rgb(68, 69, 75);
  --color-text-white: rgb(221, 231, 235);
}
/* login-page */
.login-page {
  height: 100vh;
background: #4a3fe0 !important;
background: linear-gradient(64deg, rgba(74, 63, 224, 0.9) 0%, rgba(153, 153, 255, 0.9) 100%) !important;
}
.login-title {
  color: var(--color-text);
}
.login-site-name {
  transition: all 0.3s ease-in-out;
}
.login-site-name:hover {
  color: var(--color-main-blue);
}
.sigh-in-box {
    background-color: #fff;
    box-shadow: 0px 0px 15px 10px rgb(114, 103, 197);
    border-radius: 0.5rem;
    padding: 2rem;
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
}

@media screen and (max-width: 480px) {
    .sign-in-container {
        padding: 0 1rem;
    }

    .sign-in-box {
        width: 100% !important;
        padding: 1.2rem 1rem !important;
        margin: 0 auto;
        border-radius: 1rem;
        box-shadow: 0 0 15px rgba(0,0,0,0.05);
    }

        .sign-in-box input,
        .sign-in-box button {
            font-size: 16px;
        }

    .captcha-box {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

        .captcha-box input[type="text"] {
            width: 100%;
        }
}
    .input-box {
        position: relative;
        height: 40px;
        line-height: 40px;
    }

    .sigh-in-input {
        position: absolute;
        outline: none !important;
        background-color: transparent;
        z-index: 100;
        transition: all 0.17s ease;
        line-height: 40px;
        border: 2px solid var(--color-text) !important;
        color: var(--color-text) !important;
        font-size: 1rem !important;
        border-radius: 0.7rem !important;
    }

        .sigh-in-input:focus,
        .sigh-in-input:valid {
            background-color: transparent !important;
        }

    .input-ladel {
        transition: all 0.17s ease-in-out;
        margin: auto 0.5rem !important;
        font-size: 1rem !important;
        opacity: 0.8;
        background-color: #fff;
        color: var(--color-text);
        line-height: 20px;
    }

    .sigh-in-input:focus + .input-ladel,
    .sigh-in-input:valid + .input-ladel {
        transform: translateY(-30px);
        z-index: 200;
        font-size: 0.9rem !important;
        opacity: 1;
        /* border-left: 2px solid var(--color-text);
  border-right: 2px solid var(--color-text);*/
    }

    .captcha-img {
        width: 150px;
        height: 60px;
        margin-left: 0.5rem !important;
        border: 2px solid rgb(187, 203, 214);
        border-radius: 0.5rem;
    }

    .remember-me-text,
    .forget-password {
        color: var(--color-text);
        opacity: 0.8;
        transition: all 0.2s ease-in-out;
    }

        .remember-me-text:hover,
        .forget-password:hover {
            opacity: 1;
            transform: scale(1.07);
        }

    .remember-me-chexkbox {
        accent-color: var(--color-dark-blue);
    }

    .login-btn {
        background-color: var(--color-main-blue);
        color: var(--color-text-white);
        font-size: 1.2rem;
        border-radius: 2rem;
        box-shadow: 0 !important;
        transition: all 0.3s ease-in-out;
    }

        .login-btn:hover {
            color: var(--color-text-white);
            background-color: var(--color-text);
        }
    /* gorget-password */
    .forget-password-box {
        background-color: #fff;
    }

    .gorget-modal-header {
        display: flex;
        justify-content: space-between;
    }

    .forget-password-input {
        border-color: var(--color-main-blue) !important;
        color: var(--color-text) !important;
    }

    .forget-password-label {
        background-color: #fff;
        color: var(--color-main-blue);
        border-color: var(--color-main-blue) !important;
    }

    .forget-password-footer {
        border-top: 1px solid rgba(88, 135, 206, 0.719);
    }

    .forget-btn {
        background-color: var(--color-main-blue) !important;
        color: var(--color-text-white) !important;
    }
    /* check */
    .checked {
        color: rgb(206, 59, 59) !important;
        border-color: rgb(214, 107, 107) !important;
    }

    .checked-border {
        border-color: rgb(206, 114, 114) !important;
    }

    .global-toast {
        position: fixed;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(255, 68, 68, 0.95);
        color: white;
        padding: 12px 20px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
        box-shadow: 0 0 10px rgba(0,0,0,0.15);
        z-index: 9999;
        opacity: 0;
        animation: fadeInOut 4s ease forwards;
    }

    @keyframes fadeInOut {
        0% {
            opacity: 0;
            transform: translate(-50%, -20px);
        }

        10%, 90% {
            opacity: 1;
            transform: translate(-50%, 0);
        }

        100% {
            opacity: 0;
            transform: translate(-50%, -10px);
        }
    }

    #reloadCaptcha {
        font-size: 18px;
        color: #444;
        cursor: pointer;
        z-index: 2;
    }

        #reloadCaptcha:hover {
            transform: rotate(90deg);
            transition: transform 0.3s ease;
        }

        #reloadCaptcha svg {
            transition: transform 0.3s ease;
        }

        #reloadCaptcha:hover svg {
            transform: rotate(180deg);
        }

    #reloadCaptchapass {
        font-size: 18px;
        color: #444;
        cursor: pointer;
        z-index: 2;
    }

        #reloadCaptchapass:hover {
            transform: rotate(90deg);
            transition: transform 0.3s ease;
        }

        #reloadCaptchapass svg {
            transition: transform 0.3s ease;
        }

        #reloadCaptchapass:hover svg {
            transform: rotate(180deg);
        }

    .login-input {
        z-index: 1;
    }

    .refresh-btn {
        width: 34px;
        height: 34px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #473bf0;
        cursor: pointer;
        z-index: 2;
        transition: transform 0.3s ease, background 0.3s ease;
    }

        .refresh-btn:hover {
            background: rgba(71, 59, 240, 0.15);
            transform: rotate(180deg);
        }

        .refresh-btn svg {
            fill: currentColor;
        }

    #captchaBox {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
    }

#captchaBoxForgot {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}
@media (max-width: 576px) {
    .sigh-in-box {
        padding: 1rem !important;
        border-radius: 0.75rem;
        margin: 1rem;
        box-shadow: 0px 0px 10px 5px rgba(114, 103, 197, 0.3);
    }

    .captcha-img {
        width: 120px;
        height: 50px;
    }

    .login-btn {
        font-size: 1rem;
    }

    .input-ladel {
        font-size: 0.9rem;
    }

    .sigh-in-input {
        font-size: 0.9rem;
    }
}
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.sigh-in-box {
    animation: fadeUp 0.6s ease;
}
*, *::before, *::after {
    box-sizing: border-box;
}