.auth-card {
    max-width: 360px;
    margin: 3rem auto;
    padding: 2rem 1.75rem 1.75rem;
    background: #fff;
    border: 1px solid #e3e5e8;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-card h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 500;
    text-align: center;
    color: #2a2a2a;
}

.auth-card p.auth-sub {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-field label {
    font-size: 0.85rem;
    color: #555;
}

.auth-field input[type="email"],
.auth-field input[type="text"] {
    padding: 0.6rem 0.7rem;
    font-size: 1rem;
    border: 1px solid #ccd;
    border-radius: 6px;
    background: #fff;
}

.auth-field input[type="email"]:focus,
.auth-field input[type="text"]:focus {
    outline: none;
    border-color: #ff9f02;
    box-shadow: 0 0 0 3px rgba(255, 159, 2, 0.15);
}

.auth-dots {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    padding: 0.25rem 0 0.5rem;
}

.auth-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #b9bdc3;
    background: transparent;
    transition: background-color 0.12s, border-color 0.12s, transform 0.12s;
}

.auth-dot.is-filled {
    background: #3a3f47;
    border-color: #3a3f47;
    transform: scale(1.08);
}

.auth-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    border-radius: 8px;
}

.auth-keypad:focus {
    outline: none;
}

.auth-keypad:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 159, 2, 0.15);
}

.auth-key {
    padding: 0.9rem 0;
    font-size: 1.3rem;
    font-weight: 400;
    border: 1px solid #d8dade;
    border-radius: 8px;
    background: #fafafa;
    color: #2a2a2a;
    cursor: pointer;
    transition: background-color 0.1s, border-color 0.1s, transform 0.05s;
    user-select: none;
}

.auth-key:hover {
    background: #ffdead;
    border-color: #ff9f02;
}

.auth-key:active {
    transform: scale(0.97);
    background: #ff9f02;
    color: #fff;
}

.auth-key:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-key-back {
    font-size: 1.1rem;
    color: #666;
}

.auth-key-ghost {
    visibility: hidden;
}

.auth-footer {
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #ff9f02;
    text-decoration: none;
}

.auth-footer a:hover {
    color: #c67d00;
    text-decoration: underline;
}

.auth-submit {
    padding: 0.65rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    background: #3a3f47;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.12s;
}

.auth-submit:hover {
    background: #23272d;
}

.auth-flash {
    margin: 0;
}

.auth-heading-switch {
    min-height: 1.4em;
    font-size: 0.95rem;
    color: #444;
    text-align: center;
}
