/* Mobile-only tweaks for Register page */
@media (max-width: 767px) {
  html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  *, *::before, *::after {
    box-sizing: border-box;
  }
  img, video, svg, canvas {
    max-width: 100% !important;
    height: auto !important;
  }
  iframe {
    max-width: 100% !important;
  }
  .auth-section {
    padding: 24px 8px; /* match index 8px gutters */
  }
  .login-center {
    padding: 0;
    display: grid;
    place-items: center; /* ensure perfect centering on all phones */
  }
  .auth-card.register-form {
    max-width: calc(100vw - 16px); /* viewport minus 8px margins on both sides */
    width: 100%;
    padding: 16px 14px;
    border-radius: 12px;
  }
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  .auth-header h1 {
    font-size: 1.5rem;
  }
  .auth-subtitle {
    font-size: 0.95rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
  .gap {
    gap: 10px;
  }
  .field {
    margin-top: 10px;
  }
  .field label {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  .field-input input, .field-input select {
    padding: 12px 14px;
    font-size: 1rem;
  }

  /* Accordion spacing and behavior on phones */
  .accordion {
    border-radius: 10px;
  }
  .accordion-header {
    padding: 12px;
    font-size: 1rem;
  }
  .accordion-panel-inner {
    padding: 12px;
  }

  .btn-submit {
    margin-top: 16px;
    min-height: 44px;
    font-size: 1.05rem;
  }
  .register-link {
    margin-top: 12px;
    font-size: 0.95rem;
  }
  .terms-note {
    font-size: 0.9rem;
  }
}
