﻿:root {
    --primary-color: #3d227f;
    --secondary-color: #6959CD;
    --background-color: #ffffff;
    --background-wrapper-color: #f0f0f0;
    --border-color: #e6d2fe;
    --text-color: #666666;
    --link-color: #e6d2fe;
    --link-hover-color: #6959CD;
}

html {
    height: 100vh;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.container-principal,
.container-principal > .row {
    height: 100%;
}

.login-box {
    background-color: var(--background-color);
    opacity: 0.9;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 20px;
    opacity: 1;
    width: 80%;
    max-width: 410px;
    margin-left: auto;
    margin-right: auto;
    transition: opacity ease-in-out .2s;
    height: 60%;
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-box-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
}
.text-danger {
    position: relative;
    bottom: 4vh;
}

ul {
    position: absolute;
    width: 100%;
    bottom: -6vh;
}

.background-wrapper {
    position: absolute;
    top: 15%;
    transform: translate(0%, 10%);
    width: 30vw;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-image {
    max-width: 100%;
    max-height: 100%;
}

.list-group-item-action {
    width: 83%;
    color: #495057;
    text-align: inherit;
    left: 34px;
}

.login-box input[type="text"],
.login-box input[type="email"],
.login-box input[type="password"] {
    border-radius: 40px;
    border: 2px solid var(--primary-color);
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    height: 7vh;
    text-indent: 20px;
}

    .login-box input[type="text"]:not(:focus),
    .login-box input[type="email"]:not(:focus),
    .login-box input[type="password"]:not(:focus) {
        border: 2px solid var(--primary-color);
        background-color: var(--background-wrapper-color);
    }

    .login-box input[type="text"]:focus,
    .login-box input[type="email"]:focus
    .login-box input[type="password"]:focus {
        border: 2px solid var(--primary-color);
        background-color: var(--background-color);
        outline: none;
    }

    .login-box input[type="text"]::placeholder,
    .login-box input[type="email"]::placeholder,
    .login-box input[type="password"]::placeholder {
        text-indent: 20px;
        color: #999999;
    }

.password-toggle-icon {
    position: absolute;
    right: 3vw;
    transform: translate(-95%, -177%);
    cursor: pointer;
}

    .password-toggle-icon i {
        font-size: 25px;
    }

    .password-toggle-icon.active i {
        color: var(--secondary-color);
    }

    .password-toggle-icon.visible {
        right: 30px;
    }

.login-box .LoginUsuario {
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 40px;
    height: 7vh;
    position: relative;
    font-weight: bold;
    top: 2vh;
}

.esqueci-senha-link {
    display: block;
    text-align: center;
    color: var(--link-hover-color);
    text-decoration: none;
    position: relative;
    top: 19vh;
}

.login-box .esqueci-senha-link:hover {
    text-decoration: underline;
}

.tituloLogin {
    font-weight: lighter;
    font-size: x-large;
    margin-top: 6vh;
    position: relative;
    bottom: 7vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.mensagem-erro {
    margin-left: 8vw;
}

.textSoou {
    position: absolute;
    top: 93%;
    left: 50%;
    transform: translate(-40%, -50%);
}

.semConta,
.gratis {
    color: var(--text-color);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sanstitul-serif;
}

.semConta {
    cursor: default;
}

.gratis {
    font-weight: bold;
    text-decoration: none !important;
    position: relative;
    bottom: 1vh;
}

.form-group {
    position: relative;
    top: 2vh;
}

.stars-container {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--background-color);
    overflow: hidden;
}

.galaxy {
    position: absolute;
    bottom: -205px;
    right: -550px;
    width: calc(100% + 100px);
    height: calc(90% + 900px);
    background: radial-gradient(ellipse at right, rgba(100, 120, 233, 0.9) 0%, #ffff 50%), url('../../Imagens/estrelas.png');
    background-blend-mode: lighten;
    opacity: 0.9;
    transform: rotate(45deg);
    border-radius: 50%;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    opacity: 0.8;
    animation: twinkle 1s infinite;
    box-shadow: inset 1px 1px 1px rgba(138, 5, 233, 0.8);
}
.pull-left {
    color: var(--link-hover-color);
    position: absolute;
    top: 66%;
    transform: translate(-50%, 50%);
}
@keyframes stars {
    0%, 100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 100%, center;
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.dirt {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 70%;
    background: url('../../Imagens/pontos.png');
    background-blend-mode: difference;
    background-position: center bottom 5%;
}

    .dirt::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        opacity: 0.97;
    }

/* Media Queries */

@media screen and (max-width: 480px) {
    .background-wrapper {
        top: 3%;
        width: 70vw;
    }

    .login-box {
        width: 93%;
        top: 52vh;
        height: 70%;
    }

    .list-group-item {
        padding: 0.25rem 0.5rem;
        flex: 0 0 calc(50% - 5px);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        bottom: 3vh;
    }

    .list-group-item-action {
        width: auto;
        left: 2%;
    }

    ul {
        bottom: -11vh;
    }

    .esqueci-senha-link {
        top: 12vh;
    }
}

@media screen and (min-width: 481px) and (max-width: 767px) {
    .background-wrapper {
        top: 4%;
        width: 53vw;
    }

    .login-box {
        width: 90%;
        top: 56vh;
        height: 68%;
    }

    .list-group-item {
        padding: 0.25rem 0.5rem;
        flex: 0 0 calc(50% - 5px);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        bottom: 3vh;
    }

    .form-group {
        top: 3.5vh;
    }

    .login-box .LoginUsuario {
        top: 4vh;
    }

    ul {
        bottom: -11vh;
    }

    .password-toggle-icon {
        transform: translate(-25%, -177%);
    }

    .textSoou {
        top: 95%;
    }

    .esqueci-senha-link {
        top: 18vh;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .background-wrapper {
        top: 10%;
        width: 60vw;
    }
    .login-box {
        height: 65%;
       
    }

    .list-group-item {
        padding: 0.25rem 0.5rem;
        flex: 0 0 calc(50% - 5px);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        bottom: 3vh;
    }

    ul {
        bottom: -11vh;
    }

    .esqueci-senha-link {
        top: 19vh;
    }

    .textSoou {
        top: 95%;
    }

    .password-toggle-icon {
        transform: translate(-7%, -177%);
    }

}

@media screen and (min-width: 1024px) and (max-width: 1536px) {
    .background-wrapper {
        top: 9%;
        width: 25vw;
    }

    .login-box {
        height: 64%;
        top: 56vh;
    }

    .list-group-item {
        padding: 0.25rem 0.5rem;
        flex: 0 0 calc(50% - 5px);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        bottom: 5vh;
    }

    ul {
        bottom: -11vh;
    }

    .password-toggle-icon {
        transform: translate(60%, -177%);
    }

    .textSoou {
        top: 95%;
    }
}

@media screen and (min-width: 1537px) and (max-width: 1920px) {
    .password-toggle-icon {
        transform: translate(90%, -202%);
    }
}
