﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #05021b;
  color: #ffffff;
  overflow-x: hidden;
}

.standalone-page-skeleton {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: auto;
  padding: 60px max(24px, calc((100% - 700px) / 2));
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  background: #05021b;
  pointer-events: auto;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease;
}

.standalone-page-skeleton.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.standalone-skeleton {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 22px;
  border-radius: 12px;
  background: #141a33;
}

.standalone-skeleton::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.13),
    transparent
  );
  transform: translateX(-100%);
  animation: standaloneSkeletonShimmer 1.25s ease-in-out infinite;
}

.standalone-skeleton-heading {
  width: 54%;
  height: 48px;
  margin: 0 auto;
}
.standalone-skeleton-copy {
  width: 72%;
  margin: 0 auto;
}
.standalone-skeleton-copy.wide {
  width: 88%;
}
.standalone-skeleton-field {
  height: 64px;
}
.standalone-skeleton-button {
  width: 42%;
  height: 54px;
  margin-left: auto;
}

@media (max-width: 700px) {
  .standalone-page-skeleton {
    padding: 40px 20px;
  }
}

@keyframes standaloneSkeletonShimmer {
  to {
    transform: translateX(100%);
  }
}

button,
input,
select {
  font: inherit;
}

.profile-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  background: #05021b;
}

.profile-form-container {
  width: min(100%, 700px);
  background: transparent;
}

.form-header {
  text-align: center;
  margin-bottom: 42px;
}

.form-header h1 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1.1px;
}

.form-header p {
  margin-top: 18px;
  color: #a9a9c3;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  font-weight: 400;
}

#businessProfileForm {
  width: 100%;
}

.form-group {
  width: 100%;
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 11px;
  color: #ffffff;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.3;
  font-weight: 500;
}

.form-group label span {
  color: #ff3434;
  margin-left: 2px;
}

.location-fields {
  display: grid;
  gap: 14px;
}

.input-wrapper {
  position: relative;
  width: 100%;
  height: 64px;
  border: 1.5px solid #2b2750;
  border-radius: 13px;
  background: rgba(15, 15, 40, 0.7);
  display: flex;
  align-items: center;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.input-wrapper:focus-within {
  border-color: #8f2fff;
  box-shadow:
    0 0 0 3px rgba(143, 47, 255, 0.12),
    0 0 18px rgba(143, 47, 255, 0.15);
}

.business-photo-wrapper {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 5 / 3;
  min-height: 170px;
  overflow: hidden;
  border: 1.5px solid #2b2750;
  border-radius: 13px;
  background: rgba(15, 15, 40, 0.7);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.business-photo-wrapper.is-dragging,
.business-photo-wrapper:focus-within {
  border-color: #8f2fff;
  box-shadow:
    0 0 0 3px rgba(143, 47, 255, 0.12),
    0 0 18px rgba(143, 47, 255, 0.15);
}

.business-photo-wrapper.is-invalid {
  border-color: #ff5454;
  box-shadow: 0 0 0 3px rgba(255, 84, 84, 0.12);
}

.business-photo-wrapper.has-photo {
  border-color: rgba(0, 212, 255, 0.55);
}

.business-photo-dropzone {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  color: #a9a9c3;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.business-photo-dropzone:hover {
  color: #ffffff;
  background: rgba(143, 47, 255, 0.12);
}

.business-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
}

.business-photo-placeholder i {
  font-size: 30px;
  color: #ffffff;
}

.business-photo-placeholder span {
  width: 100%;
  max-width: 260px;
  overflow: hidden;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-group label .business-photo-placeholder span,
.form-group label.toggle-line span {
  color: #ffffff;
}

.business-photo-placeholder small {
  color: #8589a8;
  font-size: 13px;
  line-height: 1.35;
}

.business-photo-preview {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.business-photo-preview[hidden] {
  display: none;
}

.business-photo-wrapper.has-photo .business-photo-placeholder {
  display: none;
}

.business-photo-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(5, 2, 27, 0.8);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.business-photo-remove[hidden] {
  display: none;
}

.business-photo-remove:focus-visible,
.business-photo-remove:hover {
  background: rgba(255, 84, 84, 0.92);
}

.business-photo-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.photo-editor[hidden] { display: none; }
.photo-editor { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; background: rgba(3, 2, 20, .82); }
.photo-editor-card { width: min(100%, 680px); padding: 20px; border: 1px solid #3b3470; border-radius: 18px; background: #11102f; color: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.photo-editor-card h2 { margin-bottom: 14px; }
.photo-editor-card canvas { width: 100%; display: block; aspect-ratio: 5 / 3; border-radius: 10px; background: #08051d; cursor: grab; touch-action: none; }
.photo-editor-card canvas:active { cursor: grabbing; }
.photo-editor-card label { display: grid; gap: 8px; margin: 14px 0; color: #b8b5d8; font-size: 13px; }
.photo-editor-hint { margin: 12px 0 16px; color: #a9a9c3; font-size: 13px; text-align: center; }
.date-of-birth-hint { margin: 5px 0 8px; color: #a9a9c3; font-size: 12px; }
.photo-editor-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.photo-editor-actions button { padding: 9px 14px; border: 1px solid #4b4386; border-radius: 9px; background: #1d1945; color: #fff; cursor: pointer; }
.photo-editor-actions button:last-child { border-color: #8f2fff; background: #7b2cff; }

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  padding: 0 18px 0 68px;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
}

.input-wrapper input::placeholder {
  color: #777b9b;
  opacity: 1;
}

.input-icon {
  position: absolute;
  left: 27px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #8c94ab;
  font-size: 23px;
  pointer-events: none;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 58px;
  color: #777b9b;
}

.select-wrapper select:valid {
  color: #ffffff;
}

.select-wrapper select option {
  color: #ffffff;
  background: #0f0f28;
}

.select-arrow {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c94ab;
  font-size: 16px;
  pointer-events: none;
}

.phone-wrapper {
  padding-left: 0;
}

.phone-wrapper input {
  padding-left: 20px;
}

.phone-wrapper > .input-icon {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  margin-left: 27px;
  flex-shrink: 0;
}

.country-code {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 15px;
  color: #ffffff;
  font-size: clamp(16px, 1.8vw, 19px);
  white-space: nowrap;
}

.country-code i {
  color: #8c94ab;
  font-size: 12px;
}

.phone-divider {
  width: 1px;
  height: 30px;
  background: #302c52;
  margin-left: 17px;
  flex-shrink: 0;
}

.helper-text {
  margin-top: 9px;
  padding-left: 2px;
  color: #8589a8;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.4;
}

.calendar-icon {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c94ab;
  font-size: 21px;
  pointer-events: none;
}

input[type="date"] {
  color: #777b9b;
}

input[type="date"]:valid {
  color: #ffffff;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

input[type="time"] {
  color-scheme: dark;
}

input[type="time"]::-webkit-calendar-picker-indicator {
  width: 28px;
  height: 28px;
  margin-right: 16px;
  cursor: pointer;
  filter: invert(72%) sepia(11%) saturate(495%) hue-rotate(191deg)
    brightness(89%) contrast(88%);
}

.business-only-field[hidden] {
  display: none !important;
}

.input-wrapper.is-invalid {
  border-color: #ff5454;
  box-shadow: 0 0 0 3px rgba(255, 84, 84, 0.12);
}

.input-wrapper.is-invalid input,
.input-wrapper.is-invalid select,
.input-wrapper.is-invalid textarea {
  border-color: #ff5454;
  outline-color: #ff5454;
}

.agreement-checkbox.is-invalid {
  color: #ff8a8a;
}

.field-error {
  min-height: 20px;
  margin-top: 9px;
  color: #ff8a8a;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.field-error.is-success {
  color: #4ade80;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.otp-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 24, 0.78);
  backdrop-filter: blur(10px);
}

.otp-overlay[hidden] {
  display: none !important;
}

.otp-card {
  position: relative;
  width: min(100%, 430px);
  padding: 34px 30px 28px;
  border: 1px solid rgba(126, 151, 255, 0.28);
  border-radius: 20px;
  background: #101735;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.otp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #cbd5ff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.otp-icon {
  color: #7dd3fc;
  font-size: 32px;
}

.otp-eyebrow {
  margin: 18px 0 7px;
  color: #8ea2ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.otp-card h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 25px;
}

.otp-copy {
  margin: 10px auto 22px;
  max-width: 290px;
  color: #aeb9d7;
  line-height: 1.5;
}

.otp-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  color: #f8fafc;
  background: #080e27;
  font-size: 24px;
  letter-spacing: 0.32em;
  text-align: center;
}

.otp-input:focus {
  border-color: #7dd3fc;
  outline: 3px solid rgba(125, 211, 252, 0.16);
}

.otp-timer {
  margin: 5px 0 18px;
  color: #8f9cbd;
  font-size: 13px;
}

.otp-resend-status {
  min-height: 18px;
  margin: 14px 0 0;
  color: #8f9cbd;
  font-size: 12px;
  line-height: 1.45;
}

.otp-verify-btn {
  width: 100%;
}

.otp-resend-btn {
  margin-top: 6px;
  border: 0;
  color: #8fdcff;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.otp-resend-btn:hover {
  color: #d6f3ff;
}

.otp-resend-btn:disabled {
  color: #7180a7;
  cursor: not-allowed;
  opacity: 0.78;
}

.field-error:empty {
  min-height: 0;
  margin-top: 0;
}

.password-warning-modal[hidden] {
  display: none;
}

.password-warning-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.password-warning-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 2, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.password-warning-card {
  position: relative;
  width: min(100%, 430px);
  padding: 32px 28px 28px;
  border: 1px solid rgba(143, 47, 255, 0.38);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(24, 20, 61, 0.98),
    rgba(9, 8, 32, 0.98)
  );
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(143, 47, 255, 0.18);
  text-align: center;
  animation: password-warning-in 0.24s ease both;
}

.password-warning-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  color: #8fe5ff;
  font-size: 22px;
}

.password-warning-eyebrow {
  color: #00d4ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.password-warning-card h2 {
  margin-top: 9px;
  color: #ffffff;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.2;
}

.password-warning-card p:not(.password-warning-eyebrow) {
  margin-top: 13px;
  color: #c8cbe4;
  font-size: 15px;
  line-height: 1.55;
}

.password-warning-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 48px;
  gap: 10px;
  margin-top: 24px;
  padding: 0 22px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(100deg, #8f2fff, #00d4ff);
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 212, 255, 0.16);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.password-warning-continue:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 212, 255, 0.24);
}

.password-warning-continue:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.42);
  outline-offset: 3px;
}

@keyframes password-warning-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.business-hours-options {
  margin-top: -12px;
}

.toggle-line {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  font-weight: 600;
}

.toggle-line input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #8f2fff;
  cursor: pointer;
}

.toggle-line span {
  color: #ffffff;
}

.time-summary {
  min-height: 22px;
  color: #a9f1c8;
  font-size: 15px;
  line-height: 1.45;
}

.input-wrapper input:disabled {
  color: #8589a8;
  cursor: not-allowed;
}

.continue-btn {
  width: 100%;
  height: 64px;
  margin-top: 8px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(90deg, #8f2fff, #00d4ff);
  color: #ffffff;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 0 20px rgba(143, 47, 255, 0.25),
    0 5px 15px rgba(0, 212, 255, 0.08);
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.agreement-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: #c8cbe4;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.agreement-checkbox input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: #8f2fff;
  cursor: pointer;
}

.agreement-checkbox a {
  color: #80d9ff;
  text-decoration: underline;
}

.form-group label.login-show-password {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  margin: 8px 0 25px;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.form-group label.login-show-password span {
  color: #ffffff;
}

.login-show-password input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #8f2fff;
  cursor: pointer;
}

.continue-btn:hover {
  background: linear-gradient(90deg, #7f24e8, #00bde3);
  box-shadow:
    0 0 28px rgba(143, 47, 255, 0.38),
    0 0 40px rgba(0, 212, 255, 0.14);
}

.signin-inline-text {
  margin-top: 16px;
  text-align: center;
  color: #b8bdd8;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.signin-inline-text a {
  color: #8fe5ff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.signin-inline-text a:hover {
  color: #d8f6ff;
  text-decoration: underline;
}

.continue-btn:active {
  transform: scale(0.99);
  box-shadow:
    0 0 35px rgba(143, 47, 255, 0.45),
    0 0 50px rgba(0, 212, 255, 0.25);
}

.continue-btn.is-loading {
  cursor: wait;
  opacity: 0.72;
}

.continue-btn.is-loading::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: infoSpinner 0.7s linear infinite;
}

@keyframes infoSpinner {
  to {
    transform: rotate(360deg);
  }
}

.privacy-notice {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  margin-top: 30px;
  padding-bottom: 5px;
}

.privacy-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: rgba(143, 47, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a9a9c3;
  font-size: 18px;
  border: 1px solid rgba(143, 47, 255, 0.18);
}

.privacy-notice p {
  color: #a9a9c3;
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.45;
}

.privacy-notice a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 500;
}

.privacy-notice a:hover {
  color: #8f2fff;
  text-decoration: underline;
}

.privacy-policy-page {
  padding-bottom: 20px;
}

.privacy-policy-updated {
  margin: -24px 0 24px;
  color: #8589a8;
  font-size: 13px;
  text-align: center;
}

.privacy-policy-sections {
  display: grid;
  gap: 14px;
}

.privacy-policy-section {
  padding: 20px 22px;
  border: 1px solid rgba(143, 47, 255, 0.2);
  border-radius: 14px;
  background: rgba(15, 15, 40, 0.56);
}

.privacy-policy-section h2 {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.3;
}

.privacy-policy-section p {
  margin-top: 8px;
  color: #c8cbe4;
  font-size: 14px;
  line-height: 1.6;
}

.privacy-policy-page .privacy-notice {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(143, 47, 255, 0.2);
  border-radius: 14px;
  background: rgba(15, 15, 40, 0.56);
  text-align: left;
}

.privacy-policy-page .privacy-icon {
  width: 48px;
  height: 48px;
  margin: 0;
}

.privacy-policy-page .privacy-notice p {
  color: #c8cbe4;
  font-size: 14px;
  line-height: 1.5;
}

.privacy-policy-page .continue-btn {
  margin-top: 22px;
}

/* ==========================================================
   LARGE DESKTOP
========================================================== */

@media (min-width: 1200px) {
  .profile-page {
    padding: 60px 40px;
  }

  .profile-form-container {
    width: min(100%, 700px);
  }

  .form-header {
    margin-bottom: 44px;
  }
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {
  .profile-page {
    padding: 40px 30px;
    align-items: flex-start;
  }

  .profile-form-container {
    width: min(100%, 650px);
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {
  body {
    background: #05021b;
  }

  .profile-page {
    min-height: 100svh;
    padding: max(28px, env(safe-area-inset-top)) 20px
      max(24px, env(safe-area-inset-bottom));
    align-items: flex-start;
    background: #05021b;
  }

  .profile-form-container {
    width: 100%;
  }

  .form-header {
    margin-bottom: 34px;
  }

  .form-header h1 {
    font-size: 30px;
    letter-spacing: -0.8px;
  }

  .form-header p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.5;
  }

  .form-group {
    margin-bottom: 23px;
  }

  .form-group label {
    margin-bottom: 9px;
    font-size: 17px;
  }

  .business-photo-wrapper {
    width: 100%;
    min-height: 180px;
  }

  .input-wrapper {
    height: 60px;
    border-radius: 12px;
  }

  .input-wrapper input,
  .input-wrapper select {
    font-size: 16px;
  }

  .input-icon {
    left: 22px;
    font-size: 21px;
  }

  .input-wrapper input,
  .input-wrapper select {
    padding-left: 58px;
  }

  .select-wrapper select {
    padding-right: 52px;
  }

  .select-arrow {
    right: 25px;
    font-size: 14px;
  }

  .phone-wrapper > .input-icon {
    margin-left: 22px;
  }

  .country-code {
    margin-left: 12px;
    gap: 8px;
    font-size: 16px;
  }

  .phone-divider {
    margin-left: 13px;
    background: #302c52;
  }

  .phone-wrapper input {
    min-width: 0;
    padding-left: 15px;
  }

  .helper-text {
    font-size: 14px;
    margin-top: 8px;
  }

  .business-hours-options {
    margin-top: -8px;
  }

  .calendar-icon {
    right: 21px;
    font-size: 20px;
  }

  .continue-btn {
    height: 60px;
    margin-top: 5px;
    border-radius: 12px;
    font-size: 17px;
  }

  .signin-inline-text {
    margin-top: 14px;
    font-size: 13px;
  }

  .privacy-notice {
    gap: 13px;
    margin-top: 25px;
  }

  .privacy-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 16px;
  }

  .privacy-notice p {
    font-size: 13px;
  }
}

/* ==========================================================
   SMALL PHONES
========================================================== */

@media (max-width: 380px) {
  .profile-page {
    padding-left: 15px;
    padding-right: 15px;
  }

  .form-header h1 {
    font-size: 27px;
  }

  .form-header p {
    font-size: 14px;
  }

  .input-wrapper {
    height: 57px;
  }

  .form-group label {
    font-size: 16px;
  }

  .input-wrapper input,
  .input-wrapper select {
    font-size: 15px;
  }

  .phone-wrapper input {
    font-size: 15px;
  }

  .country-code {
    font-size: 15px;
  }

  .helper-text {
    font-size: 13px;
  }

  .privacy-notice p {
    font-size: 12px;
  }

  .desktop-break {
    display: none;
  }
}

/* ==========================================================
   VERY SHORT MOBILE SCREENS
========================================================== */

@media (max-height: 760px) and (max-width: 600px) {
  .profile-page {
    padding-top: 20px;
  }

  .form-header {
    margin-bottom: 25px;
  }

  .form-header p {
    margin-top: 10px;
  }

  .form-group {
    margin-bottom: 17px;
  }

  .form-group label {
    margin-bottom: 7px;
  }

  .input-wrapper {
    height: 55px;
  }

  .continue-btn {
    height: 55px;
  }

  .privacy-notice {
    margin-top: 18px;
  }
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================
   FORM ERROR
========================================================== */

.form-error {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: rgba(255, 52, 52, 0.12);
  border: 1px solid rgba(255, 102, 102, 0.45);
  border-left: 4px solid #ff5454;
  color: #ff6b6b;
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.form-error.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 600px) {
  .otp-overlay {
    align-items: center;
    padding: 12px;
  }

  .otp-card {
    width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100svh - 24px);
    box-sizing: border-box;
    overflow-y: auto;
    padding: 30px 16px 20px;
    border-radius: 17px;
  }

  .otp-card h2 {
    font-size: 22px;
  }

  .otp-copy {
    max-width: none;
    margin-bottom: 18px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .otp-input {
    padding: 13px 10px;
    font-size: 21px;
    letter-spacing: 0.22em;
  }

  .otp-resend-btn {
    max-width: 100%;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .form-error {
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .otp-card {
    padding-right: 14px;
    padding-left: 14px;
  }

  .otp-card h2 {
    font-size: 20px;
  }

  .otp-copy {
    font-size: 13px;
  }
}
