body {
    font-family: "Inter", "Segoe UI", sans-serif;
}

.auth-form form,
.auth-form > div,
.auth-actions,
.auth-social {
    display: block;
}

.auth-form form > *,
.auth-form > div > *,
.auth-actions > *,
.auth-social > * {
    margin-top: 1.25rem;
}

.auth-form form > *:first-child,
.auth-form > div > *:first-child,
.auth-actions > *:first-child,
.auth-social > *:first-child {
    margin-top: 0;
}

.auth-form p,
.auth-actions p {
    margin: 0;
}

.auth-form form > p {
    margin-top: 1rem;
}

.auth-form form > p:first-of-type {
    margin-top: 0;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.auth-form select,
.auth-form textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:not([type="hidden"]):focus,
.auth-form select:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.auth-form input[type="checkbox"],
.auth-form input[type="radio"] {
    accent-color: #059669;
}

.auth-form button,
.auth-form [role="button"],
.auth-form a.button,
.auth-form input[type="submit"],
.auth-actions button,
.auth-actions [role="button"],
.auth-actions a,
.auth-actions a.button,
.auth-actions input[type="submit"],
.auth-social a[role="button"],
.auth-social .button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 9999px;
    background: #0f172a;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.auth-form button:hover,
.auth-form [role="button"]:hover,
.auth-form a.button:hover,
.auth-form input[type="submit"]:hover,
.auth-actions button:hover,
.auth-actions [role="button"]:hover,
.auth-actions a:hover,
.auth-actions a.button:hover,
.auth-actions input[type="submit"]:hover,
.auth-social a[role="button"]:hover,
.auth-social .button:hover {
    transform: translateY(-1px);
    background: #020617;
}

.auth-form ul,
.auth-social ul {
    list-style: none;
    padding: 0;
}

.auth-form ul.errorlist,
.auth-social ul.errorlist {
    margin: 0 0 0.75rem;
    border: 1px solid #fecdd3;
    border-radius: 1rem;
    background: #fff1f2;
    padding: 0.85rem 1rem;
    color: #be123c;
    font-size: 0.875rem;
}

.auth-form .helptext,
.auth-form helptext {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
}

.auth-form p a,
.auth-form .helptext a {
    color: #047857;
    font-weight: 600;
}

.auth-form p a:hover,
.auth-form .helptext a:hover {
    color: #065f46;
}
