@import 'global.css';

/* Login, registo, recuperação de senha. Cores e botões vêm de theme.css. */
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card {
    width: 100%;
    max-width: 420px;
    padding: 40px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logo { width: 80px; height: auto; margin-bottom: 4px; }
h1 { text-align: center; }

.card-desc {
    font-size: 14px;
    text-align: center;
    line-height: 1.43;
    margin: -2px 0 4px;
    max-width: 290px;
}

input { width: 100%; outline: none; -webkit-appearance: none; appearance: none; transition: border-color 0.15s, box-shadow 0.15s; }

button {
    width: 100%;
    cursor: pointer;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
button:not(.link-esqueci) { margin-top: 4px; }

.link-esqueci {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

@media (max-width: 480px) {
    body { padding: 14px; }
    .card { padding: 32px 18px 24px; }
    h1 { font-size: 24px; }
    input { font-size: 16px; }
}
