/* ================================================= */
/* === RESPONSIVE STYLES FOR CLIENT INTAKE FORM ==== */
/* ================================================= */

@media (max-width: 768px) {
  .form-container {
    padding: 1.5rem 1rem;
    margin: 1rem;
  }

  .form-header h1 {
    font-size: 1.5rem;
  }

  .form-header p {
    font-size: 0.95rem;
  }

  .progress-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .progress-bar::before,
  .progress-bar::after {
    top: auto;
    left: 0;
    bottom: 0;
    height: 4px;
    transform: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .social-links-grid {
    grid-template-columns: 1fr;
  }

  .button-group {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .package-selection {
    grid-template-columns: 1fr;
  }

  .submission-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .card-meta-info {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .modal-content {
    width: 90%;
    padding: 1.5rem;
  }

  .modal-header,
  .modal-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-footer {
    width: 100%;
  }

  .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .form-header .logo {
    max-width: 140px;
  }

  .form-header h1 {
    font-size: 1.3rem;
  }

  fieldset {
    padding: 1rem;
  }

  legend {
    font-size: 1.1rem;
  }

  .sub-legend {
    font-size: 1rem;
  }

  .stat-card .stat-number {
    font-size: 2rem;
  }

  .sidebar {
    display: none;
  }

  .main-content {
    padding: 1.5rem 1rem;
  }

  .btn,
  .btn-secondary {
    font-size: 0.95rem;
  }
}
