@font-face {
  font-family: "IRANYekan-Regular";
  src: url("../fonts/IRANYekanRegularFaNum.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --primary-glow: rgba(244, 0, 48, 0.4);
}

body {
  margin: 0;
  padding: 0;
  background-color: #09090b; /* Matches new backgroundColor */
  font-family: "IRANYekan-Regular", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* OTP Group Container */
.otp-group {
  display: flex;
  width: 100%;
  max-width: 400px;
  column-gap: 12px;
  flex-direction: row-reverse; /* Preserved logic */
  justify-content: center;
  margin: 0 auto;
}

/* Modern OTP Inputs */
.otp-input {
  width: 100%;
  height: 64px;
  border: 1px solid #27272a;
  border-radius: 12px;
  text-align: center;
  font-family: "IRANYekan-Regular";
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  background-color: #18181b; /* Paper color */
  color: #fafafa;
  transition: all 0.2s ease-in-out;
  outline: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.otp-input:focus {
  border-color: #f40030; /* Primary color */
  background-color: #09090b;
  box-shadow: 0 0 0 4px rgba(244, 0, 48, 0.15);
  transform: translateY(-2px);
}

iframe[title="reCAPTCHA"] {
  color-scheme: light;
}

/* Selection Highlight */
::selection {
  background-color: #f40030;
  color: #ffffff;
}