@charset "UTF-8";

@import url("https://use.typekit.net/mig4uil.css");

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Neue Montreal';
    src: url('../../core/fonts/NeueMontreal-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('../../core/fonts/NeueMontreal-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('../../core/fonts/NeueMontreal-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('../../core/fonts/NeueMontreal-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Rebori';
    src: url('../../core/fonts/Rebori.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --preto-acizentado-recinto: #212121;
    --azul-marinho-recinto: #252f3f;
    --bege-recinto: #E7E0D6;
    --texto-opaco: #8f8f8f;
}

html {
    scroll-behavior: smooth;
}

* {
    font-family: 'Neue Montreal', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--azul-marinho-recinto);
}

.login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 1200px;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    border-radius: 50px;
    padding: 50px;
    box-shadow: 0px 5px 25px 1px rgba(0, 0, 0, 0.199);
    background-color: white;
}

.login-info {
    flex: 1;
    width: 100%;
    height: calc(70vh - 50px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.login-info-logo {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    height: auto;
}

.login-info-logo img {
    width: 100px;
    object-fit: cover;
}

#register-info-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    box-sizing: border-box;
}

#account-info-input{
    display: flex;
}

#login-form{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#profile-form{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.login-info-tittle,
.login-info-input,
.login-info-forget-password {
    display: flex;
    flex-direction: column;
}

.login-info-tittle {
    gap: 20px;
}

.login-info-input {
    gap: 30px;
}

.login-info-tittle h2 {
    font-size: clamp(18pt, 4vw, 24pt);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--preto-acizentado-recinto);
}

.login-info-tittle span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: clamp(10pt, 2vw, 12pt);
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--texto-opaco);
}

.login-info-tittle span a {
    font-size: clamp(8pt, 2vw, 10pt);
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--preto-acizentado-recinto);
    position: relative;
}

.login-info-tittle span a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--preto-acizentado-recinto);
    transition: width .4s ease;
}

.login-info-tittle span a:hover::after {
    width: 100%;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--texto-opaco);
    cursor: pointer;
    transition: color 0.3s;
}

.input-wrapper i:hover {
    color: var(--preto-acizentado-recinto);
}


.input-wrapper input {
    width: 100%;
    padding: 5px;
    border: none;
    border-bottom: 2px solid var(--texto-opaco);
    outline: none;
    font-size: clamp(10pt, 2vw, 12pt);
    background-color: transparent;
    color: var(--preto-acizentado-recinto);
    padding-left: 5px;
}

.input-wrapper label {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(8pt, 2vw, 10pt);
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--texto-opaco);
    pointer-events: none;
    transition: all 0.3s ease;
}

input:focus,
input:not(:placeholder-shown) {
    border-bottom: 2px solid var(--preto-acizentado-recinto);
}

input:focus+label,
input:not(:placeholder-shown)+label {
    top: -10px;
    font-size: clamp(8pt, 2vw, 10pt);
    color: var(--preto-acizentado-recinto);
}

input::placeholder {
    color: transparent;
}

.login-info-input button {
    grid-column: span 2;
    cursor: pointer;
    border: none;
    background-color: var(--azul-marinho-recinto);
    color: white;
    padding: 10px;
    font-size: clamp(10pt, 2vw, 12pt);
    letter-spacing: 1px;
}

.login-info-forget-password {
    gap: 5px;
}

.login-info-forget-password span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(10pt, 2vw, 12pt);
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--texto-opaco);
}

#register-info-forget-password span {
    justify-content: center;
}

.login-info-forget-password a {
    width: max-content;
    font-size: clamp(8pt, 2vw, 10pt);
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--preto-acizentado-recinto);
    position: relative;
}

.login-info-forget-password a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--preto-acizentado-recinto);
    transition: width .4s ease;
}

.login-info-forget-password a:hover::after {
    width: 100%;
}

.login-slide {
    border-radius: 30px;
    background-color: var(--bege-recinto);
    flex: 1;
    max-width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 500px;
    height: calc(70vh - 50px);
}

.login-slide-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

.login-slide-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-slide-container.active {
    opacity: 1;
}

.login-slide-dots {
    border-radius: 20px;
    background-color: white;
    padding: 5px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--texto-opaco);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--preto-acizentado-recinto);
}

#forget-password-container {
    min-height: 300px;
    max-height: 50vh;
    max-width: 500px;
    padding: 30px;
    gap: none;
}

#forget-password-info {
    height: 25vh;
    gap: 30px;
    justify-content: space-around;
    max-width: none;
    width: 100%;
}

#spam-msg {
    text-align: center;
    align-content: center;
    justify-content: center;
}

#spam-msg h2 {
    font-size: clamp(14pt, 4vw, 20pt);
}

#spam-msg span {
    display: block;
    color: orangered;
    text-transform: uppercase;
}

.input-wrapper select {
    cursor: pointer;
    width: 100%;
    padding: 5px;
    border: none;
    border-bottom: 2px solid var(--texto-opaco);
    outline: none;
    font-size: clamp(10pt, 2vw, 12pt);
    background-color: transparent;
    color: var(--texto-opaco);
    appearance: none;
}

.input-wrapper select:focus {
    border-bottom: 2px solid var(--preto-acizentado-recinto);
    color: var(--preto-acizentado-recinto);
}

.input-wrapper select+label {
    position: absolute;
    left: 5px;
    top: -10px;
    font-size: clamp(8pt, 2vw, 10pt);
    color: var(--texto-opaco);
}

option {
    cursor: pointer;
}

input:disabled {
    cursor: not-allowed;
}

#account-container {
    min-height: 65vh;
    max-width: 900px;
}

#account-info-input span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--azul-marinho-recinto);
    color: white;
    width: 100%;
    padding: 5px;
    grid-column: span 2;
}

#account-info {
    max-height: calc(40vh - 50px);
}

/* #input-name{
    grid-column: span 2;
} */

#profile-info-forget-password{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(10pt, 2vw, 12pt);
    grid-column: span 2;
}

.error span{
    color: orangered !important;
    font-size: clamp(8pt, 2vw, 10pt);
}

.loyalty-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    grid-column: span 2;
}

#complete-star{
    font-size: 20pt;
    color: gold;
}

#no-complete-star{
    font-size: 20pt;
    color: rgb(184, 184, 184);
}

@media (max-width: 478px) {

    #register-container,
    #account-container {
        height: 95vh;
    }

    .login-container {
        width: 90%;
        height: 80vh;
        flex-direction: column;
        gap: 0;
    }

    #register-info,
    #account-info {
        max-height: 90vh;
    }

    .login-info {
        width: 100%;
        max-width: none;
        max-height: 65vh;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .login-slide {
        display: none;
    }

    #register-info-input,
    #account-info-input {
        display: flex;
    }

    #account-info-input {
        overflow-y: scroll;
    }

    #profile-form{
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 478px) and (max-width: 850px) {
    #account-container {
        height: 60vh;
    }

    .login-container {
        width: 90%;
        height: 90vh;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .login-info {
        width: 90%;
        max-width: none;
        height: 60vh;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .login-slide {
        border-radius: 30px;
        background-color: var(--bege-recinto);
        max-width: none;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        width: 90%;
        max-height: 30vh;
    }
}

@media (max-height: 700px) and (max-width: 850px) {
    .login-slide {
        display: none;
    }
}

@media (max-height: 800px) {
    #account-info-input {
        overflow-y: scroll;
    }
}
