/* Survey Modal - DM Sans + Brand Blue Theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

/* Survey Modal - Blue Theme */

:root {
  /* Blue Theme Colors */
  --survey-primary: #2536EB;
  --survey-primary-dark: #1a28b8;
  --survey-secondary: #3d4ef0;
  --survey-bg: #eff6ff;
  --survey-white: #ffffff;
  --survey-gray-100: #f3f4f6;
  --survey-gray-200: #e5e7eb;
  --survey-gray-400: #9ca3af;
  --survey-gray-600: #4b5563;
  --survey-gray-800: #1f2937;
  --survey-green: #22c55e;
  --survey-red: #ef4444;
  --survey-radius: 1.25rem;
  --survey-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
}

/* Hide any other popups/modals when survey is active or when payment_complete param is present */
body:has(#sec-survey-modal-overlay) .popup,
body:has(#sec-survey-modal-overlay) .modal:not(#sec-survey-modal):not(#sec-survey-modal-overlay),
body:has(#sec-survey-modal-overlay) [class*="thank"],
body:has(#sec-survey-modal-overlay) [class*="success-popup"],
body:has(#sec-survey-modal-overlay) [id*="thank"],
body:has(#sec-survey-modal-overlay) [id*="success"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Modal Overlay */
#sec-survey-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: surveyFadeIn 0.3s ease;
}

@keyframes surveyFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Directional slide animations */
.survey-step-enter-fwd {
  animation: enterFwd 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.survey-step-exit-fwd {
  animation: exitFwd 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.survey-step-enter-back {
  animation: enterBack 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.survey-step-exit-back {
  animation: exitBack 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes enterFwd {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes exitFwd {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}

@keyframes enterBack {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes exitBack {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(20px);
  }
}

/* Modal Container */
#sec-survey-modal {
  width: 100%;
  max-width: 580px;
  margin: auto;
  animation: surveySlideUp 0.4s ease;
}

@keyframes surveySlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card */

.survey-card {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.survey-card {
  background: var(--survey-white);
  border-radius: var(--survey-radius);
  box-shadow: var(--survey-shadow);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.survey-header {
  background: linear-gradient(135deg, var(--survey-primary), var(--survey-secondary));
  padding: 1.75rem 2rem 1.25rem;
  position: relative;
}

.survey-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.survey-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.survey-step-count {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

.survey-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  padding: 0;
}

.survey-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Progress Bar */
.survey-progress-track {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  height: 6px;
  margin-top: 0.75rem;
  overflow: hidden;
}

.survey-progress-fill {
  background: white;
  border-radius: 999px;
  height: 6px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Body */
.survey-body {
  padding: 1.75rem 2rem;
  min-height: 280px;
  max-height: calc(90vh - 250px);
  overflow-y: auto;
  flex: 1;
}

.survey-body::-webkit-scrollbar {
  width: 8px;
}

.survey-body::-webkit-scrollbar-track {
  background: var(--survey-gray-100);
  border-radius: 4px;
}

.survey-body::-webkit-scrollbar-thumb {
  background: var(--survey-primary);
  border-radius: 4px;
}

.survey-body::-webkit-scrollbar-thumb:hover {
  background: var(--survey-primary-dark);
}

.survey-question-number {
  font-size: 0.65rem;
  color: var(--survey-gray-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.survey-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--survey-gray-800);
  margin-bottom: 0.25rem;
}

.survey-hint {
  font-size: 0.85rem;
  color: var(--survey-gray-400);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Inputs */
.survey-input {
  width: 100%;
  border: 1.5px solid var(--survey-gray-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
  background: var(--survey-white);
}

.survey-input:focus {
  border-color: var(--survey-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.survey-input.error {
  border-color: var(--survey-red);
}

.survey-input.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

textarea.survey-input {
  resize: none;
}

/* Industry grid - Icon tiles */
.survey-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.625rem;
}

.survey-industry-tile {
  background: var(--survey-white);
  border: 2px solid var(--survey-gray-200);
  border-radius: 0.875rem;
  padding: 1.125rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .survey-industry-tile:hover {
    border-color: var(--survey-primary);
    background: var(--survey-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 54, 235, 0.1);
  }
}

.survey-industry-tile.active {
  border-color: var(--survey-primary);
  background: var(--survey-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 54, 235, 0.2);
}

.survey-industry-icon {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.survey-industry-label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: inherit;
}

/* Hours */
.survey-hours-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.survey-day-label {
  width: 2rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--survey-gray-400);
  text-transform: uppercase;
  flex-shrink: 0;
}

.survey-time-input {
  border: 1.5px solid var(--survey-gray-200);
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  outline: none;
  width: 6rem;
  transition: border-color 0.2s;
  font-family: inherit;
}

.survey-time-input:focus {
  border-color: var(--survey-primary);
}

.survey-closed-text {
  flex: 1;
  font-size: 0.75rem;
  color: var(--survey-gray-400);
  font-style: italic;
}

.survey-close-day-btn {
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  border: 1.5px solid var(--survey-gray-200);
  background: white;
  cursor: pointer;
  color: var(--survey-gray-400);
  transition: all 0.15s;
  font-family: inherit;
}

.survey-close-day-btn:hover,
.survey-close-day-btn.closed {
  border-color: var(--survey-red);
  color: var(--survey-red);
  background: #fef2f2;
}

/* Multicheck */
.survey-check-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--survey-gray-200);
  border-radius: 0.75rem;
  background: white;
  cursor: pointer;
  text-align: left;
  font-size: 0.875rem;
  color: var(--survey-gray-600);
  transition: all 0.15s;
  margin-bottom: 0.5rem;
  font-family: inherit;
}

.survey-check-btn:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: var(--survey-bg);
}

.survey-check-btn.active {
  border-color: var(--survey-primary);
  background: #dbeafe;
  color: var(--survey-primary);
  font-weight: 600;
}

.survey-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.35rem;
  border: 2px solid var(--survey-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}

.survey-check-btn.active .survey-checkbox {
  background: var(--survey-primary);
  border-color: var(--survey-primary);
}

.survey-checkbox svg {
  display: none;
}

.survey-check-btn.active .survey-checkbox svg {
  display: block;
}

/* Contact */
.survey-contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1.5px solid var(--survey-gray-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.65rem;
  transition: all 0.2s;
}

.survey-contact-row:focus-within {
  border-color: var(--survey-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.survey-contact-row.error {
  border-color: var(--survey-red);
}

.survey-contact-row.error:focus-within {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.survey-contact-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.survey-contact-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.875rem;
  background: transparent;
  font-family: inherit;
}

.survey-valid {
  color: var(--survey-green);
  font-size: 0.875rem;
}

.survey-invalid-badge {
  color: var(--survey-red);
  font-size: 0.7rem;
  font-weight: 600;
}

.survey-error-msg {
  color: var(--survey-red);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  margin-left: 2rem;
}

/* Socials */
.survey-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.survey-social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.survey-social-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid #93c5fd;
  border-radius: 0.75rem;
  background: #dbeafe;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.5rem;
}

.survey-social-platform {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--survey-primary);
  width: 5rem;
  flex-shrink: 0;
}

.survey-social-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.8rem;
  background: transparent;
  font-family: inherit;
  color: var(--survey-gray-800);
  min-width: 0;
}

.survey-social-input.invalid-url {
  color: #dc2626;
}

.survey-social-row:has(.invalid-url) {
  border-color: #dc2626;
  background: #fef2f2;
}

.survey-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--survey-gray-300);
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

.survey-remove-btn:hover {
  color: var(--survey-red);
}

.survey-chips-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--survey-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
}

.survey-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.survey-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border: 1.5px solid var(--survey-gray-200);
  border-radius: 0.75rem;
  background: white;
  color: var(--survey-gray-600);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.survey-chip:hover {
  border-color: var(--survey-primary);
  color: var(--survey-primary);
  background: var(--survey-bg);
}

.survey-chip svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Logo uploader */
.survey-logo-drop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px dashed #93c5fd;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background: #dbeafe55;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.5rem;
}

.survey-logo-drop:hover {
  border-color: var(--survey-primary);
  background: #dbeafe;
}

.survey-logo-info {
  flex: 1;
  min-width: 0;
}

.survey-logo-info p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--survey-gray-600);
  margin: 0;
}

.survey-logo-info span {
  font-size: 0.75rem;
  color: var(--survey-gray-400);
}

.survey-logo-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.survey-logo-preview img {
  height: 2.5rem;
  object-fit: contain;
  border-radius: 0.35rem;
  border: 1px solid var(--survey-gray-200);
  padding: 0.25rem;
  background: var(--survey-gray-100);
}

.survey-remove-logo {
  font-size: 0.75rem;
  color: var(--survey-red);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.survey-remove-logo:hover {
  text-decoration: underline;
}

/* Dropzone */
.survey-dropzone {
  border: 2px dashed var(--survey-gray-200);
  border-radius: var(--survey-radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.75rem;
}

.survey-dropzone:hover,
.survey-dropzone.drag-active {
  border-color: var(--survey-primary);
  background: #dbeafe55;
}

.survey-dropzone-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.survey-dropzone p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--survey-gray-600);
  margin: 0;
}

.survey-dropzone span {
  font-size: 0.75rem;
  color: var(--survey-gray-400);
}

.survey-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.survey-thumb {
  position: relative;
  border: 1px solid var(--survey-gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--survey-gray-100);
}

.survey-thumb img {
  width: 100%;
  height: 4rem;
  object-fit: cover;
  display: block;
}

.survey-thumb-icon {
  width: 100%;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.survey-thumb-name {
  font-size: 0.65rem;
  color: var(--survey-gray-400);
  padding: 0.2rem 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.survey-thumb-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--survey-red);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 0.65rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.survey-thumb:hover .survey-thumb-remove {
  display: flex;
}

/* Footer */
.survey-footer {
  padding: 0 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.survey-back {
  background: none;
  border: none;
  font-size: 0.875rem;
  color: var(--survey-gray-400);
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  font-family: inherit;
}

.survey-back:hover {
  color: var(--survey-gray-600);
}

.survey-btn-primary {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: none;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  background: linear-gradient(135deg, var(--survey-primary), var(--survey-secondary));
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  font-family: inherit;
}

.survey-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.survey-btn-primary:disabled {
  background: var(--survey-gray-200);
  color: var(--survey-gray-400);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.survey-optional-hint {
  text-align: center;
  font-size: 0.7rem;
  color: var(--survey-gray-300);
  padding-bottom: 1.25rem;
  margin-top: -0.5rem;
}

/* Review Screen */
.survey-review-container {
  background: var(--survey-white);
  border: 1.5px solid var(--survey-gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
}

.survey-review-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--survey-gray-100);
  font-size: 0.8125rem;
}

.survey-review-row:last-child {
  border-bottom: none;
}

.survey-review-label {
  color: var(--survey-gray-400);
  font-weight: 600;
  min-width: 90px;
  flex-shrink: 0;
}

.survey-review-value {
  flex: 1;
  color: var(--survey-gray-800);
  font-weight: 500;
  overflow-wrap: break-word;
}

.survey-review-edit {
  background: none;
  border: none;
  color: var(--survey-primary);
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  transition: all 0.15s;
  flex-shrink: 0;
  font-weight: 600;
}

.survey-review-edit:hover {
  background: var(--survey-bg);
}

/* Success */
.survey-success {
  text-align: center;
  padding: 2.5rem 2rem;
}

.survey-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--survey-primary), var(--survey-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: white;
  font-weight: 700;
}

.survey-success h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--survey-gray-800);
  margin-bottom: 0.5rem;
}

.survey-success p {
  font-size: 0.875rem;
  color: var(--survey-gray-400);
  line-height: 1.6;
}

.survey-success-box {
  background: var(--survey-bg);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  text-align: left;
}

.survey-success-row {
  font-size: 0.75rem;
  color: var(--survey-gray-400);
  margin-bottom: 0.35rem;
}

.survey-success-row strong {
  color: var(--survey-gray-700);
}

.survey-success-footer {
  font-size: 0.7rem;
  color: var(--survey-gray-300);
  margin-top: 1rem;
}

/* Brand color components */
.survey-color-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.survey-color-button {
  width: 52px;
  height: 52px;
  border-radius: 0.625rem;
  border: 2px solid var(--survey-gray-200);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.survey-color-button:hover {
  border-color: var(--survey-primary);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.survey-color-dropper {
  color: white;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: opacity 0.2s;
}

.survey-color-button:hover .survey-color-dropper {
  opacity: 1;
}

.survey-color-native {
  width: 52px;
  height: 52px;
  border: 1px solid var(--survey-gray-200);
  border-radius: 0.625rem;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.survey-color-native::-webkit-color-swatch-wrapper {
  padding: 0;
}

.survey-color-native::-webkit-color-swatch {
  border: none;
  border-radius: 0.5rem;
}

.survey-color-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--survey-red);
  color: white;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.survey-color-remove:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.survey-add-color-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.625rem 1rem;
  border: 2px dashed var(--survey-gray-200);
  border-radius: 0.625rem;
  background: transparent;
  color: var(--survey-primary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

.survey-add-color-btn:hover {
  border-color: var(--survey-primary);
  background: var(--survey-bg);
  border-style: solid;
}

.survey-add-color-btn svg {
  flex-shrink: 0;
}

.survey-check-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 640px) {
  .survey-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .survey-industry-tile {
    padding: 0.75rem 0.55rem;
    min-height: 5.2rem;
    gap: 0.35rem;
  }

  .survey-industry-icon {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .survey-industry-label {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .survey-thumb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .survey-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .survey-body {
    padding: 1.5rem;
  }

  .survey-footer {
    padding: 0 1.5rem 1.25rem;
  }

  .survey-hours-row {
    flex-wrap: wrap;
  }

  .survey-time-input {
    width: 5rem;
  }

  /* Color picker mobile styles */
  #colors-container > div {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  #colors-container input[type="color"] {
    width: 48px !important;
    height: 48px !important;
  }

  #colors-container input[type="text"] {
    flex: 1;
    min-width: 120px;
    font-size: 0.875rem;
  }

  .survey-remove-btn {
    flex-shrink: 0;
  }

  /* Social media row mobile */
  .survey-social-row {
    gap: 0.5rem;
  }

  .survey-social-input {
    min-width: 0;
    flex: 1;
  }
}

/* Loading spinner */
.survey-loading {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: surveySpind 0.6s linear infinite;
  margin-left: 0.5rem;
}

@keyframes surveySpin {
  to {
    transform: rotate(360deg);
  }
}

/* Welcome Modal Overlay */
.survey-welcome-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--survey-radius);
}

.survey-welcome-overlay.active {
  opacity: 1;
}

.survey-welcome-overlay.fadeOut {
  opacity: 0;
}

.survey-welcome-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.survey-welcome-overlay.active .survey-welcome-card {
  transform: scale(1);
}

.survey-welcome-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: welcomePulse 2s ease-in-out infinite;
}

@keyframes welcomePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.survey-welcome-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--survey-gray-800);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.survey-welcome-text {
  font-size: 1.0625rem;
  color: var(--survey-gray-600);
  margin: 0 0 0.75rem 0;
  line-height: 1.6;
}

.survey-welcome-text strong {
  color: var(--survey-primary);
  font-weight: 700;
}

.survey-welcome-subtext {
  font-size: 0.9375rem;
  color: var(--survey-gray-500);
  margin: 0 0 2rem 0;
  line-height: 1.5;
}

.survey-welcome-btn {
  background: linear-gradient(135deg, var(--survey-primary), var(--survey-secondary));
  color: white;
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.survey-welcome-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

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

/* Mobile responsive */
@media (max-width: 640px) {
  .survey-welcome-card {
    padding: 2rem 1.5rem;
    max-width: 90%;
  }

  .survey-welcome-icon {
    font-size: 2.75rem;
  }

  .survey-welcome-title {
    font-size: 1.375rem;
  }

  .survey-welcome-text {
    font-size: 0.9375rem;
  }

  .survey-welcome-subtext {
    font-size: 0.875rem;
  }

  .survey-welcome-btn {
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
  }
}
