@import url('../menu/assets/fonts/gotham/gotham.css');

* {
    font-family: 'gotham_narrowbook';
}

/** ------------------ Start Header ------------------ */
.copyright {
    position: absolute;
    z-index: 2;
    letter-spacing: 0px;
    color: white;
    opacity: 0.5;
    writing-mode: vertical-rl; 
    text-orientation: mixed;
    transform: rotate(180deg);
    left: 96%;
    top: 10%;
    font-size: 14px;
}
/** ------------------ Start Header ------------------ */

/** ------------------ Start Main ------------------ */
.main-section {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.background {
    width: 100%;
    height: 100dvh;
    position: relative;
    background-image: url('../imagenes/login/login_completo.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.imagotipo {
    position: absolute;
    z-index: 2;
    left: 15%;
    top: 60%;
}

.login-form {
    position: absolute;
    width: 499px;
    height: 728px;
    left: 60%;
    top: 10%;
    background-color: white;
    border: 2px solid #E7E7E7;
    border: 2px solid #E7E7E7;
    border-radius: 20px;
    z-index: 2;
}

.login-back {
    position: absolute;
    background-color: rgba(246, 246, 246, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    top: 15px;
    left: -50px;
}

.login-back a {
    all: unset;
}

.login-back i {
    color: #FFF;
}

.login-line {
    width: 40px;
    height: 2px;
    background-color: #F06D0C;
    position: absolute;
    left: 25px;
    top: 65.5px;
}

.login-content {
    margin: 85px 0 0 25px;
}

.login-title {
    font-size: 40px;
    color: #151D21;
}

.margin-top-81 {
    margin-top: 81px;
}

.login-input {
    width: 446.5px;
    height: 24px;
    display: grid;
    grid-template-columns: 21px 413px;
    grid-template-rows: 24px;
    justify-content: center;
    align-content: center;
    gap: 13px;
}

input[type="text"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    -webkit-text-fill-color: #000;
    width: 90%;
}

input[type="text"]:-webkit-autofill:hover,
input[type="text"]:-webkit-autofill:focus {
    width: 90%;
}

.login-content input {
    all: unset;
    width: 400px;
    height: 24px;
    color: #727272;
    font-size: 20px;
    padding-bottom: 14.5px;
}

.line-input {
    width: 446.5px;
    border-bottom: 1px solid #C2C2C2;
}

.margin-top-40 {
    margin-top: 40px;
}

.login-text {
    font-size: 16px;
    color: #F06D0C;
    margin-top: 9.5px;
}

.d-icon {
    font-size: 24px !important;
    color: #C2C2C2;
}

.input-checkbox {
    margin-top: 5px;
}

input[type="checkbox"] {
    appearance: none;
}

input[type="checkbox"] + label::before {
    border: 1px solid #C2C2C2;
    border-radius: 5px;
    color: transparent;
    content: "\2713";
    display: inline-block;
    background: #F6F6F6;
    height: 20px;
    width: 20px;
    line-height: 20px;
    margin-right: 14px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
}

input[type="checkbox"]:checked + label::before {
    border-color: #F06D0C;
    color: #727272;
}

.buttons {
    margin-top: 40px;
    font-size: 1rem;
    display: grid;
    grid-template-columns: 214px 214px;
    gap: 20px;
}

.button {
    all: unset;
    display: block;
    text-align: center;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
    padding: 16px 20px 15px 20px;
    border-radius: 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.button-gray {
    background-color: #E7E7E7;
}

.button-gray:hover {
    color: inherit;
    background-color: #F6F6F6;
}

.button-orange {
    width: 214px;
    background-color: #F06D0C;
    color: white;
}

.button-orange:hover {
    width: 214px;
    color: white;
    background-color: #F06D0C4D;
}

#btnStart:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

#btnStart {
    transition: opacity 0.3s ease;
}

.line-final {
    margin-top: 32px;
    width: 100%;
    border-bottom: 1px solid #E7E7E7;
}

.login-footer {
    width: 447px;
    margin-top: 20px;
    margin-left: 26px;
    font-size: 20px;
    color: #151D21;
}

.login-footer p {
    font-size: 20px;
}

/** ------------------- End Main ------------------- */

/** ------------------ Start Footer ------------------ */
footer {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
}

/** ------------------- End Footer ------------------- */

/** ------------------ Start Media Query ------------------ */
@media (max-width: 1600px) and (max-height: 750px) {
    .copyright {
        top: 4px;
    }

    .imagotipo {
        left: 8%;
    }

    .login-form {
        top: 3%;
        height: 600px;
    }

    .login-line {
        top: 20px;
    }

    .login-content {
        margin-top: 25px;
    }

    .margin-top-81 {
        margin-top: 40px;
    }

    .button {
        padding: 10px 10px;
    }
}

@media (max-width: 1268px) {
    .login-form {
        left: 30%;
    }

    .imagotipo {
        opacity: 0;
    }
}

@media (max-width: 740px) {
    .login-form {
        left: 50%;
        transform: translateX(-50%);
    }

    .background {
        background-image: url('../imagenes/login/login_completo_2.png');
    }
}

@media (max-width: 570px) {
    .login-form {
        width: 300px;
    }

    .login-input {
        margin-left: 20px;
        width: 190px;
        grid-template-columns: 21px 200px;
    }

    .login-content input {
        width: 190px;
    }

    .line-input {
        width: 230px;
    }

    .login-title {
        font-size: 30px;
    }

    .input-checkbox {
        margin-top: 1px;
    }

    .buttons {
        grid-template-columns: 220px;
        grid-template-rows: 40px 40px;
        margin-top: 20px;
    }

    .login-footer p {
        display: none;
    }

    .line-final {
        display: none;
    }

    .login-footer a {
        margin-top: 0;
        width: 220px;
    }
}

@media (max-height: 500px) {
    .login-form {
        height: 400px;
        overflow-y: auto;
    }
}
/** ------------------ End Media Query ------------------ */