* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', sans-serif; 
}

body {
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.header-bg {
    background-color: #00a859;
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-bottom-left-radius: 50% 15%;
    border-bottom-right-radius: 50% 15%;
    margin-bottom: -80px;
}

.header-bg h1 { 
    font-size: 2.5rem; 
}

.login-card {
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    z-index: 10;
}

input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

/* =======================================================
   ALTERADO: Botão agora tem fundo branco e borda verde
   ======================================================= */
.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #ffffff;    /* Fundo mudou para branco */
    color: #00a859;               /* Texto mudou para verde */
    border: 2px solid #00a859;    /* Adicionada a borda verde */
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

/* Efeito ao passar o mouse: inverte as cores (opcional, mas fica ótimo) */
.btn-submit:hover { 
    background-color: #00a859; 
    color: #ffffff;
}

.error-msg { 
    color: #d93025; 
    margin-bottom: 15px; 
    font-size: 0.9rem; 
}

/* =======================================================
   ALTERADO: Ajustes no link inferior para bater com o login
   ======================================================= */
.back-link { 
    margin-top: 20px; 
    display: block; 
    color: #666; 
    text-decoration: none; 
    font-size: 0.9rem; 
}

/* Garante que o link "Cadastre-se aqui" / "Faça Login" fique verde e em negrito */
.back-link a, .back-link b { 
    color: #00a859; 
    font-weight: bold;
    text-decoration: none;
}

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