:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #ff9015;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --gray-light: #b7bec3;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
}
html, body {
    background-image: url(https://gmterpv8puntocdn.azureedge.net/gmterpv8/GMTERPV8_WEB/Imagenes/LOGIN.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #5b5b5f;
    position: relative;
}
.links {
    display: flex;
    justify-content: flex-end;
    margin-right: 3em;
    margin-top: 1em;
}

.links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 1em;
    padding-inline: .5em;
}

.links a .link-text:hover {
    color: var(--orange);
}

/* IMG */

#HTM_IMGLOGO {
  background-image: url('https://gmterpv8puntocdn.azureedge.net/gmterpv8/GMTERPV8_WEB/Imagenes/LogoGM%20LOGIN.svg');
  background-size: contain;     /* ajusta sin deformar */
  background-repeat: no-repeat;
  background-position: center; /* centra la imagen */
}

#HTM_IMGERP {
  background-image: url('https://gmterpv8puntocdn.azureedge.net/gmterpv8/GMTERPV8_WEB/Imagenes/LOGO%20ERP%20LOGIN.svg');
  background-size: contain;     /* ajusta sin deformar */
  background-repeat: no-repeat;
  background-position: center; /* centra la imagen */
}

/* INPUTS LOGIN */

#EDT_EMPRESA {background: url("https://gmterpv8puntocdn.azureedge.net/gmterpv8/GMTERPV8_WEB/Imagenes/RFCarchivo.svg") no-repeat 12px center;}
#EDT_USUARIO {background: url("https://gmterpv8puntocdn.azureedge.net/gmterpv8/GMTERPV8_WEB/Imagenes/Usuario.svg") no-repeat 12px center;}
#EDT_CONTRASENA {background: url("https://gmterpv8puntocdn.azureedge.net/gmterpv8/GMTERPV8_WEB/Imagenes/Candado.svg") no-repeat 12px center;}

#EDT_EMPRESA,
#EDT_USUARIO,
#EDT_CONTRASENA {
    outline: none;
    border: 1.5px solid var(--gray-light) !important;
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    
    padding-block: 15px;
    background-size: 12px; /* tamaño del icono */
    background-position-x: 5;
    border-radius: 15px;
    padding-left: 35px;
}

#EDT_EMPRESA::placeholder,
#EDT_USUARIO::placeholder,
#EDT_CONTRASENA::placeholder {
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    opacity: 1;
    /* algunos navegadores lo ponen más transparente */
}

#EDT_EMPRESA:focus,
#EDT_USUARIO:focus,
#EDT_CONTRASENA:focus {
    border: 1px solid var(--orange) !important;
}

#IMG_MAINBANNER {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-right: 1px solid var(--red) !important;
    border-top: 1px solid var(--red) !important;
}

#CELL_FORM {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(112, 110, 110, 0.3);
    padding: 1em;
    margin: 0 0 0 -146px;
}

/* FOOTER */

.footer {
    background: none;
    border-top: 1px solid #ddd;
    padding-block: 1.4em;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #333;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0px;
    flex-wrap: wrap;
}

.footer-left {
    background: #f78d1e;
    /* naranja */
    color: #fff;
    font-weight: bold;
    padding: 15px 20px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    text-align: end;
}

.footer-highlight {
    width: 80%;
}

.footer-center {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-item {
    display: flex;
    flex-direction: column;
}

.footer-item strong {
    font-size: 13px;
    font-weight: 600;
}

.footer-item a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    margin-top: 2px;
}

.footer-item i {
    color: #25d366;
    /* verde WhatsApp */
    margin-right: 5px;
}

.footer-right {
    text-align: right;
    max-width: 35%;
    align-items: center;
}

.footer-right p {
    color: var(--gray) !important;
    font-size: 10px !important;
    margin-right: 4em;
    margin-bottom: 0;
}

.orange-block {
    position: absolute;
    right: 0;
    width: 1em;
    height: 5em;
    background-color: var(--orange);
    bottom: 0px;

    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}


@media (min-width: 1224px) {
    #CELL_FORM {
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(112, 110, 110, 0.3);
        padding: 4em;
    }
}

@media (max-width: 1224px) {
    #IMG_MAINBANNER {
    display: none;
}
.footer-center {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap !important;
}
.footer-container {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap !important;
}
}
/*2FA*/
#BTN_MS {
        color: #3c4043;
        padding: 8px 10px;
        border: 1px solid #dadce0;
        background-color: white;
        cursor: pointer;
        border-radius: 4px;
        align-items: center;
        font-family: Google Sans, arial, sans-serif;
        font-weight: 500;
        font-size: 14px;
        transition: background-color 0.218s, border-color 0.218s;

        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-align-items: center;
        -webkit-box-align: center;
        align-items: center;
        -webkit-flex-direction: row;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        flex-direction: row;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        height: 100%;
        position: relative;
        width: 100%;
  }
#BTN_MS:hover {
    background-color: rgba(210, 227, 252, 0.281) !important;
    border-color: rgb(210,227,252) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
    outline: none;
  }
#EDT_CODE {
    border-radius: 5px !important;
}
.nsm7Bb-HzV7m-LgbsSe:focus-within{
    outline: 1px solid rgb(210,227,252) !important;
}
#dwwPOPUP_2FA {
    transition: display 0.5s ease-in-out;
}
