/* Variables */
:root {
    --primary-color: #b079e4;
    --secundary-color: #1e2083;
    --lightBlue-color: #dedfff;
    --lightBlue-colorPlus: #f9f9ff;
    --lightPurple-color: #f8f1ff;
}

html {
    height: 100%;
}

body {
    height: 100%;
    font-family: "Poppins";
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

/* GENERAL */
#container-image {
    /* background: url("/storage/osorio/auth/login/background.png") no-repeat;
    background-size: 100%;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain; */

    /* The image used */
    background-image: url("/storage/osorio/auth/login/background.png");

    /* Full height */
    min-height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

input {
    background-color: var(--lightPurple-color) !important;
}

/* Logo */
#logo {
    height: 20%;
    width: 20%;
}
/* Titulo de formulario */
#login-title {
    color: var(--lightPurple-color);
    font-weight: bold;
}

/* Inputs form */
.input-field.input-outlined > input {
    border-bottom: solid #c0c0c0 1px;
    padding: 16px 16px 0px;
    width: calc(100% - 2.5rem);
    float: none;
    display: block;
    border-radius: 4px 4px 0px 0px;
    transition: box-shadow, border-color 0.15s;
    color: #727272;
}
.input-field.input-outlined > input:focus:not([readonly]) {
    border-bottom: solid var(--primary-color) 2px;
    box-shadow: 0 1px 0 0px var(--primary-color);
    color: black;
}
.input-field.input-outlined > label {
    left: 27px;
    display: inline-flex;
    width: auto !important;
}
.input-field.input-outlined > label.active {
    background: transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    transform: translateY(-1.75rem)!important;
    top: 1rem;
    color: var(--primary-color);
}

label {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 16px !important;
    color: rgba(0, 0, 0, 0.5) !important;
    transform-origin: left top !important;
    user-select: none !important;
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1),
        color 150ms cubic-bezier(0.4, 0, 0.2, 1), top 500ms !important;
    font-size: 16px !important;
    color: #727272 !important;
}

input:focus + label,
input.is-valid + label {
    transform: translateY(-100%) scale(0.75) !important;
    font-weight: bold !important;
    color: var(--primary-color) !important;
}

#passwd {
    margin-bottom: 0px;
}

/* Icons Password */
#passwd i {
    position: absolute;
    top: 30%;
    right: 7%;
    float: right;
}

#icon-show-password {
    color: #c0c0c0;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

#icon-hide-password {
    color: #c0c0c0;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

/* PlaceHolder Inputs */
::placeholder {
    color: var(--primary-color);
}

/* Recuperar password */
#recover-password-button {
    color: var(--lightPurple-color);
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
}

a#recover-password-button:hover {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

#recover-password-text {
    color: #dfdfdf;
    text-decoration: none;
}

/* Login Button */
.login-button {
    width: 60%;
    background-color: var(--lightPurple-color);
    border-radius: 100px;
    text-transform: none;
    color: var(--secundary-color);
    font-weight: bold;
}

a.login-button:hover {
    background-color: var(--secundary-color);
    color: var(--lightPurple-color);
    border-radius: 100px;
    text-transform: none;
    font-weight: bold;
}

/* Entrar como invitado */
#login-guest {
    color: var(--lightPurple-color);
    text-decoration: none;
    font-weight: bold;
}

#login-guest:hover {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Registrarse */
#singup-text {
    color: var(--lightPurple-color);
}

#singup-button {
    color: #ffcf2d;
    text-decoration: none;
    font-weight: bold;
}

a#singup-button:hover {
    color: var(--lightPurple-color);
    text-decoration: none;
    font-weight: bold;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(219, 218, 218);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* SPINNER */
#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: "";
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: var(--primary-color);
    border-top-color: transparent;
    border-width: 2px;
    border-radius: 50%;
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
}

/* SWAL */
.swal2-buttonswrapper {
    color: red;
    padding: 7px 19px;
    border-radius: 2px;
    font-size: 12px;
    /* text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3); */
}

.swal2-popup {
    box-shadow: "none" !important;
    -webkit-box-shadow: 0 0 0 0px red, 0 0 0 0px red;
    color: var(--lightBlue-color);
    font-weight: bold;
    border-radius: 20px;
}

.swal2-popup .swal2-styled:hover {
    box-shadow: "none" !important;
    -webkit-box-shadow: 0 0 0 0px red, 0 0 0 0px red !important;
    font-weight: bold;
    border-radius: 100px;
    width: 50%;
    background-color: var(--secundary-color) !important;
    color: var(--primary-color) !important;
}

.swal2-popup .swal2-styled {
    box-shadow: "none" !important;
    -webkit-box-shadow: 0 0 0 0px red, 0 0 0 0px red !important;
    font-weight: bold;
    border-radius: 100px;
    width: 50%;
    background-color: var(--primary-color) !important;
    color: var(--secundary-color) !important;
}

.did-floating-label-content {
    position: relative;
    margin-bottom: 20px;
}

.did-floating-label {
    color: #908f8f;
    font-size: 13px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 15px;
    top: 11px;
    padding: 0 5px;
    background: #fff;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.did-floating-input,
.did-floating-select {
    display: block;
    width: 100%;
    color: #323840;
    border: 1px solid lightgrey;
    box-sizing: border-box;
    outline-color: #33c162;
    padding: 1rem;
    border-radius: 0.3rem;
    border: 1px solid lightgrey;
    background: white;

    &:focus {
        outline: none;

        .did-floating-label {
            top: -8px;
            font-size: 13px;
        }
    }
}

.did-floating-input,
.did-floating-select:focus {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.did-floating-select::-ms-expand {
    display: none;
}

.did-floating-input:not(:placeholder-shown) ~ .did-floating-label {
    top: -8px;
    font-size: 13px;
}

.did-floating-select:not([value=""]):valid ~ .did-floating-label {
    top: -8px;
    font-size: 13px;
}

.did-floating-select[value=""]:focus ~ .did-floating-label {
    top: 11px;
    font-size: 13px;
}
