﻿/* ========================= RESET ========================= */
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body.login {
    transition: opacity 0.2s ease;
}

.fade-out {
    opacity: 0.7;
}

/* ========================= FONDOS ========================= */
.FondoLogin {
    background-image: url('../img/Fondo_LexServices.png');
    background-attachment: fixed;
    background-size: cover;
}

.FondoInicio {
    background-image: url('../img/Fondo_LexServices.png');
    background-attachment: fixed;
    background-size: cover;
}

/* ========================= FORM LOGIN ========================= */
.form {
    background: rgba(255, 255, 255, .90);
    margin: auto;
    margin-top: 2rem;
    width: 90%;
    max-width: 350px;
    padding: 1.5em 3em;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12), 0 5px 15px rgba(42,111,184,0.10);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form_title {
    font-size: 1.5rem;
    margin-bottom: .5em;
    position: relative;
}

.form_container {
    margin-top: 1em;
    display: grid;
    gap: 2.5em;
}

.form_group {
    position: relative;
    --color: #0000007e;
}

.form_input {
    width: 100%;
    background: #e2e8f0 !important;
    color: #000000;
    font-size: 1rem;
    font-family: Roboto;
    padding: .6em .3em;
    border: none;
    outline: none;
    border-bottom: 1px solid var(--color);
    transition: border-color 0.2s ease;
}

    .form_input:focus {
        border-bottom: 1px solid #2563eb;
    }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #e2e8f0 inset !important;
    -webkit-text-fill-color: #000000 !important;
    transition: background-color 9999s ease-in-out 0s;
}

.form_label {
    color: var(--color);
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 5px;
    font-size: 12pt;
    transform: translateY(10px);
    transition: transform .5s, color .3s;
}

.form_line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(22,71,115);
    transform: scale(0);
    transform: left bottom;
    transition: transform .4s;
}

.form_submit {
    background: linear-gradient(to bottom, #1B5796 0%, #2A6FB8 100%);
    box-shadow: 0 4px 10px rgba(42,111,184,0.3);
    transition: all 0.2s ease;
    color: #ffffff;
    font-weight: 350;
    font-size: 1rem;
    font-family: Roboto;
    padding: .8em 0;
    border: none;
    border-radius: .5em;
}

    .form_submit:hover {
        background-color: #1f5c9a;
        transform: translateY(-1px);
    }

    .form_submit:active {
        transform: translateY(1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

.form_input:focus + .form_label,
.form_input:not(:placeholder-shown) + .form_label {
    transform: translateY(-12px) scale(.7);
    transform-origin: left top;
    color: rgb(22,71,115);
}

.form_input:focus ~ .form_line,
.form_input:not(:placeholder-shown) ~ .form_line {
    transform: scale(1);
}

.form_input:focus,
.form_input:not(:placeholder-shown) {
    color: #000000;
}

.provision {
    padding-top: 30px;
}

/* ========================= LINKS ========================= */
a:not([href]):not([tabindex]) {
    text-decoration: underline;
    color: #045cad;
}

/* ========================= BOTONES ========================= */
.botones {
    background: rgb(22,71,115);
    border-radius: 6px;
    color: white !important;
    text-align: center;
}

    .botones:active {
        transform: translateY(1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .botones:hover {
        background-color: #1f5c9a;
        transform: translateY(-1px);
    }


.botonesHover {
    background-color: #1f5c9a;
    transform: translateY(-1px);
    color: rgb(128,128,128) !important;
}



/* ========================= FOOTER ========================= */
footer {
    background: rgb(224,224,224);
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 30px;
    text-align: center;
}

#Avisos {
    margin-left: 82%;
}

/* ========================= UTILIDADES ========================= */
.borde {
    border-radius: 5px;
}

/* BORDE REDONDEADO PARA LOS POPUPS */
.dxpclW .dxpc-mainDiv {
    border-radius: 8px !important;
}
