﻿:root {
    --border-color: rgb(0, 179, 216);
    --btn-color: rgb(0, 179, 216);
    --btn-hover-color: rgb(1, 179, 215);
    --letter-color: rgb(0, 78, 116);
}

html,
body,
#app,
.Login {
    height: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    font-family: 'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;
}

html {
    font-family: Montserrat, sans-serif;
    height: 100%;
}

body {
    background: url('../Images/template/backgroundLogin.jpg') no-repeat center center fixed;
    /*-webkit-background-size: cover;*/
    /*-moz-background-size: cover;
    -o-background-size: cover;*/
    background-size: cover;
    min-height: 100%;
}

.Login-wrapper {
    height: 100%;
    width: 80%;
    background-color: rgba(255, 255, 255, 1);
    flex: 1;
    display: table;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    padding: -1.2rem;
    min-width: fit-content;
}

.panel-content-login {
    max-width: 90%;
    min-width: 80%;
}

.user-label {
    color: var(--letter-color);
    font-weight: bold;
    margin-bottom: 0.1rem;
    font-size: 12pt;
}

.password-label {
    color: var(--letter-color);
    font-weight: bold;
    margin-top: 5%;
    margin-bottom: 0.1rem;
    font-size: 12pt;
}

.rights-label {
    color: var(--letter-color);
    font-size: 7pt;
    font-weight: 500;
    margin-top: 3.5%;
    margin-bottom: 2%;
}

.links-section {
    margin-left: -6%;
    margin-right: -6%;
}

.links-section a {
    text-decoration: underline;
    color: var(--letter-color);
    transition: none;
    font-size: 8.2pt;
}

.link-label {
    margin-inline: 2%;
    color: var(--letter-color);
}

.links-section a:hover {
    text-decoration: underline;
    color: var(--letter-color);
}

.links-section a:active {
    text-decoration: underline;
    color: var(--letter-color);
}

.links-section a:focus {
    text-decoration: underline;
    color: var(--letter-color);
}

.inputs-container {
    display: flex;
    flex-direction: column;
    margin-left: 5%;
    margin-right: 5%;
}

.input-element {
    border: rgba(119, 119, 119, 0.2) solid 2px;
    height: 40px;
}
.btn-login {
    margin-top: 20px;
    background-color: var(--btn-color);
    width: 100%;
    color: #fff;
    font-size: 11pt;
    font-weight: 600;
    padding-bottom: 1%;
    padding-top: 1%;
    height: 40px;
    border: var(--btn-color) solid;
}

.links-section a {
    text-decoration: underline;
    color: var(--letter-color);
    transition: none;
    font-size: 8.2pt;
    white-space: nowrap;
}

.rights-label a {
    white-space: nowrap;
}

.img-container {
    text-align: center;
    margin-top: 2%;
    margin-bottom: 2%;
}

.logo-client-conteiner {
    margin-top: 2%;
    margin-bottom: 0%;
    text-align: center;
}

.Login-wrapper img.logo-client {
    height: auto;
    _width: 60px;
    max-width: 250px;
    height: auto;
    margin-bottom: 15px;
    transition: max-width 0.5s ease;
}

.Login-wrapper {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: max-width 0.5s ease;
}

img.logo-powered {
    width: 100%;
    max-width: 150px;
    height: auto;
    transition: max-width 0.5s ease;
}

.Login {
    display: flex;
    justify-content: center;
    align-items: center;
}

.Login-context {
    display: table-cell;
    vertical-align: middle;
    width: 90%;
    background-color: #ffffff;
    padding: 5%;
    margin: -5%;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}


.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-login:enabled:hover,
.btn-login:enabled:active,
.btn-login:enabled:active {
    background-color: var(--btn-hover-color) !important;
    opacity: 0.85;
    color: #fff !important;
    border: var(--btn-hover-color) solid;
}

.btn-recordar {
    font-size: 10pt;
    color: rgb(56, 56, 56);
    cursor: pointer;
}

    .btn-recordar:hover {
        font-weight: bold;
    }

.text-footer {
    text-align: center;
}

    .text-footer a {
        text-decoration-line: underline !important;
        color: rgb(56, 56, 56) !important;
        font-size: 8pt !important;
        cursor: pointer;
    }

        .text-footer a:hover {
            color: #ffc107 !important;
        }

@media (min-width: 480px) {
    .Login-wrapper {
        margin: 0 auto;
        max-width: 400px;
        transition: max-width 0.5s ease;
    }

    .links-section .rights-label {
        color: var(--letter-color);
    }
}

@media (max-width: 469px) {
    img.logo-powered {
        width: 100%;
        max-width: 130px;
        height: auto;
        margin-top: 15px;
        margin-bottom: 15px;
        transition: max-width 0.5s ease;
    }

    .links-section .rights-label {
        color: var(--letter-color);
    }

    .img.logo-client {
        height: auto;
        max-width: 200px;
        margin-bottom: 15px;
        transition: max-width 0.5s ease;
    }

    .Login-wrapper {
        margin: 0 auto;
        max-width: 400px;
        transition: max-width 0.5s ease;
    }

    .panel-content-login {
        max-width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 450px) {
    .links-section a {
        text-decoration: underline;
        color: var(--letter-color);
        transition: none;
        font-size: 6.5pt;
        white-space: nowrap;
    }

    .rights-label a {
        white-space: nowrap;
        font-size: 6.5pt;
        color: var(--letter-color);
    }
}

@media (max-width: 310px) {
    .Login-wrapper img.logo-client {
        height: auto;
        width: 100%;
        max-width: 190px;
        min-width: none;
        height: auto;
        margin-bottom: 15px;
        margin-right: 0px;
        margin-left: 0px;
        transition: max-width 0.5s ease;
    }

    .Login-wrapper .Login-context {
        width: 100%;
        min-width: 100%;
    }

    .panel-content-login {
        max-width: 200px;
        max-width: 400px;
    }

    .links-section a {
        text-decoration: underline;
        transition: none;
        font-size: 7pt;
        white-space: nowrap;
        transition: max-width 0.5s ease;
        color: var(--letter-color);
    }

    .rights-label a {
        white-space: nowrap;
        font-size: 7pt;
        transition: max-width 0.5s ease;
        color: var(--letter-color);
    }
}

@media (max-width: 325px) {
    .links-section {
        display: flex;
        flex-direction: column;
        color: var(--letter-color);
    }

        .links-section a {
            text-decoration: underline;
            transition: none;
            font-size: 7.5pt;
            white-space: nowrap;
            transition: max-width 0.5s ease;
            color: var(--letter-color);
        }

    .rights-label a {
        white-space: nowrap;
        font-size: 5.5pt;
        transition: max-width 0.5s ease;
        color: var(--letter-color);
    }
}

@media (max-width: 280px) {
    .captcha-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        transition: max-width 0.5s ease;
        margin-bottom: -10%;
    }

    .captcha-element {
        margin-left: 1rem !important;
        position: relative;
        transform: scale(0.77);
        transform-origin: 0 0;
        transition: max-width 0.5s ease;
    }
}

.btnStyleRecordPass {
    font-size: 9pt;
    font-weight: bold;
    color: var(--letter-color);
    margin-top: 2%;
}

.captcha-container {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    margin-top: 5%;
}

.captcha-element {
    margin-left: 0%;
    position: relative;
}

/* Estilos para Firefox */
@-moz-document url-prefix() {
    .Login-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        background: none;
    }
}
