:root{
    --white: #ffffff ;
    --box-gray: #F9F9F9;
    --light-gray: #ddd;
    --gray: #BFBFBF;
    --text-gray: #4D4D4D;
    --red: #cb1523;
    --green: #4E9000;
    --baby-blue: #EEF4FC;
}

.login-capsule {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.login-image-section{
    order: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.login-form-section{
    order: 2;
    padding: 40px
}
.login-image-section img{
        width: 100vw;
        aspect-ratio: 1/1;
}

.hide-on-desktop{
    display: none;
}

sup{
    color: var(--red);
}
.social-login{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.social-login-icons{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}
.social-login-icons img{
    border: 2px solid var(--box-gray);
    padding: 10px;
    border-radius: 5px;
}
.login-form-section{
    padding: 0 25%;
}

.login-form-section .input-group{
    width: 100%;
}
.login-form-section label{
    margin-bottom: 10px;
}
.login-form-section .input-group input{
    border: 1px solid var(--gray);
    border-radius: 5px !important
}
.login-form-section .register-forward-btn{
    background: var(--red);
    color: var(--white);
    width: 100%;
    padding: 15px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    justify-content: space-between;
    border-radius: 10px;
    transition: all 500ms ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);

    &:hover {
        transform: scale(1.005);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

.continue-guest{
    background: none;
    color: var(--text-gray);
    width: 100%;
    padding: 15px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    justify-content: space-between;
    border: 1px solid var(--red);
    border-radius: 10px;
    transition: all 500ms ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);

    &:hover {
        transform: scale(1.005);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    text-decoration: none;
}
.continue-guest i{
    font-size: 2em;
    font-weight: bold;
    color: var(--red);
}

.login-form-section .register-forward-btn i{
    font-weight: bold;
    font-size: 2em;
}

.login-form{
    display: grid;
    border-bottom: 2px dashed var(--gray);
    padding-bottom: 15px;
    margin-bottom: 15px;
    gap: 10px;
}

.custom-register-form{
    display: grid;
    padding-bottom: 15px;
    margin-bottom: 15px;
    gap: 10px;
}
.register-advantages .why-register p{
    margin-bottom: 10px;
}
.register-advantages ul{
    list-style: none;
}
.register-advantages ul li{
    display: flex;
    flex-flow: row;
    padding: 10px;
    margin-bottom: 10px;
    align-items: center;
    gap: 10px;
    background: var(--box-gray);
    border-radius: 5px;
}
.register-advantages{
    border-bottom: 2px dashed var(--gray);
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.login-btn-group{
    margin-bottom: 0;
}
.register-link{
    color: var(--red);
    display: flex;
    flex-flow: row;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    transition: scale 300ms
}
.register-link:hover{
    color: var(--red);
    scale: 1.02;
}

.register-link i,
.text-muted i{
    color: black;
}
.text-muted{
    color: var(--gray);
    display: flex;
    flex-flow: row;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    transition: scale 300ms
}
.text-muted:hover{
    color: rgba(0, 0, 0, 0.68);
    scale: 1.02;
}
.recovery-email-spacing{
    margin-bottom: 10px;
}

.loyalty-card-text{
    display: flex;
    flex-flow: column;
    height: 100%;
    justify-content: space-between;
}
.loyalty-card-text h3{
    color: var(--red);
}
.center-loyal-card{
    display: flex;
    justify-content: center;
}
.center-loyal-card img{
    width: 250px;
}
hr{
    border-bottom: 2px dashed var(--gray);
}
.font-weight-normal{
    font-weight: normal;
}
.client-edit-submit-btn{
    max-width: 200px;
    padding: 15px;
}.password-wrapper {
     position: relative;
     width: 100%;
 }

.form-control {
    width: 100%;
    padding: 0 16px 0 12px !important;
    height: 44px;
    line-height: 1.5;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.toggle-password {
    position: absolute;
    top: 21px;
    right: 0;
    bottom: 0;
    width: 44px;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    z-index: 5;
    transition: color 0.15s;
}

.toggle-password:hover,
.toggle-password:focus {
    color: #000;
    outline: none;
}

.eye {
    width: 20px;
    height: 20px;
}

.form-control {
    padding-right: 50px !important;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
@media screen and (max-width: 991px) {
    h1{
        margin-top: 0px
    }
    .login-capsule{
        margin-bottom: 15px;
    }
    .login-image-section{
        height: 150px;
    }
    .login-form-section {
        padding: 0px 5%;
    }
    .hide-on-mobile{
        display: none;
    }
    .hide-on-desktop{
        display: block;
        width: 100%;
    }
    .login-capsule {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        padding: 10px 0 10px 0;
    }
    .login-image-section img{
        aspect-ratio: 16/9;
    }
    .loyalty-card-text{
        display: flex;
        flex-flow: column;
        height: auto;
        justify-content: space-between;
    }
}
