/*
 * Auth-service hosted account forms styling.
 *
 * TODO(ops): Replace this placeholder with a one-shot snapshot of the
 * branding CSS + image assets from zipliens_app. Until that snapshot
 * lands, these neutral defaults give the hosted forms a usable look
 * without claiming the production ZipLiens visual identity.
 */

:root {
    --account-bg: #f7f8fb;
    --account-card-bg: #ffffff;
    --account-text: #1a2230;
    --account-muted: #5b5e67;
    --account-accent: #3980a9;
    --account-accent-dark: #005b6a;
    --account-error: #b3261e;
    --account-border: #d7dbe3;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--account-bg);
    color: var(--account-text);
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

.account-shell {
    max-width: 480px;
    margin: 48px auto;
    padding: 0 16px;
}

.account-header {
    text-align: center;
    margin-bottom: 24px;
}

.account-header h1 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--account-accent-dark);
}

.account-card {
    background-color: var(--account-card-bg);
    border: 1px solid var(--account-border);
    border-radius: 6px;
    padding: 32px 28px;
}

.account-card h2 {
    margin: 0 0 16px 0;
    font-size: 1.2rem;
}

.account-card p {
    margin: 0 0 16px 0;
    color: var(--account-muted);
}

.account-form .form-row {
    margin-bottom: 16px;
}

.account-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--account-border);
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
    color: var(--account-text);
}

.account-form input:focus {
    outline: 2px solid var(--account-accent);
    outline-offset: 1px;
}

.account-form .errorlist {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
    color: var(--account-error);
    font-size: 0.85rem;
}

.account-form .nonfield-errors {
    margin-bottom: 16px;
    color: var(--account-error);
    font-size: 0.9rem;
}

.account-form .help-text {
    color: var(--account-muted);
    font-size: 0.8rem;
    margin-top: 4px;
}

.account-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.account-button {
    background-color: var(--account-accent-dark);
    color: #fff;
    border: 1px solid var(--account-accent-dark);
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
}

.account-button:hover {
    background-color: var(--account-accent);
    border-color: var(--account-accent);
}

.account-messages {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.account-message {
    background-color: #eef5fb;
    border: 1px solid #cce0ee;
    color: var(--account-text);
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.account-message--success {
    background-color: #ecf7ec;
    border-color: #c6e3c6;
}

.account-message--error {
    background-color: #fbecec;
    border-color: #e8c4c4;
}

.account-footer {
    text-align: center;
    color: var(--account-muted);
    font-size: 0.8rem;
    margin-top: 32px;
}
