:root {
    color-scheme: light;
}

[hidden] {
    display: none !important;
}

body.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(110, 182, 200, 0.18), transparent 38%),
        #20252a;
}

.auth-shell {
    width: min(440px, 100%);
}

.auth-brand {
    margin-bottom: 18px;
    color: #db6128;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.auth-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #cfc6bc;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.auth-card h1 {
    margin: 0 0 8px;
}

.auth-card > p {
    margin: 0 0 22px;
    color: #5e564d;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
}

.auth-form input {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #aaa29a;
    border-radius: 7px;
    font: inherit;
}

.auth-form input:focus {
    outline: 3px solid rgba(110, 182, 200, 0.28);
    border-color: #4d98aa;
}

.auth-primary,
.account-logout {
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.auth-primary {
    padding: 13px 16px;
    background: #db6128;
    color: #ffffff;
}

.auth-primary:disabled {
    cursor: wait;
    opacity: 0.65;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    font-size: 14px;
}

.auth-links a {
    color: #397f90;
}

.auth-message {
    min-height: 20px;
    margin-top: 16px;
    font-size: 14px;
}

.auth-message.error { color: #a32626; }
.auth-message.success { color: #24703a; }

.account-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-left: 16px;
}

.account-identity {
    max-width: 180px;
    overflow: hidden;
    color: #d8e2e5;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-logout {
    padding: 8px 11px;
    background: #454b50;
    color: #ffffff;
}

@media (max-width: 700px) {
    .auth-card { padding: 23px; }
    .account-identity { display: none; }
}

.auth-brand .trademark{margin-left:2px;font-size:.42em;line-height:0;vertical-align:super;letter-spacing:0}
