/* ==========================================================================
   مساعد بنكك - نمط التصميم والهوية البصرية الرسمية (Modern Banking UI/UX)
   Mobile-First • Clean • Compact • Full-Page Layout
   ========================================================================== */

:root {
  /* Brand Identity */
  --primary-red: #B31D25;
  --primary-red-hover: #8E161C;
  --primary-red-light: #FEF2F2;
  --primary-yellow: #F5A800;
  --primary-yellow-hover: #D99500;
  --primary-yellow-light: #FFFBEB;

  /* Neutral Palette */
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-alt: #F1F5F9;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  /* State Colors */
  --success: #16A34A;
  --success-bg: #F0FDF4;
  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --warning: #D97706;
  --warning-bg: #FFFBEB;

  /* Standard Spacing System */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Elevation & Radius */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-hover: 0 6px 16px rgba(179, 29, 37, 0.12);

  /* Element Dimensions (Mobile-First) */
  --header-height: 68px;
  --input-height: 50px;
  --btn-height-primary: 50px;
  --btn-height-secondary: 46px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

main {
  flex: 1;
  width: 100%;
}

/* ==========================================================================
   1. Site Header (Compact 68px Full-Width)
   ========================================================================== */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-xs);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: var(--shadow-xs);
}

.brand-title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1.2;
}

.brand-name span {
  color: var(--primary-yellow);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-ticket {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-red);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(179, 29, 37, 0.2);
  transition: all var(--transition-fast);
  height: 40px;
}

.btn-ticket:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  background-color: var(--bg-alt);
}

/* Mobile Nav Drawer */
.mobile-nav-panel {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: var(--space-xs);
}

.mobile-nav-panel.open {
  display: flex;
}

.mobile-nav-link {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--primary-red-light);
  color: var(--primary-red);
}

/* ==========================================================================
   2. Stepper Progress Ribbon (Zero Scroll, Fluid)
   ========================================================================== */
.stepper-header {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  margin: var(--space-md) auto var(--space-lg);
  max-width: 680px;
  width: 100%;
  box-shadow: var(--shadow-xs);
}

.step-indicator-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.step-indicator-item.active {
  color: var(--primary-red);
}

.step-indicator-item.completed {
  color: var(--success);
}

.step-circle {
  width: 26px;
  height: 26px;
  min-width: 26px;
  max-width: 26px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: var(--bg-alt);
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
}

.step-indicator-item.active .step-circle {
  border-color: var(--primary-red);
  background-color: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(179, 29, 37, 0.15);
}

.step-indicator-item.completed .step-circle {
  border-color: var(--success);
  background-color: var(--success);
  color: #ffffff;
}

.stepper-divider {
  flex: 1;
  min-width: 12px;
  height: 2px;
  background-color: var(--border-color);
  margin: 0 4px;
}

/* ==========================================================================
   3. Open Full-Page Layout & Typography
   ========================================================================== */
.view-container {
  display: none;
  width: 100%;
  padding-bottom: var(--space-2xl);
}

.view-container.active {
  display: block;
}

.flow-layout {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.flow-title-box {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.selected-issue-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--primary-red-light);
  color: var(--primary-red);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.flow-title-box h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.flow-title-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
}

/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: var(--space-md) 0 var(--space-xs);
}

.breadcrumb-item:hover {
  color: var(--primary-red);
}

.breadcrumb-item.current {
  color: var(--text-main);
  font-weight: 700;
}

/* ==========================================================================
   4. Form Controls (Unified Banking Standard)
   ========================================================================== */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: var(--input-height);
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(179, 29, 37, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

textarea.form-control {
  height: auto;
  min-height: 95px;
  padding: 12px 14px;
  resize: vertical;
}

.form-helper {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
  font-weight: 400;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Action Buttons Container */
.flow-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

/* Primary Submit Button */
.btn-submit-flow {
  height: var(--btn-height-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-red);
  color: #ffffff;
  padding: 0 var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(179, 29, 37, 0.25);
  transition: all var(--transition-fast);
  flex: 1;
  max-width: 320px;
}

.btn-submit-flow:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(179, 29, 37, 0.3);
}

.btn-submit-flow:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Secondary Back Button */
.btn-back {
  height: var(--btn-height-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 var(--space-md);
  background-color: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-back:hover {
  background-color: #E2E8F0;
  color: var(--text-main);
}

/* ==========================================================================
   5. Home View Elements (Hero, Search, Services Grid)
   ========================================================================== */
.welcome-section {
  padding: var(--space-lg) 0 var(--space-md);
}

.welcome-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-yellow-light);
  border: 1px solid #FDE68A;
  color: #B45309;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xs);
}

.welcome-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

.welcome-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

/* Search Box */
.search-container {
  max-width: 580px;
  margin: 0 auto var(--space-lg);
}

.search-box-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  right: 14px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 10px 44px 10px 40px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.15);
}

.clear-search-btn {
  position: absolute;
  left: 12px;
  color: var(--text-light);
  display: none;
  padding: 4px;
}

.clear-search-btn.visible {
  display: flex;
}

/* Services Grid (Compact Tiles) */
.section-title-wrap {
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.service-card:hover {
  border-color: #FBBF24;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-yellow-light);
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
}

.service-icon-wrapper.red {
  background-color: var(--primary-red-light);
  color: var(--primary-red);
}

.service-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.service-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-red);
  background-color: var(--primary-red-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Sub-issues Grid */
.sub-issues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.sub-issue-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sub-issue-card:hover {
  border-color: var(--primary-red);
  background-color: var(--primary-red-light);
}

.sub-issue-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.sub-issue-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Category Header Banner */
.category-header-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.category-header-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-red);
}

.cat-header-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.cat-header-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: var(--primary-red-light);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Summary Box in Step 2 */
.summary-review-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  box-shadow: var(--shadow-xs);
}

.summary-item-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.summary-item-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   6. OTP Screen Elements & Shake Error Animation
   ========================================================================== */
@keyframes shakeHorizontal {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-7px); }
  40%, 80% { transform: translateX(7px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.otp-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  direction: ltr;
  margin: var(--space-md) 0 4px;
}

.otp-input-wrapper.shake {
  animation: shakeHorizontal 0.45s ease-in-out;
}

.otp-field {
  width: 48px;
  height: 52px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  color: var(--text-main);
  outline: none;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.otp-field:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(179, 29, 37, 0.12);
}

.otp-field.error {
  border-color: #DC2626 !important;
  background-color: #FEF2F2 !important;
  color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18) !important;
}

.otp-error-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #DC2626;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 8px;
  text-align: center;
  animation: scaleIn 0.2s ease-out;
}

/* ==========================================================================
   7. Success Screen Elements
   ========================================================================== */
.success-screen-box {
  text-align: center;
  max-width: 540px;
  margin: var(--space-lg) auto 0;
}

.success-check-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--success-bg);
  color: var(--success);
  border: 2px solid #BBF7D0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.success-check-icon svg {
  width: 30px;
  height: 30px;
}

.ticket-number-display {
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--primary-red);
  background-color: var(--primary-red-light);
  border: 1px dashed var(--primary-red);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 8px 0 var(--space-md);
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  opacity: 0;
  transition: all 250ms ease;
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-msg.success { background-color: #16A34A; }
.toast-msg.error { background-color: #DC2626; }

/* Site Footer */
.site-footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: var(--space-lg) 0;
  font-size: 0.82rem;
  text-align: center;
  border-top: 1px solid #1E293B;
  width: 100%;
}

/* ==========================================================================
   8. Mobile-First Responsive System (320px, 360px, 375px, 430px, 768px)
   ========================================================================== */

/* Tablets (< 992px) */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --input-height: 48px;
    --btn-height-primary: 48px;
    --btn-height-secondary: 44px;
  }

  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  .welcome-title {
    font-size: 1.45rem;
  }

  .welcome-subtitle {
    font-size: 0.85rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .service-card {
    padding: 12px 10px;
  }

  .service-icon-wrapper {
    width: 38px;
    height: 38px;
  }

  .service-title {
    font-size: 0.88rem;
  }

  .service-desc {
    font-size: 0.74rem;
  }

  .sub-issues-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .stepper-header {
    padding: 6px 10px;
    gap: 4px;
    margin: var(--space-sm) auto var(--space-md);
  }

  .step-indicator-item {
    font-size: 0.72rem;
    gap: 4px;
  }

  .step-circle {
    width: 22px;
    height: 22px;
    min-width: 22px;
    max-width: 22px;
    font-size: 0.68rem;
  }

  .stepper-divider {
    min-width: 8px;
    margin: 0 2px;
  }

  .summary-review-box {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .category-header-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: var(--space-md);
  }

  .otp-field {
    width: 44px;
    height: 48px;
    font-size: 1.2rem;
  }
}

/* Small Phones (< 380px) */
@media (max-width: 380px) {
  .step-indicator-item {
    font-size: 0.68rem;
  }

  .otp-input-wrapper {
    gap: 4px;
  }

  .otp-field {
    width: 38px;
    height: 44px;
    font-size: 1.1rem;
  }

  .btn-submit-flow {
    font-size: 0.88rem;
  }
}
