﻿:root {
    --form-width: calc(258px + 10vw);
}
@font-face {
    font-family: 'Bangla';
    src: url('/font/NotoSansBengali-Regular.ttf') format('truetype');
}
body {
    margin: 0;
    font-family: system-ui,Bangla;
}

    body * {
        box-sizing: border-box;
    }

.rf-login {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.rf-login-left {
    flex: 1 0 200px;
    min-width: 320px;
    display: flex;
}

.rf-login-bg {
    flex: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 30px;
    box-sizing: border-box;
}

.rf-login-logo {
    width: max-content;
    height: max-content;
    max-width: 100px;
    max-height: 150px;
}

.rf-login-content {
    flex: auto;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-shadow: 0 0 5px black;
}

.rf-login-title {
    font-size: 30px;
    font-weight: bold;
}

.rf-login-slogan {
}

.rf-login-right {
    flex: 1 1 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rf-login-right-container {
    width: var(--form-width);
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.rf-login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .rf-login-form .rf-login-form-title {
        text-align: center;
        font-size: 22px;
        font-weight: 400;
        text-shadow: 0 0 2px #0000005e;
    }

    .rf-login-form .validation-message {
        line-height: 0;
        margin-top: -10px;
    }


.text-danger {
    color: red;
    font-size: 12px;
}

.form-group {
}

.form-control > input {
    width: 100%;
    border: none;
    padding: 20px 10px;
    background-color: #f4f8ff;
    text-align: center;
    font-size: 16px;
    outline: none !important;
    transition: all 0.2s ease-in-out;
}

    .form-control > input:focus {
        background-color: #e8f0fe;
    }

.rf-login-actions {
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rf-login-forgot {
    text-decoration: none;
    color: #000000;
}

.rf-login-btn {
    border: none;
    flex: 0 0 120px;
    height: 50px;
    cursor: pointer;
    color: #ffffff;
    background-color: #3f51b5d4;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

    .rf-login-btn:hover {
        background-color: #3f51b5;
        box-shadow: 0px 5px 10px 0px #3f51b542;
    }

.social-login-rf {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.rf-login-divider {
    display: flex;
    align-items: center;
}

    .rf-login-divider::before, .rf-login-divider::after {
        content: '';
        flex: auto;
        background-color: #dadada;
        height: 1px;
    }

    .rf-login-divider > p {
        margin: 0;
        font-size: 14px;
        border: 1px solid #dadada;
        border-radius: 5px;
        padding: 4px 8px;
    }

.rf-login-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.rf-login-option {
    flex: 1 0 60px;
    border: none;
    outline: none !important;
    background-color: #DB4437;
    color: white;
    border-radius: 5px;
    position: relative;
    padding: 5px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .rf-login-option:hover {
        box-shadow: 0px 5px 10px 0px #0000003d;
    }

    .rf-login-option > i {
        flex: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        font-size: 24px;
        margin-top: 5px;
    }

    .rf-login-option > span {
        width: 100%;
    }


.sign-up-form-rf {
    background: none;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
}

    .sign-up-form-rf .container-rf-header {
        display: none;
    }

.login-registation-tab-rf {
    display: block;
}

    .login-registation-tab-rf .rf-tab-body-html {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

.rf-login-options:hover > .rf-login-option:not(:hover) {
    filter: grayscale(0.5);
    opacity: 0.7;
    transition: all 300ms ease-in;
}
