/* ── login page ─────────────────────────────────────────────────────────── */

/* Centered card used by activation_failed, account_pending, login_failed, etc. */
.login-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
}

.login-card {
    background: #faf6f0;
    border: 1px solid #c4a882;
    border-radius: 8px;
    padding: 32px 36px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.login-card h2 {
    color: #5d4e37;
    margin-bottom: 12px;
}

.login-subtitle {
    color: #495057;
    margin-bottom: 20px;
}

/* Pending account screen */
.pending-body {
    color: #495057;
    font-size: 0.95rem;
    margin: 16px 0 20px;
}

.pending-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.pending-back {
    margin-top: 16px;
    font-size: 0.9rem;
}

.pending-back a {
    color: #8b7355;
    text-decoration: none;
}

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

.email-check-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 4px;
    margin-bottom: 0;
}

.email-check-error--hidden {
    display: none;
}

.signup-email-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 4px;
    margin-bottom: 0;
}

.signup-email-error--hidden {
    display: none;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

/* type="email" inputs are not auto-converted by Kendo, so they need manual
   styling to match the Kendo-themed dropdown and button on the same form. */
#loginform input[type="email"],
#betaform input[type="email"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    color: #333;
    font-size: 1rem;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 6px;
}

#loginform input[type="email"]:focus,
#betaform input[type="email"]:focus {
    border-color: #8b7355;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.25);
}

/* ── Login/Signup step tabs (replaces kendoStepper) ─────────────────────── */

.login-step {
    cursor: pointer;
}

.login-panel-hidden {
    display: none;
}
