body {
    width: 100%;
    height: 100vh;
    background-color: rgba(var(--primary-color), 0.2);
}

form {
    width: 350px;
    height: 500px;

    position: relative;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    overflow: hidden;

    border-radius: 3px;

    background: var(--gradient-color-1);

    background: linear-gradient(
        0deg,
        var(--gradient-color-1) 0%,
        var(--gradient-color-2) 100%
    );

    background: -moz-linear-gradient(
        0deg,
        var(--gradient-color-1) 0%,
        var(--gradient-color-2) 100%
    );

    background: -webkit-linear-gradient(
        0deg,
        var(--gradient-color-1) 0%,
        var(--gradient-color-2) 100%
    );

    filter: progid: DXImageTransform.Microsoft.gradient(
        startColorstr=var(--gradient-color-1),
         endColorstr=var(--gradient-color-2), 
         GradientType=1 );

    -webkit-box-shadow: 0px 5px 5px 0px rgba(143, 143, 143, 0.15);
    -moz-box-shadow: 0px 5px 5px 0px rgba(143, 143, 143, 0.15);
    box-shadow: 0px 5px 5px 0px rgba(143, 143, 143, 0.15);
}

.title {
    width: fit-content;
    height: auto;

    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

.title h1,
.title h2 {
    text-transform: uppercase;
    color: rgba(var(--primary-color));
}

.loading-screen {
    width: 100%;
    height: 100%;

    display: none;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;

    background-color: rgba(128, 128, 128, 0.2);
}

.square {
    width: 45rem;
    height: 45rem;

    position: absolute;
    top: 0;
    left: -60%;
    z-index: 2;

    transform: rotate(40deg);

    border-radius: 25px;

    background-color: white;

    -webkit-box-shadow: inset 5px 5px 5px 5px rgba(143, 143, 143, 0.2);
    -moz-box-shadow: inset 5px 5px 5px 5px rgba(143, 143, 143, 0.2);
    box-shadow: inset 5px 5px 5px rgba(143, 143, 143, 0.2);
}
.square-2 {
    width: 45rem;
    height: 45rem;

    position: absolute;
    top: 0;
    left: -50%;
    z-index: 1;

    transform: rotate(-53deg);

    border-radius: 25px;

    background: var(--gradient-color-1);

    background: linear-gradient(
        90deg,
        var(--gradient-color-1) 0%,
        var(--gradient-color-3) 100%
    );

    background: -moz-linear-gradient(
        90deg,
        var(--gradient-color-1) 0%,
        var(--gradient-color-3) 100%
    );

    background: -webkit-linear-gradient(
        90deg,
        var(--gradient-color-1) 0%,
        var(--gradient-color-3) 100%
    );

    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#008080", endColorstr="#60efff", GradientType=1 );

    -webkit-box-shadow: 5px 5px 5px 5px rgba(143, 143, 143, 0.15);
    -moz-box-shadow: 5px 5px 5px 5px rgba(143, 143, 143, 0.15);
    box-shadow: 5px 5px 5px 5px rgba(143, 143, 143, 0.15);
}

.school-logo-holder {
    width: 50px;
    height: 50px;

    position: absolute;
    bottom: 20px;
    right: 30px;

    padding: 10px;
    border-radius: 100%;

    background-color: white;
}

.school-logo {
    width: 100%;
}

.inputs-container {
    width: fit-content;
    min-width: 180px;
    height: auto;

    display: flex;
    flex-direction: column;
    gap: 10px;

    position: absolute;
    top: 45%;
    left: 20px;

    transform: translateY(-50%);
    z-index: 3;
}

.inputs-container .input-holder {
    width: 100%;
    height: 30px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding-left: 2px;

    border-bottom: 1px solid rgba(var(--primary-color));
}
.inputs-container .input-holder i {
    font-size: 1.5rem;
    color: rgba(var(--primary-color));
}

.inputs-container .input-holder input {
    border: none;
    outline: none;
    min-width: 100px;
}

.inputs-container .input-holder input::placeholder {
    font-size: 1.3rem;
    color: rgba(var(--primary-color), 0.5);
}

/* Remove autocomplete dropdown highlight */
.inputs-container .input-holder input:-webkit-autofill,
.inputs-container .input-holder input:-webkit-autofill:hover,
.inputs-container .input-holder input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    /* You can change 'white' to the background color of your input */
    /* This large box shadow effectively hides the autocomplete dropdown */
}

.inputs-container .input-holder .show-password-btn {
    width: 25px;
    height: fit-content;

    position: absolute;
    right: 0;
}
.inputs-container .input-holder .show-password-btn:hover {
    cursor: pointer;
    color: rgb(var(--primary-color-hover));
}

.buttons-holder {
    width: 100%;
    height: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 10px;
}

.buttons-holder .login-btn {
    width: fit-content;
    height: auto;

    padding: 7px 15px;

    border: none;
    border-radius: 5px;

    background-color: rgba(var(--primary-color));

    text-transform: uppercase;
    font-size: 1rem;
    color: white;
    transition-duration: 0.5s;
}

.buttons-holder .login-btn:hover {
    cursor: pointer;
    background-color: rgb(var(--primary-color-hover));
}

.buttons-holder .remember-me {
    width: fit-content;
    height: auto;

    display: flex;
    align-items: center;
    gap: 5px;
}

/* ------------------------ Checkbox ------------------------ */
.cyberpunk-checkbox {
    appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(var(--primary-color));
    border-radius: 5px;
    background-color: transparent;
    display: inline-block;
    position: relative;
    margin-right: 5px;
    cursor: pointer;
}

.cyberpunk-checkbox:before {
    content: "";
    background-color: rgba(var(--primary-color));
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.cyberpunk-checkbox:checked:before {
    transform: translate(-50%, -50%) scale(1);
}

.cyberpunk-checkbox-label {
    font-size: 1rem;
    color: rgba(var(--primary-color));
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    text-transform: capitalize;
}
/* ----------------------------------------- */

.forgot-password {
    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;

    margin-top: 20px;
}

.forgot-password a {
    text-transform: capitalize;
    color: rgba(var(--primary-color));
}

.forgot-password a:hover {
    color: rgb(var(--primary-color-hover));
}

.inputs-container .input-holder.input-error {
    border-color: #f23a3c;
}

.inputs-container .input-holder.input-error i,
.inputs-container .input-holder.input-error input::placeholder,
.error-message {
    color: #f23a3c;
}

.error-message {
    display: none;
}

/* loading */

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
