.auth-container {
    padding: 30px 40px;
    max-width: 400px;
    /* As propriedades de fundo, sombra e largura base vêm de .card-container */
}

h2 {
    margin-bottom: 25px;
    /* Estilos base de h2 vêm de common.css */
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 400;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 700;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-google {
    background-color: #db4437;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px;
    font-size: 1em;
}

.btn-google img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.btn-google:hover {
    background-color: #c0392b;
}

.link-text {
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}

.link-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.link-text a:hover {
    text-decoration: underline;
}

/* Oculta formulários por padrão, JavaScript irá controlar a visibilidade */
.auth-form {
    display: none;
}

/* Exibe o formulário ativo */
.auth-form.active {
    display: block;
}

/* Mensagens de erro/sucesso */
.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9em;
    text-align: left;
    display: none;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* RESPONSIVIDADE */
@media (max-width: 600px) {
    /* Estilos responsivos de container e h2 agora estão em common.css */

    .btn {
        padding: 10px;
        font-size: 1em;
    }
}
