/* Auth pages (login, register, provider register, forgot password) */
.bk-auth {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bk-primary: #4f46e5;
    --bk-primary-dark: #4338ca;
    --bk-ink: #0d1117;
    --bk-tint: #f1efff;
    --bk-border: #e5e7eb;
    --bk-muted: #6b7280;
    --bk-text: #111827;
    min-height: 100vh;
}

.bk-auth-aside {
    background: #eef2ff;
}

.bk-auth-aside img {
    max-height: 60vh;
    object-fit: contain;
}

.bk-auth-card {
    width: 100%;
    max-width: 560px;
}

.bk-auth-logo {
    max-height: 44px;
}

.bk-auth h1 {
    color: var(--bk-text);
    font-size: 1.75rem;
    font-weight: 700;
}

.bk-auth .form-label {
    color: var(--bk-text);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.bk-auth .form-control {
    height: 46px;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    border: 1px solid var(--bk-border);
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bk-auth .form-control:focus {
    border-color: var(--bk-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
}

.bk-auth .form-control::placeholder {
    color: #9ca3af;
}

/* Password field with the show/hide toggle sitting inside the input */
.bk-password {
    position: relative;
}

.bk-password .form-control {
    padding-right: 2.75rem;
}

.bk-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--bk-muted);
}

.bk-password-toggle:hover,
.bk-password-toggle:focus-visible {
    color: var(--bk-primary);
    background: #eef2ff;
}

.bk-auth .iti {
    width: 100%;
}

.bk-auth .iti--separate-dial-code .iti__selected-flag {
    border-radius: 10px 0 0 10px;
    background: #f9fafb;
}

.bk-auth .btn-primary {
    height: 48px;
    border-radius: 10px;
    font-weight: 600;
}

.bk-auth .alert {
    border: 0;
    border-radius: 10px;
    font-size: 0.875rem;
}

.bk-auth-link {
    color: var(--bk-primary);
}

.bk-auth-link:hover {
    color: var(--bk-primary-dark);
}

.bk-auth-hint,
.bk-auth-legal {
    color: var(--bk-muted);
    font-size: 0.75rem;
}

.bk-auth-legal a {
    color: inherit;
    text-decoration: underline;
}

.bk-auth .form-select {
    height: 46px;
    border: 1px solid var(--bk-border);
    border-radius: 10px;
    font-size: 0.9375rem;
}

.bk-auth .form-check-input:checked {
    background-color: var(--bk-primary);
    border-color: var(--bk-primary);
}

.bk-auth-divider {
    color: var(--bk-muted);
    font-size: 0.8125rem;
}

/* Match the public site: tinted panel, black pill buttons, ink focus ring */
.bk-auth-aside {
    background: var(--bk-tint);
}

.bk-auth h1,
.bk-auth-aside h2 {
    color: var(--bk-ink);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.bk-auth .btn-primary,
.bk-auth .btn-primary:focus {
    border-radius: 999px;
    background: var(--bk-ink);
    border-color: var(--bk-ink);
    color: #fff;
}

.bk-auth .btn-primary:hover {
    background: #2b2f36;
    border-color: #2b2f36;
}

.bk-auth .form-control:focus {
    border-color: var(--bk-ink);
    box-shadow: 0 0 0 3px rgba(13, 17, 23, 0.08);
}

.bk-auth .form-check-input:checked {
    background-color: var(--bk-ink);
    border-color: var(--bk-ink);
}
