﻿body, html {
    height: 100%;
    margin: 0;
}

.login-container {
    display: flex;
    height: 100vh;
}

.login-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 40px;
    position: relative;
}

    .login-form form {
        width: 100%;
        max-width: 400px;
    }


.login-image {
    background-image: url('../../../branding/yosi.red-smart.com/YoSiLanding.jpg');
    background-size: cover;
    background-position: center;
    flex: 1;
    display: block; /* Asegurarse de que se muestre por defecto */
}

.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 100px;
}

    .logo-container img {
        max-height: 100%;
        max-width: auto;
    }

.btn-custom {
    background-color: #ff3131;
    border-color: #ff3131;
    color: white;
}

    .btn-custom:hover {
        background-color: #828080;
        border-color: #828080;
        color: white;
    }

.btn-custom2 {
    background-color: gray;
    border-color: gray;
    color: white;
}

    .btn-custom2:hover {
        background-color: silver;
        border-color: silver;
        color: white;
    }

.forgot-password {
    color: #ff3131;
}

    .forgot-password:hover {
        color: #ff3131;
    }


:where([autocomplete=one-time-code]) {
    --otp-digits: 6 !important; /* length */
    --otc-ls: 2.3ch !important;
    --otc-gap: 1.25 !important;
    /* private consts */
    --_otp-bgsz: calc(var(--otc-ls) + 1ch) !important;
    all: unset !important;
    background: linear-gradient(90deg, var(--otc-bg, #EEE) calc(var(--otc-gap) * var(--otc-ls)), transparent 0 ) 0 0 / var(--_otp-bgsz) 100% !important;
    caret-color: var(--otc-cc, #333) !important;
    clip-path: inset(0% calc(var(--otc-ls) / 2) 0% 0%) !important;
    font-family: ui-monospace, monospace !important;
    font-size: var(--otc-fz, 1.8em) !important;
    inline-size: calc(var(--otc-digits) * var(--_otp-bgsz)) !important;
    letter-spacing: var(--otc-ls) !important;
    padding-block: var(--otc-pb, 1ch) !important;
    padding-inline-start: calc(((var(--otc-ls) - 1ch) / 2) * var(--otc-gap)) !important;
    border: none !important;
    border-bottom: 0px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    font-weight: bold !important;
    text-align: left !important;
    width: 315px !important; /* Add this line */
    max-width: 100% !important; /* Add this line */
}
