/* Importação das regras de fonte que definimos anteriormente */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
}

@font-face {
    font-family: 'Hind';
    src: url('../fonts/Hind-Regular.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Hind';
    src: url('../fonts/Hind-Medium.woff2') format('woff2');
    font-weight: 500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Hind', sans-serif;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* --- LADO ESQUERDO: DESTAQUE --- */
.login-left {
    flex: 1.2; /* Um pouco maior que o lado direito no Desktop */
    background: linear-gradient(135deg, rgba(25, 27, 28, 0.9), rgba(25, 27, 28, 0.7)), 
                url('../img/bg-login.jpg'); /* Aqui você coloca sua imagem futuramente */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: #fff;
}

.left-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.left-content p {
    font-size: 1.2rem;
    max-width: 500px;
    opacity: 0.9;
    font-weight: 400;
}

/* --- LADO DIREITO: FORMULÁRIO --- */
.login-right {
    flex: 0.8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.row-form {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.row-form img {
    max-width: 150px;
    margin-bottom: 30px;
}

.row-form h2 {
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
    margin-bottom: 5px;
}

.row-form h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #191B1C;
    margin-bottom: 40px;
}

/* --- INPUTS E BOTÃO --- */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="email"], 
input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Hind', sans-serif;
    font-size: 16px;
    background: #fafafa;
    transition: 0.3s;
	margin-bottom: 16px;
}

input:focus {
    border-color: #191B1C;
    outline: none;
    background: #fff;
}

button {
    background: #191B1C; /* Cor padrão do seu menu lateral */
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

button:hover {
    background: #333;
    transform: translateY(-2px);
}


.alert-error {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fde8e8; /* Vermelho muito claro */
    color: #c81e1e; /* Vermelho escuro para contraste */
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #f8b4b4;
    margin-bottom: 20px;
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    font-weight: 500;
    animation: fadeInDown 0.3s ease-out;
}

.alert-error i {
    font-size: 18px;
}

/* Animação suave para a mensagem aparecer */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 1024px) {
    .login-left {
        display: none; /* Esconde a lateral esquerda no mobile conforme pedido */
    }

    .login-right {
        flex: 1;
        background: #f5f5f5;
    }

    .row-form {
        background: #fff;
        padding: 40px 30px;
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }
}