:root {
  --brand: #ff4d3d;
  --text: #21234a;
  --text-muted: #808080;
  --bg: #ffffff;
  --bg-muted: #f4f5f7;
  --border: #e5e7eb;
  --button: #21234a;
  --button-text: #ffffff;
  --field-text: #111827;
  --field-placeholder: #9ca3af;
  --shadow-soft: 0 1px 2px rgba(16, 24, 40, 0.06),
    0 1px 1px rgba(16, 24, 40, 0.04);

  --black: #000;
  --text: #21234a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #fff;
  --radius: 12px;
  --card: #fff;
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.07), 0 5px 15px rgba(0, 0, 0, 0.05);

  --r-4: 6px;
  --r-5: 8px;
  --r-6: 12px;
  --r-7: 16px;
  --page-margin: 16px;
}

html,
body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  text-align: center;
  justify-content: center;
}
.d-none {
  display: none !important;
}
/* Only show app on mobile/tablet */
.app {
  display: none;
}
.desktop-msg {
  display: flex;
}

@media (max-width: 1024px) {
  .app {
    display: flex;
  }
  .desktop-msg {
    display: none;
  }
}

/* Shared container margins */
.sheet {
  width: 100%;
  padding-inline: var(--page-margin);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FULL-WIDTH language switcher */
.lang-full {
  display: none;
  padding: var(--page-margin) var(--page-margin) 0;
}
@media (max-width: 1024px) {
  .lang-full {
    display: block;
  }
}

.lang-full .seg {
  background: var(--bg-muted);
  border-radius: var(--r-6);
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  box-shadow: var(--shadow-soft);
  margin: 0 auto;
}

.seg button {
  border: 0;
  padding: 0.8rem 1.1rem;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-weight: bold;
  font-size: 16px;
}
.seg button.active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

/* 130px below the language switcher */
.app {
  min-height: calc(100svh - 130px);
  padding-top: 130px;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Group spacing 24px */
.group-24 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
}

/* Logo */
.logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Subtitle */
.subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 100 !important;
  font-size: 18px;
}

/* Field + Input (match switcher width) */
.field {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  max-width: 99%;
}
input[type="tel"] {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 1rem;
  color: var(--field-text);
  background: transparent;
  text-align: center;
}
input::placeholder {
  color: var(--field-placeholder);
  text-align: center;
}

/* Button full width */
.btn {
  width: 100%;
  border: 0;
  border-radius: var(--r-4);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1.02rem;
  background: var(--button);
  color: var(--button-text);
  box-shadow: var(--shadow-soft);
  max-height: 56px;
}
.btn:disabled {
  opacity: 0.55;
}

/* Desktop-only message */
.desktop-msg {
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  padding: 2rem;
  text-align: center;
}

.otp-wrapper {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
}

.otp-box {
  width: 48px;
  height: 48px;
  text-align: center;
  font-size: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  box-shadow: var(--shadow-soft);
  margin: 0;
}

.home-icon-img {
  width: 24px; /* adjust as needed */
  height: 24px;
  display: block;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #9091a4;

  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background-color: #fff;
  margin-bottom: 85px !important;
  z-index: 9999 !important;
}
.container {
  /* margin-top: 85px; */
  background: #f6f6f8;
}

.home-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-profile-name-div {
  display: grid;
}
.home-profile-name {
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: #5f617c;
}
.home-profile-title {
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  line-height: 20px;
  letter-spacing: 0px;
  color: #9091a4;
}

.home-profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.home-icon-group {
  display: flex;
  gap: 16px;
}

.home-icon-btn {
  cursor: pointer;
  font-size: 20px;
  color: var(--gray);
  transition: all 0.3s ease;
}

.home-icon-btn:hover {
  color: #21234a;
}

.home-main {
  min-height: 85dvh;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.home-go-wrapper {
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
}
@supports not (height: 100dvh) {
  .home-main {
    min-height: 100vh;
  }
}

.home-go-button {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--button);
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.2s ease;
}

.home-go-button:active {
  transform: scale(0.94);
}

.home-go-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
  z-index: 0;
}

.home-go-caption {
  font-size: 15px;
  color: var(--gray);
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 16px;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.home-footer {
  padding: 16px;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border);
}

.home-dot-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.home-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray);
}

.orders-title {
  background: #ededf1;
  color: #21234a;
  text-align: center;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 8px;
}
.orders-tab.is-active {
  /* background: #21234A; */
  color: #21234a;
}
.btn-primary {
  background: #21234a !important;
  background-color: #21234a !important;
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background: #505279;
  color: #fff;
  border: none;
}
.btn-primary:active {
  background: #505279 !important;
  color: #fff;
  border: none;
}
.btn-primary:disabled {
  background: #505279 !important;
  color: #fff;
  border: none;
}
/* Language Dropdown Styles */
.language-dropdown {
  position: relative;
  display: inline-block;
  margin-top: 2px;
}

.language-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000; /* Higher than header */
  min-width: 140px;
  padding: 4px;
  display: none;
  margin-top: 8px;
}

.language-dropdown-menu.show {
  display: block;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #21234a !important;
}

.language-option:hover {
  background: #f8f9fa;
}

.language-option.active {
  background: #dddeea !important;
  color: #21234a !important;
}

.language-option .flag {
  font-size: 16px;
}

.language-option .lang-text {
  flex: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .language-dropdown-menu {
    right: -20px;
    min-width: 120px;
  }

  .language-option {
    padding: 8px 10px;
    font-size: 13px;
  }
}
