﻿body {
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    margin: 0;
    position: relative;
    padding-top: inherit;
    padding-bottom: inherit;
    background: #eff4f2;
}

.container-left {
    display: flex;
    align-items: center; /* centra verticalmente */
    justify-content: flex-start; /* izquierda horizontal */
    height: 100vh;
    padding-left: 8%;
    position: relative;
    z-index: 2;
}

.login-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    width: 450px;
    padding: 40px;
    border-left: 6px solid var(--color-primario);
}

.body-container {
    padding: 0.5rem
}


h2 {
    color: var(--color-primario);
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-align: center;
}

.form-group label {
    font-weight: 600;
    color: #4A6B3C;
}

.btn-login {
    background-color: var(--color-primario);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    width: 100%;
    padding: 10px;
}

    .btn-login:hover {
        background-color: #3c5831;
    }

.footer {
    font-size: 13px;
    color: #777;
    margin-top: 25px;
    text-align: center;
}

.background-side {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    background: url('../img/GR-Logo.PNG') no-repeat bottom right;
    background-size: 50%;
    opacity: 0.2;
    z-index: 1;
    border-radius: 8px 8px;
    border: 1px solid #efefef !important;
    padding: 5px;
}

input, select, textarea {
    max-width: 100%;
}

.btn:focus,
.btn:active,
.btn.focus,
.btn.active {
    outline: none !important;
}

.password-input {
    padding-right: 40px; /* deja espacio para el icono */
}

.toggle-password-button {
    position: absolute;
    right: 10px;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #4A6B3C;
    font-size: 16px;
    z-index: 2;
}

.doble-factor {
    display: none;
    text-align: left;
    padding: inherit
}

.collapse {
    visibility: collapse
}

.lblmsSuccess {
    color: #077c31;
}

.lblmsError {
    color: #ee5151;
    text-decoration: underline;
}

.lblmsBlue {
    color: #041775;
    text-decoration: none;
    cursor: pointer;
    text-decoration: underline;
}

input[type="password"] { 
    font-family: "Courier New", monospace, 'Montserrat', sans-serif;
}

    input[type="password"]::placeholder {
        font-family: 'Montserrat', sans-serif;
    }

@media (max-width:700px){
    .container-left {
        padding:2rem;
        margin-top:2rem;
    }

    .container-left .login-container{
        padding:2rem;
    }

    .container-left .body-container{
        padding:initial;
    }
}