@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Mobile performance optimizations */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

/* Allow text selection for form inputs */
input,
textarea,
select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Phone input styling */
.phone-input-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.country-code {
  padding: 24px 20px 24px 28px;
  font-weight: 600;
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.02);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px 0 0 20px;
  font-size: 16px;
}

.phone-input-container input {
  border: none;
  background: transparent;
  padding: 24px 28px 24px 20px;
  border-radius: 0 20px 20px 0;
  box-shadow: none;
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
}

.phone-input-container input:focus {
  outline: none;
  border: none;
  background: transparent;
  transform: none;
  box-shadow: none;
}

/* Note box styling */
.note-box {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}

.note-box p {
  margin: 0 0 12px 0;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.note-box p:last-child {
  margin-bottom: 0;
}

.note-box ol {
  margin: 8px 0 0 0;
  padding-left: 20px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.note-box li {
  margin-bottom: 4px;
}

.note-box ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.note-box ul li {
  margin-bottom: 6px;
}

/* Proof categories styling */
.proof-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.proof-category {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.proof-category p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.proof-category p:first-child {
  margin-bottom: 4px;
  font-weight: 600;
  color: #1a1a1a;
}

.proof-category p:last-child {
  color: #666;
  font-size: 12px;
}

/* General mobile improvements */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: #000;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Prevent horizontal scrolling on mobile */
  width: 100%;
  max-width: 100vw;
  /* Improve touch scrolling on iOS */
  -webkit-overflow-scrolling: touch;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 219, 255, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.15) 1px,
    transparent 0
  );
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

.form-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

.form-step {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  padding: 80px 60px;
  width: 100%;
  max-width: 700px;
  text-align: center;
  animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.form-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
  border-radius: 32px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.form-step.hidden {
  display: none;
}

/* Logo and branding styles */
.logo-container {
  text-align: center;
  margin-bottom: 40px;
}

.logo {
  display: inline-block;
  margin-bottom: 20px;
}

.logo img {
  border-radius: 20px;
  width: 320px;
  height: 120px;
  object-fit: contain;
}

.logo-text {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  color: #1a1a1a;
  margin-bottom: 16px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.subtitle {
  color: #666;
  margin-bottom: 50px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: 32px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 12px;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 24px 28px;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-weight: 500;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  /* Mobile optimizations */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Prevent zoom on focus for iOS */
  transform: translateZ(0);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #000;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: #999;
  font-weight: 400;
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 60px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 24px;
  border: 2px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  /* Mobile touch improvements */
  -webkit-tap-highlight-color: transparent;
  min-height: 44px; /* Minimum touch target */
  transition: all 0.2s ease;
}

.checkbox-group:has(input:checked) {
  border-color: #000;
  background: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  cursor: pointer;
  accent-color: #000;
  border-radius: 6px;
}

.checkbox-group label {
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
}

.navigation-buttons {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 20px;
}

.btn {
  padding: 20px 36px;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  /* Mobile touch improvements */
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Minimum touch target size */
  min-height: 44px;
}

.btn-primary {
  background: #000;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  border: 2px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Paste button for mobile */
.paste-btn {
  display: none; /* Hidden by default */
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #007AFF;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
  transition: all 0.2s ease;
  min-height: 32px;
  -webkit-tap-highlight-color: transparent;
}

.paste-btn:hover {
  background: #0056b3;
  transform: translateY(-50%) scale(1.05);
}

.paste-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Show paste button on mobile for text inputs and textareas */
@media (max-width: 768px) {
  .form-group {
    position: relative;
  }
  
  .form-group.has-paste-btn .paste-btn {
    display: block;
  }
  
  .form-group.has-paste-btn input,
  .form-group.has-paste-btn textarea {
    padding-right: 70px; /* Make room for paste button */
  }
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: #333;
  border-color: #333;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #000, #333, #666);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  border-radius: 0 3px 3px 0;
}

.success-message {
  display: none;
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 24px;
  border-radius: 20px;
  margin-top: 30px;
  text-align: center;
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 15px 35px rgba(76, 175, 80, 0.3);
}

.success-message.show {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.error-message {
  display: none;
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
  padding: 24px;
  border-radius: 20px;
  margin-top: 30px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 15px 35px rgba(244, 67, 54, 0.3);
}

.error-message.show {
  display: block;
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive design - Enhanced Mobile Optimization */
@media (max-width: 768px) {
  .form-container {
    padding: 15px 10px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .form-step {
    padding: 30px 20px;
    margin: 0;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }

  .logo-container {
    margin-bottom: 20px;
    text-align: center;
  }

  .logo img {
    width: 220px;
    height: 83px;
    margin: 0 auto;
    max-width: 90%;
    height: auto;
  }

  h1 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.5;
    padding: 0 5px;
  }

  .logo-text {
    font-size: 18px;
  }

  .navigation-buttons {
    flex-direction: column;
    margin-top: 25px;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
    min-height: 48px; /* Touch target size */
    border-radius: 16px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    padding: 18px 20px;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 16px;
    min-height: 48px; /* Touch target size */
  }

  .phone-input-container {
    border-radius: 16px;
  }

  .country-code {
    padding: 18px 16px;
    font-size: 16px;
    border-radius: 16px 0 0 16px;
  }

  .phone-input-container input {
    padding: 18px 20px 18px 16px;
    border-radius: 0 16px 16px 0;
    font-size: 16px;
  }

  .checkbox-group {
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 12px;
  }

  .checkbox-group label {
    font-size: 15px;
    line-height: 1.4;
  }

  input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
  }

  .progress-bar {
    height: 4px;
  }

  textarea {
    min-height: 100px;
    resize: vertical;
  }

  .note-box {
    padding: 16px;
    margin: 16px 0;
    border-radius: 12px;
  }

  .note-box p {
    font-size: 13px;
  }

  .proof-categories {
    gap: 10px;
  }

  .proof-category {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .proof-category p {
    font-size: 12px;
  }

  .proof-category p:last-child {
    font-size: 11px;
  }

  /* Form group improvements */
  .form-group {
    margin-bottom: 24px;
  }

  /* Better touch targets for mobile */
  select {
    background-size: 14px;
    background-position: right 16px center;
    padding-right: 50px;
  }
}

/* Small mobile phones - 480px and below */
@media (max-width: 480px) {
  .form-container {
    padding: 10px 8px;
  }

  .form-step {
    padding: 25px 16px;
    border-radius: 12px;
  }

  .logo img {
    width: 180px;
    height: auto;
  }

  h1 {
    font-size: 22px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .btn {
    padding: 16px 20px;
    font-size: 15px;
    border-radius: 12px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 12px;
  }

  .phone-input-container {
    border-radius: 12px;
  }

  .country-code {
    padding: 16px 14px;
    border-radius: 12px 0 0 12px;
  }

  .phone-input-container input {
    padding: 16px 18px 16px 14px;
    border-radius: 0 12px 12px 0;
  }

  .checkbox-group {
    padding: 14px;
    border-radius: 12px;
  }

  .navigation-buttons {
    margin-top: 20px;
    gap: 10px;
  }

  .note-box {
    padding: 14px;
    margin: 14px 0;
  }
  
  .paste-note {
    display: none; /* Hide paste tip on small mobile */
  }
}

/* Small mobile phones - 480px and below - Thank You Page */
@media (max-width: 480px) {
  #thankYouPage {
    padding: 20px 15px;
  }

  #thankYouPage .logo-container {
    margin-bottom: 15px;
  }

  #thankYouPage .logo {
    max-width: 160px;
    height: auto;
  }

  #thankYouPage h1 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  #thankYouPage .subtitle {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 auto 15px auto;
    padding: 0 5px;
  }

  .whatsapp-section {
    padding: 15px;
    margin-top: 20px;
  }

  .whatsapp-section h2 {
    font-size: 18px;
  }

  .whatsapp-section p {
    font-size: 13px;
  }

  .whatsapp-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* Loading animation for submit button */
.btn[type="submit"] {
  position: relative;
  overflow: hidden;
}

.btn[type="submit"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn[type="submit"].loading::after {
  opacity: 1;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb:active {
  background: rgba(255, 255, 255, 0.4);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

/* Thank You Page */
#thankYouPage {
  text-align: center;
}

#thankYouPage .logo-container {
  margin-bottom: 30px;
}

#thankYouPage .logo {
  max-width: 100%;
  height: auto;
}

#thankYouPage h1 {
  margin-bottom: 20px;
}

#thankYouPage .subtitle {
  max-width: 600px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.whatsapp-section {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-section h2 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.whatsapp-section p {
  color: #a0a0a0;
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
  transform: translateY(0);
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
}

.admin-note {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 8px;
}

.admin-note p {
  color: #ffc107;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.admin-note strong {
  color: #ffc107;
}

.paste-note {
  margin: 20px 0;
  padding: 12px 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  text-align: center;
}

.paste-note p {
  color: #00d4ff;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

.paste-note strong {
  color: #00d4ff;
}

.paste-note kbd {
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 12px;
  color: #00d4ff;
}

/* Loading Screen */
.loading-container {
  text-align: center;
  padding: 40px 20px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #00d4ff;
  border-radius: 50%;
  margin: 0 auto 30px;
  animation: spin 1s linear infinite;
}

.loading-message {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px;
}

.loading-message p {
  color: #ffc107;
  font-size: 16px;
  margin: 0;
  font-weight: 500;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Mobile responsive for thank you page */
@media (max-width: 768px) {
  #thankYouPage {
    padding: 25px 20px;
    text-align: center;
  }

  #thankYouPage .logo-container {
    margin-bottom: 20px;
  }

  #thankYouPage .logo {
    max-width: 200px;
    height: auto;
  }

  #thankYouPage h1 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  #thankYouPage .subtitle {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 auto 20px auto;
    padding: 0 10px;
    max-width: 100%;
  }

  .whatsapp-section {
    padding: 20px;
    margin-top: 30px;
  }

  .whatsapp-section h2 {
    font-size: 20px;
  }

  .whatsapp-section p {
    font-size: 14px;
  }

  .whatsapp-btn {
    padding: 14px 20px;
    font-size: 14px;
  }

  .whatsapp-btn svg {
    width: 20px;
    height: 20px;
  }

  .admin-note {
    padding: 12px;
    margin-top: 15px;
  }

  .admin-note p {
    font-size: 13px;
  }

  .paste-note {
    display: none; /* Hide paste tip on mobile */
  }

  .loading-container {
    padding: 30px 15px;
  }

  .loading-spinner {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
  }

  .loading-message {
    padding: 15px;
    margin-top: 20px;
  }

  .loading-message p {
    font-size: 14px;
  }
}

/* Mobile landscape orientation */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .form-container {
    padding: 10px;
  }

  .form-step {
    padding: 20px 16px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .logo-container {
    margin-bottom: 15px;
  }

  .logo img {
    width: 160px;
    height: auto;
  }

  h1 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .navigation-buttons {
    margin-top: 15px;
    gap: 8px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    padding: 12px 16px;
  }

  .checkbox-group {
    padding: 12px;
    margin-bottom: 8px;
  }

  textarea {
    min-height: 80px;
  }

  .note-box {
    padding: 12px;
    margin: 10px 0;
  }
}

/* Prevent zoom on inputs for iOS */
@supports (-webkit-touch-callout: none) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px !important;
  }
}
