/* ═══════════════════════════════════════════════════════════════════════════
   Arkhetupon – Auth Pages
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset vendor/bootstrap bleed ── */
html, body {
    height: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ark-auth-wrap,
.ark-auth-wrap * {
    box-sizing: border-box !important;
}
.ark-auth-wrap label,
.ark-auth-wrap p,
.ark-auth-wrap h1,
.ark-auth-wrap h2,
.ark-auth-wrap h3,
.ark-auth-wrap span:not([class*="fa"]),
.ark-auth-wrap a,
.ark-auth-wrap input,
.ark-auth-wrap button,
.ark-auth-wrap textarea,
.ark-auth-wrap div {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
.ark-auth-wrap .fas,
.ark-auth-wrap .far,
.ark-auth-wrap .fab,
.ark-auth-wrap .fa,
.ark-auth-wrap [class*="fa-"] {
    font-family: "Font Awesome 6 Free" !important;
}
.ark-auth-wrap .fab {
    font-family: "Font Awesome 6 Brands" !important;
}

/* ── Page layout ── */
.ark-auth-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #060910;
    background-image:
        radial-gradient(ellipse 90% 70% at 50% 30%, rgba(20, 184, 166, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 70%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 45%);
    padding: 1.5rem;
    overflow: hidden;
}

/* ── Logo ── */
.ark-auth-header {
    margin-bottom: 1.75rem;
    text-align: center;
    flex-shrink: 0;
}
.ark-auth-logo { display: inline-block; }
.ark-auth-logo img {
    height: 40px;
    width: auto;
    filter: brightness(1.15);
}

/* ── Center body ── */
.ark-auth-body {
    width: 100%;
    max-width: 380px;
    flex-shrink: 0;
}

/* ── Auth container ── */
.ark-auth {
    width: 100%;
    animation: ark-auth-fadein 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ── Card ── */
.ark-auth-card {
    background: #0c1017 !important;
    border: 1px solid #1a2332 !important;
    border-radius: 0.875rem !important;
    box-shadow:
        0 20px 50px -15px rgba(0, 0, 0, 0.55),
        0 0 80px -30px rgba(20, 184, 166, 0.06) !important;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

/* ── Card head ── */
.ark-auth-card-head {
    padding: 1.5rem 1.75rem 1rem !important;
    margin: 0 !important;
    text-align: center;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.035) 0%, transparent 100%) !important;
    position: relative;
}
.ark-auth-card-head::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, #14b8a6 50%, transparent 90%);
    opacity: 0.4;
}

/* ── Card body ── */
.ark-auth-card-body {
    padding: 1.25rem 1.75rem 1.75rem !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    overflow: hidden !important;
}

/* ── Title ── */
.ark-auth-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    text-align: center !important;
    margin: 0 0 0.25rem !important;
    padding: 0 !important;
    letter-spacing: -0.02em;
    line-height: 1.3 !important;
    border: none !important;
    background: none !important;
}
.ark-auth-subtitle {
    font-size: 0.8125rem !important;
    font-weight: 400 !important;
    color: #64748b !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    border: none !important;
    background: none !important;
}

/* ── Role badge ── */
.ark-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    background: rgba(20, 184, 166, 0.1) !important;
    border: 1px solid rgba(20, 184, 166, 0.18) !important;
    border-radius: 9999px !important;
    font-size: 0.625rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2dd4bf !important;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* ── Labels ── */
.ark-auth .form-label {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    margin-bottom: 0.3rem !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
.ark-auth .form-label .text-danger { color: #f87171 !important; }

/* ── Spacing ── */
.ark-auth .mb-3 { margin-bottom: 0.875rem !important; }
.ark-auth .mb-3:last-of-type { margin-bottom: 1.25rem !important; }

/* ── Inputs ── */
.ark-auth form {
    max-width: 100% !important;
    overflow: hidden !important;
}
.ark-auth input[type="email"],
.ark-auth input[type="password"],
.ark-auth input[type="text"],
.ark-auth input.form-control,
.ark-auth textarea.form-control,
.ark-auth .ark-auth-input,
.ark-auth .form-control {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 2.625rem !important;
    padding: 0.5rem 0.875rem !important;
    margin: 0 !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    background-color: #111720 !important;
    background-image: none !important;
    border: 1px solid #1e293b !important;
    border-radius: 0.5rem !important;
    color: #e2e8f0 !important;
    -webkit-text-fill-color: #e2e8f0 !important;
    caret-color: #14b8a6 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.ark-auth input::placeholder,
.ark-auth textarea::placeholder {
    color: #e2e8f0 !important;
    opacity: 0.3 !important;
}
.ark-auth input:-webkit-autofill,
.ark-auth input:-webkit-autofill:hover,
.ark-auth input:-webkit-autofill:focus,
.ark-auth input:-webkit-autofill:active {
    -webkit-text-fill-color: #e2e8f0 !important;
    -webkit-box-shadow: 0 0 0 1000px #111720 inset !important;
    box-shadow: 0 0 0 1000px #111720 inset !important;
    transition: background-color 5000s ease-in-out 0s;
    border: 1px solid #1e293b !important;
}
.ark-auth input:focus,
.ark-auth textarea:focus {
    outline: none !important;
    border-color: #14b8a6 !important;
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.15) !important;
    background-color: #0d1117 !important;
    color: #e2e8f0 !important;
    -webkit-text-fill-color: #e2e8f0 !important;
}

/* ── Submit button ── */
.ark-auth .btn-submit,
.ark-auth .btn-submit.btn-lg {
    width: 100% !important;
    height: 2.625rem !important;
    min-height: 0 !important;
    padding: 0 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    background: #14b8a6 !important;
    border: none !important;
    color: #fff !important;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 10px rgba(20, 184, 166, 0.25) !important;
    transition: background 0.15s ease, box-shadow 0.2s ease, transform 0.1s ease;
    outline: none !important;
    line-height: 2.625rem !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ark-auth .btn-submit:hover {
    background: #0d9488 !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35) !important;
    transform: translateY(-1px);
}
.ark-auth .btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(20, 184, 166, 0.2) !important;
}

/* ── Validation errors — styled in theme.css ── */

/* ── Forgot password link ── */
.ark-auth-link {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #14b8a6 !important;
    text-decoration: none !important;
}
.ark-auth-link:hover {
    color: #2dd4bf !important;
    text-decoration: none !important;
}

/* ── Divider ── */
.ark-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: #334155;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ark-auth-divider::before,
.ark-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #1a2332;
}

/* ── Switch login link ── */
a.ark-auth-switch,
a.ark-auth-switch:link,
a.ark-auth-switch:visited {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    height: 2.375rem;
    padding: 0 1rem !important;
    background: transparent !important;
    border: 1px dashed #1a2332 !important;
    border-radius: 0.5rem !important;
    color: #64748b !important;
    font-size: 0.8125rem !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
a.ark-auth-switch i {
    font-size: 0.625rem;
    color: #14b8a6;
    transition: transform 0.2s ease;
}
a.ark-auth-switch span { color: #14b8a6 !important; font-weight: 600 !important; }
a.ark-auth-switch:hover {
    background: rgba(20, 184, 166, 0.04) !important;
    border-color: rgba(20, 184, 166, 0.2) !important;
    border-style: solid !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
}
a.ark-auth-switch:hover i { transform: translateX(3px); }

/* ── Footer ── */
.ark-auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.6875rem;
    color: #1e293b;
    flex-shrink: 0;
}
.ark-auth-footer a {
    color: #334155;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}
.ark-auth-footer a:hover { color: #14b8a6; text-decoration: none; }

/* ── Alert boxes ── */
.ark-auth-alert {
    padding: 0.75rem 0.875rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
}
.ark-auth-alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #86efac;
}
.ark-auth-alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}
.ark-auth .small.text-muted {
    color: #64748b !important;
    font-size: 0.75rem !important;
}

/* ── Input icon wrapper ── */
.ark-input-wrap {
    position: relative;
}
.ark-input-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #3e4c5e;
    font-size: 0.8125rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 1;
}
.ark-auth input.ark-has-icon,
.ark-auth textarea.ark-has-icon {
    padding-left: 2.5rem !important;
}
.ark-input-wrap:focus-within .ark-input-icon {
    color: #14b8a6;
}

/* ── Password toggle ── */
.ark-pw-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.25rem;
    color: #3e4c5e;
    cursor: pointer;
    transition: color 0.2s ease;
    outline: none;
    line-height: 1;
    display: flex;
    align-items: center;
    z-index: 1;
}
.ark-pw-toggle:hover { color: #64748b; }
.ark-pw-toggle i { font-size: 0.8125rem; pointer-events: none; }
.ark-auth input.ark-has-toggle,
.ark-auth textarea.ark-has-toggle {
    padding-right: 2.75rem !important;
}

/* ── Admin variant – blue accent ── */
.ark-auth--admin .ark-auth-badge {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.18) !important;
    color: #93c5fd !important;
}
.ark-auth--admin .ark-auth-card {
    box-shadow:
        0 20px 50px -15px rgba(0, 0, 0, 0.55),
        0 0 80px -30px rgba(59, 130, 246, 0.06) !important;
}
.ark-auth--admin .ark-auth-card-head {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.035) 0%, transparent 100%) !important;
}
.ark-auth--admin .ark-auth-card-head::before {
    background: linear-gradient(90deg, transparent 10%, #3b82f6 50%, transparent 90%);
}
.ark-auth--admin input:focus,
.ark-auth--admin textarea:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15) !important;
    background-color: #0d1117 !important;
}
.ark-auth--admin input { caret-color: #3b82f6 !important; }
.ark-auth--admin .btn-submit,
.ark-auth--admin .btn-submit.btn-lg {
    background: #3b82f6 !important;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.25) !important;
    color: #fff !important;
}
.ark-auth--admin .btn-submit:hover,
.ark-auth--admin .btn-submit.btn-lg:hover {
    background: #2563eb !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35) !important;
    color: #fff !important;
}
.ark-auth--admin .btn-submit:active,
.ark-auth--admin .btn-submit.btn-lg:active {
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.2) !important;
}
.ark-auth--admin .ark-auth-link { color: #3b82f6 !important; }
.ark-auth--admin .ark-auth-link:hover { color: #60a5fa !important; }
.ark-auth--admin .ark-input-wrap:focus-within .ark-input-icon { color: #3b82f6; }
.ark-auth--admin a.ark-auth-switch span { color: #3b82f6 !important; }
.ark-auth--admin a.ark-auth-switch i { color: #3b82f6; }
.ark-auth--admin a.ark-auth-switch:hover {
    background: rgba(59, 130, 246, 0.04) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
}

/* ── Animation ── */
@keyframes ark-auth-fadein {
    from { opacity: 0; transform: translateY(12px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ark-auth-header-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ark-auth-header {
    animation: ark-auth-header-in 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.ark-auth {
    animation-duration: 0.45s;
    animation-timing-function: cubic-bezier(0.34, 1.06, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════════════
   Light Theme
   ═══════════════════════════════════════════════════════════════════════ */
body#light_theme:has(.ark-auth-wrap) { background: #f1f5f9 !important; }
#light_theme .ark-auth-wrap {
    background: #f1f5f9;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(20, 184, 166, 0.05) 0%, transparent 60%);
}
#light_theme .ark-auth-card {
    background: #fff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 20px 50px -15px rgba(0,0,0,0.07) !important;
}
#light_theme .ark-auth-card-head {
    border-bottom-color: #f1f5f9 !important;
    background: linear-gradient(180deg, rgba(20,184,166,0.025) 0%, transparent 100%) !important;
}
#light_theme .ark-auth-card-head::before { background: linear-gradient(90deg, transparent 10%, #0d9488 50%, transparent 90%); }
#light_theme .ark-auth-title { color: #0f172a !important; }
#light_theme .ark-auth-subtitle { color: #64748b !important; }
#light_theme .ark-auth .form-label { color: #475569 !important; }
#light_theme .ark-auth input[type="email"],
#light_theme .ark-auth input[type="password"],
#light_theme .ark-auth input[type="text"],
#light_theme .ark-auth input.form-control,
#light_theme .ark-auth .form-control {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
#light_theme .ark-auth input::placeholder,
#light_theme .ark-auth textarea::placeholder {
    color: #0f172a !important;
    opacity: 0.3 !important;
}
#light_theme .ark-auth input:-webkit-autofill {
    -webkit-text-fill-color: #0f172a !important;
    -webkit-box-shadow: 0 0 0 1000px #f8fafc inset !important;
    border-color: #e2e8f0 !important;
}
#light_theme .ark-auth input:focus {
    background-color: #fff !important;
    border-color: #14b8a6 !important;
    box-shadow: 0 0 0 2px rgba(20,184,166,0.1) !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
#light_theme .ark-auth .btn-submit { color: #fff !important; box-shadow: 0 2px 10px rgba(20,184,166,0.18) !important; }
#light_theme .ark-auth .btn-submit:hover { color: #fff !important; }
#light_theme .ark-auth-divider { color: #cbd5e1; }
#light_theme .ark-auth-divider::before,
#light_theme .ark-auth-divider::after { background: #e2e8f0; }
#light_theme a.ark-auth-switch { border-color: #e2e8f0 !important; color: #64748b !important; }
#light_theme a.ark-auth-switch span { color: #0d9488 !important; }
#light_theme a.ark-auth-switch i { color: #0d9488; }
#light_theme a.ark-auth-switch:hover { background: rgba(20,184,166,0.03) !important; border-color: rgba(20,184,166,0.25) !important; }
#light_theme .ark-auth-badge { background: rgba(20,184,166,0.05) !important; border-color: rgba(20,184,166,0.12) !important; color: #0d9488 !important; }
#light_theme .ark-auth-footer { color: #cbd5e1; }
#light_theme .ark-auth-footer a { color: #94a3b8; }
#light_theme .ark-auth-footer a:hover { color: #0d9488; }
#light_theme .ark-auth-alert-success { background: #dcfce7; border-color: #86efac; color: #166534; }
#light_theme .ark-auth-alert-danger { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
#light_theme .ark-auth input::placeholder,
#light_theme .ark-auth textarea::placeholder {
    color: #0f172a !important;
    opacity: 0.3 !important;
}

/* Light theme – admin variant */
#light_theme .ark-auth--admin .ark-auth-badge { background: rgba(59,130,246,0.05) !important; border-color: rgba(59,130,246,0.12) !important; color: #2563eb !important; }
#light_theme .ark-auth--admin .ark-auth-card-head { background: linear-gradient(180deg, rgba(59,130,246,0.025) 0%, transparent 100%) !important; }
#light_theme .ark-auth--admin .ark-auth-card-head::before { background: linear-gradient(90deg, transparent 10%, #2563eb 50%, transparent 90%); }
#light_theme .ark-auth--admin input:focus { border-color: #3b82f6 !important; box-shadow: 0 0 0 2px rgba(59,130,246,0.1) !important; background-color: #fff !important; }
#light_theme .ark-auth--admin .ark-auth-link { color: #2563eb !important; }
#light_theme .ark-auth--admin .ark-auth-link:hover { color: #3b82f6 !important; }
#light_theme .ark-auth--admin .btn-submit,
#light_theme .ark-auth--admin .btn-submit.btn-lg {
    background: #3b82f6 !important;
    box-shadow: 0 2px 10px rgba(59,130,246,0.2) !important;
    color: #fff !important;
}
#light_theme .ark-auth--admin .btn-submit:hover,
#light_theme .ark-auth--admin .btn-submit.btn-lg:hover {
    background: #2563eb !important;
    box-shadow: 0 4px 16px rgba(59,130,246,0.3) !important;
    color: #fff !important;
}
#light_theme .ark-auth--admin a.ark-auth-switch span { color: #2563eb !important; }
#light_theme .ark-auth--admin a.ark-auth-switch i { color: #2563eb; }
#light_theme .ark-auth--admin a.ark-auth-switch:hover { background: rgba(59,130,246,0.03) !important; border-color: rgba(59,130,246,0.25) !important; }

/* ═══════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .ark-auth-wrap { padding: 1.25rem 1rem; }
    .ark-auth-header { margin-bottom: 1.5rem; }
    .ark-auth-card-head { padding: 1.25rem 1.25rem 0.875rem !important; }
    .ark-auth-card-body { padding: 1rem 1.25rem 1.5rem !important; }
    .ark-auth-title { font-size: 1.125rem !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Auth Polish Layer
   ═══════════════════════════════════════════════════════════════════════ */

/* Background — subtle noise grain */
.ark-auth-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.ark-auth-wrap > * { position: relative; z-index: 1; }

/* Card — very subtle inner glow */
.ark-auth-card {
    will-change: transform;
}

/* Input — hover state */
.ark-auth input[type="email"]:hover:not(:focus),
.ark-auth input[type="password"]:hover:not(:focus),
.ark-auth input[type="text"]:hover:not(:focus),
.ark-auth input.form-control:hover:not(:focus) {
    border-color: rgba(20, 184, 166, 0.35) !important;
}

/* Submit button — gradient treatment */
.ark-auth .btn-submit,
.ark-auth .btn-submit.btn-lg {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%) !important;
    letter-spacing: 0.015em;
}
.ark-auth .btn-submit:hover {
    background: linear-gradient(135deg, #0d9488 0%, #0a7870 100%) !important;
    transform: translateY(-1px);
}
.ark-auth .btn-submit:active {
    transform: translateY(0) scale(0.98) !important;
}

/* Badge — pill entrance */
.ark-auth-badge {
    animation: ark-auth-header-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

/* Title + subtitle stagger */
.ark-auth-title {
    animation: ark-auth-header-in 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.05s both;
}
.ark-auth-subtitle {
    animation: ark-auth-header-in 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

/* Admin variant — gradient button */
.ark-auth--admin .btn-submit,
.ark-auth--admin .btn-submit.btn-lg {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}
.ark-auth--admin .btn-submit:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

/* Light theme adjustments */
#light_theme .ark-auth-wrap::after { opacity: 0.6; }
#light_theme .ark-auth .btn-submit { color: #fff !important; }

/* Focus ring on submit */
.ark-auth .btn-submit:focus-visible {
    outline: 2px solid rgba(20, 184, 166, 0.6);
    outline-offset: 3px;
}
.ark-auth--admin .btn-submit:focus-visible {
    outline-color: rgba(59, 130, 246, 0.6);
}
