/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, system-ui, -apple-system, sans-serif;
}

body {
    min-height: 100vh;
    background: #f6f7f9; /* off-white moderno */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wrapper geral */
.auth-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 24px;
}

/* Logo */
.auth-header {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.auth-header img {
    height: 48px;
    object-fit: contain;
}

/* Conteúdo (login / register) */
.auth-content h1 {
    font-size: 28px;
    margin-bottom: 24px;
    font-weight: 600;
}

/* Inputs */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #111;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    background: #fff;
}

.input-group input:focus {
    outline: none;
    border-color: #2b1fc7;
}

/* Botão */
.login-button {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    background: #2b1fc7;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
}

.login-button:hover {
    background: #2418a8;
}

/* Texto inferior */
.signup-text {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
}

.signup-text a {
    color: #2b1fc7;
    text-decoration: none;
    font-weight: 500;
}


.error-text {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}
input.is-invalid {
    border: 2px solid #ff4d4d;
}

/* Erro específico abaixo dos campos */
.error-text {
    color: #e74c3c; /* Vermelho vibrante mas elegante */
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

/* Alerta geral (quando erra o login completo) */
.alert-danger {
    background-color: #fdeaea;
    color: #c0392b;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #fadbd8;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.input-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.input-group input {
    width: 100%;
    /* Seus estilos de padding e border aqui */
    transition: border-color 0.3s ease;
}

/* Container do link inferior */
.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #666; /* Cor do texto "Don't have an account?" */
}

/* O link em si */
.auth-footer a {
    color: #2b1fc7;      /* Mesma cor do seu botão */
    text-decoration: none; /* Remove o sublinhado */
    font-weight: 600;    /* Deixa o link um pouco mais grosso para destacar */
    transition: all 0.3s ease;
    padding: 2px 4px;    /* Área de clique um pouco maior */
}

/* Efeito ao passar o mouse */
.auth-footer a:hover {
    color: #1a1280;      /* Escurece levemente */
    text-decoration: underline; /* Opcional: volta o sublinhado só no hover para dar feedback */
}



/* Se quiser colocar uma borda no botão
/* .auth-footer a {
    color: #2b1fc7;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #2b1fc7;
    padding: 6px 12px;
    border-radius: 8px;
    margin-left: 5px;
}

.auth-footer a:hover {
    background: #f0efff; /* Fundo azul bem clarinho no hover
}