/* RCADL - Login Template */

.rcadl-login-body {
    min-height: 100vh;
    margin: 0;
    direction: rtl;
    background: #f8fafc;
    overflow-x: hidden;
}

.rcadl-login-header {
    position: sticky;
    z-index: 20;
    background: #ffffff;
}

.rcadl-login-header .header-nav--full {
    min-height: 72px;
}

.rcadl-login-header .header__logo img {
    max-height: 42px;
}

.rcadl-login-header .header-menu__item {
    text-decoration: none;
}

.rcadl-login-main {
    flex: 1;
    min-height: 0;
    position: relative;
    z-index: 1;
}

.rcadl-login-body {
    min-height: 100vh;
    margin: 0;
    direction: rtl;
    background: #f8fafc;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.rcadl-login-body .background-style,
.rcadl-login-body .background-style2 {
    pointer-events: none;
}

.login-background {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 16px;
    position: relative;
}

.login-form-container {
    width: min(100%, 470px);
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 74px 34px 34px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.login-profile-img {
    position: absolute;
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 96px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 0 2px rgba(15, 23, 42, 0.12);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form {
    width: 100%;
}

.login-form h3 {
    text-align: center;
    color: #0f172a;
    font-weight: 900;
}

.rcadl-login-subtitle {
    margin: 0 auto 18px;
    max-width: 360px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 700;
}

.rcadl-login-validation {
    margin: 14px 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-size: 13px;
    font-weight: 700;
}

.rcadl-login-validation:empty {
    display: none;
}

.rcadl-field-validation {
    display: block;
    margin-top: 7px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
}

.rcadl-field-validation:empty {
    display: none;
}

.rcadl-login-body .input {
    width: 100%;
}

.rcadl-login-body .input__field {
    text-align: right;
}

.rcadl-login-body .input__field::placeholder {
    color: #94a3b8;
}

.rcadl-login-submit {
    width: 100%;
    justify-content: center;
    font-weight: 900;
}


.rcadl-login-footer {
    position: relative;
    z-index: 2;
    background: #073b87;
    color: #ffffff;
    margin-top: auto;
}
    .rcadl-login-footer .copyright {
        width: 100%;
    }

        .rcadl-login-footer .copyright .flex {
            justify-content: center !important;
            text-align: center;
            gap: 16px;
        }

    .rcadl-login-footer .copyright__text {
        color: #ffffff;
        text-align: center;
        width: 100%;
    }

@media (max-width: 640px) {
    .rcadl-login-header .header-nav__menu {
        display: none;
    }

    .login-background {
        padding-block: 72px 32px;
    }

    .login-form-container {
        border-radius: 22px;
        padding-inline: 22px;
    }

    .rcadl-login-footer .flex {
        flex-direction: column;
        gap: 12px;
        justify-content: center;
        text-align: center;
        padding-block: 12px;
    }

    .rcadl-login-footer .footer-logo {
        width: 160px;
    }
}
