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

/* GENERAL */
body {
    height: 100% !important;

    font-family: "Poppins";

    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;

    background: url("/storage/osorio/auth/forgot/background6.png") no-repeat
        center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Logo */
#logo {
    height: 30%;
    width: 30%;
}

/* ICON BACK */

#icon-back {
    position: absolute;
    top: 6%;
    left: 3%;
    float: left;
    color: white;
    font-size: 48px;
}

#icon-back:hover {
    cursor: pointer;
}

/* Card */
.card {
    border-radius: 20px;
}

.content-card {
    margin-left: 5%;
    margin-right: 5%;
}

/* Inputs form */
input {
    background-color: var(--lightPurple-color) !important;
}

.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: 10px 10px 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);
    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;
}

.forget-button {
    width: 50%;
    background-color: var(--secundary-color);
    border-radius: 100px;
    text-transform: none;
    color: var(--lightPurple-color);
    font-weight: bold;
}

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

/* DESCRIPTION */
.description {
    color: #727272 !important;
}

/* 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 {
    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(--lightPurple-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;
}
