@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body,
html {
    margin: 0;
    padding: 0;
}

.bg-login {
    background: url('assets/background-01.png') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #fff;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 2rem;
}

.login-box {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.0rem;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    /* Sombreamento de borda do Login */
    width: 100%;
    max-width: 450px;
}

.logo img {
    max-width: 190px;
    /* limita lateralmente */
    width: 100%;
    /* responsivo dentro do limite */
    height: auto;
    /* altura automática — mostra tudo */
    object-fit: contain;
    /* preserva toda a imagem sem corte */
    border-radius: 0.5rem;
    display: block;
    margin: 0 auto 1.5rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 0.6rem;
    outline: none;
}

input::placeholder {
    color: #aaa;
}

button {
    background: #fff;
    color: #111;
    font-weight: 600;
    padding: 0.8rem 1rem;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

button:hover {
    background: #ddd;
}

.password-field {
    position: relative;
}

.password-field input {
    width: 100%;
}

.toggle-senha {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    color: #aaa;
}

.links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.links a {
    color: #aaa;
    text-decoration: none;
}

.links a:hover {
    color: #fff;
    text-decoration: underline;
}

.side-text {
    display: none;
}

@media screen and (min-width: 1024px) {
    .side-text {
        display: flex;
        align-items: center;
        width: 50%;
    }

    .side-text h1 {
        font-size: 4rem;
        font-weight: 700;
        line-height: 1.2;
    }
}

/* Animações */
@keyframes blurFadeIn {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: scale(0.98);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

@keyframes fadeInBlur {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.animate-blur-fade-in {
    animation: blurFadeIn 0.8s ease-out forwards;
}

.animate-fade-in-blur {
    animation: fadeInBlur 1s ease-out forwards;
}

.erro {
    background-color: #ff4d4f;
    color: white;
    padding: 0.8rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}