@font-face {
  font-display: swap;
  font-family: Ray;
  src: url('../fonts/Ray-Light.woff') format('woff');
  font-style: normal;
  font-weight: 300;
}
@font-face {
  font-display: swap;
  font-family: Ray;
  src: url('../fonts/Ray-Medium.woff') format('woff');
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-display: swap;
  font-family: Ray;
  src: url('../fonts/Ray-Bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-display: swap;
  font-family: Ray;
  src: url('../fonts/Ray-ExtraBold.woff') format('woff');
  font-style: normal;
  font-weight: 800;
}
@font-face {
  font-display: swap;
  font-family: Ray;
  src: url('../fonts/Ray-Black.woff') format('woff');
  font-style: normal;
  font-weight: 900;
}
@font-face {
  font-display: swap;
  font-family: Ray;
  src: url('../fonts/Ray-ExtraBlack.woff') format('woff');
  font-style: normal;
  font-weight: 950;
}

@keyframes arka-auth-enter {
  0%   { opacity: 0; transform: translateY(10px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0)   scale(1); }
}

@keyframes arkaViewEnterForward {
  0%   { opacity: 0; transform: translateX(8px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes arkaViewEnterBackward {
  0%   { opacity: 0; transform: translateX(-8px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes arkaViewExitForward {
  0%   { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-8px); }
}

@keyframes arkaViewExitBackward {
  0%   { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(8px); }
}

@keyframes arkaOtpPop {
  0%   { opacity: 0; transform: scale(0.8) translateY(4px); }
  60%  { opacity: 1; transform: scale(1.04) translateY(0); }
  100% { opacity: 1; transform: scale(1)    translateY(0); }
}

@keyframes arkaInputFocus {
  0%   { transform: scaleX(1); }
  40%  { transform: scaleX(1.008); }
  100% { transform: scaleX(1); }
}

@keyframes arka-auth-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.38; }
}

@keyframes arka-auth-shake {
  0%   { transform: translateX(0); }
  12%  { transform: translateX(-7px); }
  26%  { transform: translateX(6px); }
  40%  { transform: translateX(-4px); }
  55%  { transform: translateX(3px); }
  70%  { transform: translateX(-2px); }
  84%  { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

@keyframes arkaAuthViewEnter {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.arka-auth-shell {
  --arka-form-primary: var(--ark-primary, #8860ff);
  --arka-form-cta: var(--ark-accent, var(--ark-primary, #1d1d1d));
  --arka-form-accent: var(--arka-form-primary);
  --arka-font: var(--ark-font, var(--ark-font-family-body, Ray, Vazirmatn, Tahoma, sans-serif));
  
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  --duration-fast: 140ms;
  --duration-normal: 260ms;
  --duration-slow: 380ms;

  --tab-selector-bg: rgba(0, 0, 0, 0.045);
  
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-color: #e8edf3;
  --input-bg: #f8fafc;
  --input-border: #dde3ea;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --current-radius: var(--radius-lg);

  box-sizing: border-box;
  color: var(--text-primary) !important;
  direction: rtl;
  font-family: var(--arka-font);
  isolation: isolate;
  position: relative;
}

.arka-auth-shell * {
  box-sizing: border-box;
}

.arka-auth-shell input, 
.arka-auth-shell button {
  font: inherit;
}

.arka-auth-shell:not(.arka-auth-modal) {
  margin: 24px auto;
  max-width: 460px;
  width: 100%;
}

.arka-auth-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 999999;
}

.arka-auth-modal[hidden] {
  display: none !important;
}

.arka-auth-shell:not(.arka-auth-modal) .arka-auth-backdrop,
.arka-auth-shell:not(.arka-auth-modal) .arka-auth-close {
  display: none !important;
}

.arka-auth-modal .arka-auth-backdrop {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  inset: 0;
  position: fixed;
  transition: opacity 250ms var(--ease-out);
}

.arka-auth-card {
  animation: arka-auth-enter 300ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--current-radius);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
  max-width: 460px;
  overflow: hidden;
  padding: 36px;
  position: relative;
  width: 100%;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.arka-auth-shell[data-template="minimal"] {
  --bg-color: #f1f5f9;
  --card-bg: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --input-bg: #f8fafc;
  --input-border: #dde3ea;
}

.arka-auth-shell[data-template="minimal"]:not([data-dark="true"]) .arka-auth-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color, #e8edf3);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
}

.arka-auth-shell[data-template="minimal"][data-dark="true"] .arka-auth-card {
  background: var(--card-bg, #1e2230) !important;
  border-color: var(--border-color, #2e3447) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

.arka-auth-shell[data-template="glass"]:not([data-dark="true"]) .arka-auth-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.arka-auth-shell[data-template="glass"]:not([data-dark="true"]) input:not(.arka-otp-input),
.arka-auth-shell[data-template="glass"]:not([data-dark="true"]) .arka-auth-phone,
.arka-auth-shell[data-template="glass"]:not([data-dark="true"]) .arka-otp-input {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(8px);
}

.arka-auth-shell[data-template="glass"][data-dark="true"] .arka-auth-card {
  background: rgba(26, 30, 44, 0.85) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.arka-auth-shell[data-template="glass"][data-dark="true"] input:not(.arka-otp-input),
.arka-auth-shell[data-template="glass"][data-dark="true"] .arka-auth-phone,
.arka-auth-shell[data-template="glass"][data-dark="true"] .arka-otp-input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.arka-auth-shell[data-template="floating"]:not([data-dark="true"]) .arka-auth-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 30px 60px -15px color-mix(in srgb, var(--arka-form-primary) 18%, rgba(0,0,0,0.08)), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.arka-auth-shell[data-template="floating"][data-dark="true"] .arka-auth-card {
  background: var(--card-bg, #1e2230) !important;
  border-color: var(--border-color, #2e3447) !important;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5) !important;
}

.arka-auth-shell[data-template="floating"] .arka-auth-card::before {
  content: "";
  position: absolute;
  inset: -60px -80px auto auto;
  width: 240px;
  height: 200px;
  background: radial-gradient(circle, color-mix(in srgb, var(--arka-form-primary) 22%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.arka-auth-shell[data-template="split"]:not(.arka-auth-modal) {
  max-width: 860px;
}

.arka-auth-shell[data-template="split"] .arka-auth-card {
  max-width: 860px;
  display: flex;
  padding: 0;
  flex-direction: row-reverse;
}

.arka-auth-shell:not([data-template="split"]) .arka-auth-split-banner {
  display: none !important;
}

.arka-auth-shell:not([data-template="split"]) .arka-auth-split-content {
  display: contents;
}

.arka-auth-shell[data-template="split"] .arka-auth-split-content {
  flex: 1;
  padding: 42px;
  max-width: 450px;
}

.arka-auth-shell[data-template="split"] .arka-auth-split-banner {
  flex: 1.1;
  background-color: var(--arka-form-primary);
  background-image: linear-gradient(135deg, var(--arka-form-primary) 0%, color-mix(in srgb, var(--arka-form-primary) 65%, #1d1d1d) 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 42px;
  overflow: hidden;
}

.arka-auth-shell[data-template="split"] .arka-auth-split-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 65%);
}

.arka-auth-shell[data-template="split"] .arka-auth-split-quote {
  position: relative;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
  z-index: 2;
}

.arka-auth-shell[data-template="dark"],
.arka-auth-shell[data-dark="true"] {
  --bg-color: #171a24;
  --card-bg: #1e2230;
  --text-primary: #e8ecf4;
  --text-secondary: #9aa3b5;
  --border-color: #2e3447;
  --input-bg: #262b3a;
  --input-border: #363d52;
  --input-placeholder: #64748b;
  --tab-selector-bg: rgba(255, 255, 255, 0.06);
}

.arka-auth-shell[data-template="dark"] .arka-auth-card,
.arka-auth-shell[data-dark="true"] .arka-auth-card {
  background: var(--card-bg, #1e2230);
  border-color: var(--border-color, #2e3447);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.arka-auth-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.arka-auth-brand {
  align-items: center;
  color: var(--text-primary);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
}

.arka-auth-brand-lockup {
  align-items: center;
  display: flex;
  gap: 10px;
  direction: rtl;
}

.arka-auth-brand img,
.arka-auth-brand-lockup img {
  display: block;
  max-height: 36px !important;
  max-width: 130px !important;
  height: auto;
  width: auto;
  object-fit: contain;
}

.arka-auth-brand-lockup strong {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.2;
  white-space: nowrap;
}

.arka-auth-badge {
  background: color-mix(in srgb, var(--arka-form-primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--arka-form-primary) 20%, transparent);
  border-radius: var(--radius-full);
  color: var(--arka-form-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  white-space: nowrap;
}

.arka-auth-close {
  position: absolute;
  top: 18px;
  left: 18px;
  background: transparent !important;
  border: 0 !important;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 6px;
  border-radius: 50%;
  transition: all 180ms ease;
  z-index: 10;
}

.arka-auth-close:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05) !important;
}

.arka-auth-methods {
  background: var(--tab-selector-bg, rgba(0,0,0,0.05));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(var(--arka-method-count, 2), minmax(0, 1fr));
  margin-top: 20px;
  padding: 4px;
}

.arka-auth-shell .arka-auth-methods button {
  background: transparent !important;
  border: 0 !important;
  border-radius: calc(var(--radius-md) - 4px) !important;
  color: var(--tab-text, var(--text-secondary));
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  min-height: 38px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: normal !important;
  transition: color 150ms ease, transform 120ms cubic-bezier(0.16,1,0.3,1), box-shadow 200ms ease;
}

.arka-auth-shell .arka-auth-methods button:hover {
  color: var(--text-primary);
}

.arka-auth-shell .arka-auth-methods button:active {
  transform: scale(0.95) !important;
  transition-duration: 80ms !important;
}

.arka-auth-shell .arka-auth-methods button.is-active {
  background: var(--tab-active-bg, var(--card-bg)) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10) !important;
  color: var(--tab-active-text, var(--arka-form-primary)) !important;
  transform: scale(1.01);
}

.arka-auth-shell input::placeholder,
.arka-auth-shell input::-webkit-input-placeholder,
.arka-auth-shell input::-moz-placeholder,
.arka-auth-shell input:-ms-input-placeholder {
  color: var(--input-placeholder, var(--text-secondary)) !important;
  -webkit-text-fill-color: var(--input-placeholder, var(--text-secondary)) !important;
  opacity: 0.85 !important;
}

.arka-auth-shell input {
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
}

.arka-auth-shell input:-webkit-autofill,
.arka-auth-shell input:-webkit-autofill:hover,
.arka-auth-shell input:-webkit-autofill:focus,
.arka-auth-shell input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg, #f8fafc) inset !important;
  -webkit-text-fill-color: var(--text-primary, #0f172a) !important;
  box-shadow: 0 0 0 1000px var(--input-bg, #f8fafc) inset !important;
  color: var(--text-primary, #0f172a) !important;
  caret-color: var(--text-primary, #0f172a) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.arka-auth-phone input:-webkit-autofill,
.arka-auth-phone input:-webkit-autofill:hover,
.arka-auth-phone input:-webkit-autofill:focus,
.arka-auth-phone input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: var(--phone-color, var(--text-primary, #0f172a)) !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  color: var(--phone-color, var(--text-primary, #0f172a)) !important;
  caret-color: var(--phone-color, var(--text-primary, #0f172a)) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.arka-auth-views-wrap {
  display: grid;
  grid-template-columns: 100%;
  position: relative;
  margin-top: 16px;
}

.arka-auth-view {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  will-change: opacity, transform;
}

.arka-auth-view[hidden] {
  display: none !important;
}

.arka-auth-view.is-exiting {
  display: block !important;
  pointer-events: none;
  grid-column: 1;
  grid-row: 1;
}

.arka-auth-view h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.4;
  margin: 0 0 6px;
  color: var(--text-primary) !important;
}

.arka-auth-view p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.arka-auth-view label {
  color: var(--text-primary) !important;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 16px 0 8px;
}

.arka-auth-view input:not(.arka-otp-input) {
  background: var(--input-bg) !important;
  border: 1px solid var(--input-border) !important;
  border-radius: var(--radius-md);
  color: var(--text-primary) !important;
  font-size: 14px;
  min-height: 48px;
  outline: none;
  padding: 0 14px;
  width: 100%;
  transition: border-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow   180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.arka-auth-view input:focus {
  border-color: var(--arka-form-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--arka-form-primary) 16%, transparent);
  animation: arkaInputFocus 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.arka-auth-phone {
  align-items: center;
  background: var(--input-bg);
  border: 1px solid var(--input-border, var(--border-color));
  border-radius: var(--radius-md);
  display: flex;
  direction: ltr;
  min-height: 48px;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.arka-auth-phone:focus-within {
  border-color: var(--arka-form-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--arka-form-primary) 16%, transparent);
}

.arka-auth-phone span {
  border-left: 1px solid var(--input-border, var(--border-color));
  color: var(--phone-color, var(--text-secondary)) !important;
  -webkit-text-fill-color: var(--phone-color, var(--text-secondary)) !important;
  direction: rtl;
  font-size: 13px;
  font-weight: 700;
  padding: 0 14px;
}

.arka-auth-phone input {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--phone-color, var(--text-primary)) !important;
  -webkit-text-fill-color: var(--phone-color, var(--text-primary)) !important;
  direction: ltr;
  padding-left: 14px;
  width: 100%;
}

.arka-otp-group {
  display: flex;
  gap: 8px;
  direction: ltr;
  justify-content: space-between;
  margin: 12px 0;
}

.arka-auth-view[data-arka-view="otp"]:not([hidden]) .arka-otp-input {
  animation: arkaOtpPop 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.arka-auth-view[data-arka-view="otp"]:not([hidden]) .arka-otp-input:nth-child(1) { animation-delay: 0ms;  }
.arka-auth-view[data-arka-view="otp"]:not([hidden]) .arka-otp-input:nth-child(2) { animation-delay: 25ms; }
.arka-auth-view[data-arka-view="otp"]:not([hidden]) .arka-otp-input:nth-child(3) { animation-delay: 50ms; }
.arka-auth-view[data-arka-view="otp"]:not([hidden]) .arka-otp-input:nth-child(4) { animation-delay: 75ms; }
.arka-auth-view[data-arka-view="otp"]:not([hidden]) .arka-otp-input:nth-child(5) { animation-delay: 100ms; }
.arka-auth-view[data-arka-view="otp"]:not([hidden]) .arka-otp-input:nth-child(6) { animation-delay: 125ms; }

.arka-otp-group.is-error {
  animation: arka-auth-shake 380ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.arka-otp-input {
  width: 48px;
  height: 54px;
  background: var(--input-bg);
  border: 1px solid var(--input-border, var(--border-color));
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: monospace, Arial, sans-serif;
  font-size: 22px !important;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: transform 120ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 180ms ease,
              box-shadow   180ms ease;
}

.arka-otp-input:focus {
  transform: scale(1.04);
  border-color: var(--arka-form-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--arka-form-primary) 18%, transparent);
}

.arka-otp-group.is-error .arka-otp-input {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.arka-auth-code-hidden {
  display: none !important;
}

.arka-auth-shell .arka-auth-button,
.arka-auth-shell button[type="submit"],
.arka-auth-shell button[type="button"].arka-auth-button {
  align-items: center !important;
  background: var(--arka-form-cta) !important;
  border: 0 !important;
  border-radius: var(--radius-md) !important;
  color: #ffffff !important;
  cursor: pointer;
  display: flex !important;
  font-size: 14px;
  font-weight: 700;
  justify-content: center !important;
  text-align: center !important;
  line-height: normal !important;
  margin-top: 22px;
  min-height: 48px;
  height: 48px;
  outline: none;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  transition: transform 100ms cubic-bezier(0.16, 1, 0.3, 1),
              background 180ms ease,
              box-shadow  220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.arka-auth-button:hover,
.arka-auth-button:focus-visible {
  background: var(--arka-form-primary) !important;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--arka-form-primary) 28%, transparent);
  transform: translateY(-1px);
}

.arka-auth-button:active {
  transform: scale(0.97) !important;
  transition-duration: 80ms !important;
}

.arka-auth-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.arka-auth-button.is-loading::after {
  animation: arka-auth-pulse 0.8s ease infinite;
  content: "…";
  font-size: 20px;
  margin-right: 7px;
}

.arka-auth-shell .arka-auth-link, 
.arka-auth-shell .arka-auth-back {
  background: transparent !important;
  border: 0 !important;
  color: var(--arka-form-primary) !important;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  margin-top: 14px;
  padding: 4px 0;
  text-align: right;
  transition: opacity 150ms ease;
  display: inline-block;
}

.arka-auth-link:active, .arka-auth-back:active {
  opacity: 0.7;
}

.arka-auth-link:disabled {
  color: var(--text-secondary);
  cursor: not-allowed;
}

.arka-auth-back {
  margin: 0 0 10px;
}

.arka-auth-notice {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 16px;
  min-height: 22px;
  text-align: center;
  transition: all 200ms ease;
}

.arka-auth-notice[data-type="error"] {
  color: #ef4444;
}

.arka-auth-notice[data-type="success"] {
  color: #10b981;
}

@media (max-width: 768px) {
  .arka-auth-shell[data-template="split"] .arka-auth-card {
    flex-direction: column-reverse;
  }
  .arka-auth-shell[data-template="split"] .arka-auth-split-banner {
    min-height: 180px;
    padding: 24px;
  }
  .arka-auth-shell[data-template="split"] .arka-auth-split-content {
    padding: 28px 20px;
  }
  .arka-auth-card {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arka-auth-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .arka-auth-view {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .arka-otp-input {
    transition: border-color 150ms ease, box-shadow 150ms ease !important;
  }

  .arka-otp-input:focus {
    transform: none !important;
  }

  .arka-auth-button,
  .arka-auth-button:hover,
  .arka-auth-button:active {
    transform: none !important;
    transition: background 150ms ease, box-shadow 150ms ease !important;
  }

  .arka-otp-group.is-error {
    animation: none !important;
  }

  .arka-otp-group.is-error .arka-otp-input {
    border-color: #ef4444 !important;
  }

  .arka-auth-view.is-exiting {
    animation: none !important;
    opacity: 0 !important;
  }

  .arka-auth-view[data-arka-view="otp"]:not([hidden]) .arka-otp-input {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .arka-auth-view input:focus {
    animation: none !important;
  }
}
