/* Mobile OTP login card (My Account, logged out). */

.ga-otp {
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 12px;
  box-sizing: border-box;
  width: 100%;
}

.ga-otp__title {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
}

.ga-otp__hint,
.ga-otp__legal,
.ga-otp__or {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
}

.ga-otp__legal,
.ga-otp__or {
  font-size: 13px;
  margin: 12px 0 0;
}

.ga-otp label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.ga-otp__phone {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}

.ga-otp__prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  font-weight: 600;
}

.ga-otp input[type="tel"],
.ga-otp input[type="text"] {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.ga-otp [data-ga-otp-step="code"] input[type="text"] {
  margin-bottom: 12px;
  letter-spacing: 0.3em;
  text-align: center;
}

.ga-otp__btn {
  display: block;
  width: 100%;
  min-height: 48px;
  cursor: pointer;
}

html:not(.ga-light) body.ga-skin:not(.ga-light) .ga-otp .ga-otp__btn {
  background: linear-gradient(135deg, #e0bf62, #c9a84c) !important;
  border: 0 !important;
  border-radius: 8px;
  color: #14110a !important;
  font-weight: 700;
}

html:not(.ga-light) body.ga-skin:not(.ga-light) .ga-otp .ga-otp__btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #ecca72, #d4b255) !important;
}

.ga-otp__btn:disabled,
.ga-otp__link:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ga-otp__links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 0;
}

.ga-otp__link {
  padding: 8px 0;
  min-height: 44px;
  border: 0;
  background: none;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.ga-otp__msg {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 14px;
}

.ga-otp__msg--error {
  font-weight: 600;
}

/* Dark theme colours (light mode keeps the theme defaults). */
html:not(.ga-light) body.ga-skin:not(.ga-light) .ga-otp {
  background: rgba(15, 19, 24, 0.6);
}

html:not(.ga-light) body.ga-skin:not(.ga-light) .ga-otp :is(.ga-otp__title, .ga-otp label) {
  color: #f4efe0 !important;
}

html:not(.ga-light) body.ga-skin:not(.ga-light) .ga-otp :is(.ga-otp__hint, .ga-otp__legal, .ga-otp__or, .ga-otp__msg, .ga-otp__prefix) {
  color: #d6d2c4 !important;
}

html:not(.ga-light) body.ga-skin:not(.ga-light) .ga-otp__msg--error {
  color: #ff9f9f !important;
}

html:not(.ga-light) body.ga-skin:not(.ga-light) .ga-otp :is(a, .ga-otp__link) {
  color: #e0bf62 !important;
}

html:not(.ga-light) body.ga-skin:not(.ga-light) .ga-otp input[type="tel"],
html:not(.ga-light) body.ga-skin:not(.ga-light) .ga-otp input[type="text"] {
  background: #0f1318 !important;
  border: 1px solid rgba(201, 168, 76, 0.4) !important;
  color: #f4efe0 !important;
}
