/* ============================================================
   STRIP CLUB REGISTRATION — MIDNIGHT CHAMPAGNE THEME
   Modern 3-step wizard with progress dots
============================================================ */

/* ================= CSS VARIABLES ================= */
:root {
  --bg-primary: #0d1117;
  --bg-secondary: #1c1f26;
  --bg-tertiary: #161922;
  --bg-elevated: #252932;
  
  --champagne: #d4af37;
  --rose-gold: #b8941f;
  --warm-gold: #e6c05f;
  
  --text-primary: #ffffff;
  --text-secondary: #a8a8b8;
  --text-muted: #6b6b7b;
  --text-on-gold: #1a1a1a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-strong: rgba(255, 255, 255, 0.25);
  
  --surface-hover: rgba(255, 255, 255, 0.05);
  --error: #ef4444;
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* ================= BODY & PAGE WRAPPER ================= */
body.page-template-register-strip-club {
  background: var(--bg-primary) !important;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

/* WordPress theme wrappers */
body.page-template-register-strip-club #page,
body.page-template-register-strip-club .site,
body.page-template-register-strip-club .site-main,
body.page-template-register-strip-club main,
body.page-template-register-strip-club .page-wrap,
body.page-template-register-strip-club .content-area,
body.page-template-register-strip-club .site-content {
  background: var(--bg-primary) !important;
  background-image: none !important;
}

/* Header + footer */
body.page-template-register-strip-club header,
body.page-template-register-strip-club header * {
  background: var(--bg-secondary) !important;
}

body.page-template-register-strip-club footer {
  background: var(--bg-secondary) !important;
}

/* ================= WIZARD PAGE CONTAINER ================= */

.wizard-page {
  background: var(--bg-primary);
  position: relative;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Subtle glow effect */
.wizard-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 400px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ================= PROGRESS DOTS ================= */

.progress-dots {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.progress-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.5;
  position: relative;
}

.progress-dot::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(100% + 0.75rem);
  width: 1.5rem;
  height: 2px;
  background: var(--border-medium);
  transition: background 0.3s ease;
}

.progress-dot:last-child::after {
  display: none;
}

.progress-dot.completed::after {
  background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #d4af37 100%);
}

.progress-dot.active,
.progress-dot.completed {
  opacity: 1;
}

.dot-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}

.progress-dot.active .dot-circle {
  background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #d4af37 100%);
  border-color: var(--champagne);
  color: var(--text-on-gold);
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.progress-dot.completed .dot-circle {
  background: var(--champagne);
  border-color: var(--champagne);
  color: var(--text-on-gold);
}

.progress-dot.completed .dot-circle::before {
  content: '✓';
  position: absolute;
  font-size: 0.9rem;
}

.dot-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  max-width: 110px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.progress-dot.active .dot-label {
  color: var(--text-primary);
  font-weight: 600;
}

.progress-dot:hover:not(.active) {
  opacity: 0.75;
}

/* ================= WIZARD WRAPPER ================= */

.wizard-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* ================= WIZARD CARDS ================= */

.wizard-card {
  background: var(--bg-secondary);
  padding: 2rem 1.5rem;
  display: none;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: calc(100vh - 120px);
}

.wizard-card.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--champagne) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.wizard-sub {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  text-align: center;
}

/* ================= SECTION GROUPS ================= */

.section-group {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.section-group:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.section-label {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #d4af37 0%, #b8941f 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* ================= FORM ELEMENTS ================= */

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row:has(.field:nth-child(2)) {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-medium);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--champagne);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.field input:hover:not(:focus),
.field select:hover:not(:focus),
.field textarea:hover:not(:focus) {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Select dropdown */
.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field select option {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* Validation error */
.field-error,
.field input.error,
.field select.error {
  border-color: var(--error) !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Hidden field */
.hidden {
  display: none !important;
}

/* Hint text */
.hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
  line-height: 1.4;
}

/* ================= CHECKBOXES ================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.services-grid label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-tertiary);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.services-grid label:hover {
  border-color: var(--champagne);
  background: var(--bg-elevated);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.services-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--champagne);
  flex-shrink: 0;
}

.services-grid label:has(input:checked) {
  border-color: var(--champagne);
  background: linear-gradient(135deg, #1c1f26 0%, #161922 100%);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--champagne), 0 4px 20px rgba(212, 175, 55, 0.25);
}

/* ================= FILE UPLOADS ================= */

.file-box {
  margin-bottom: 1.5rem;
}

.file-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.file-box input[type="file"] {
  display: block;
  width: 100%;
  padding: 1rem;
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.file-box input[type="file"]:hover {
  border-color: var(--champagne);
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.file-box input[type="file"]:focus {
  outline: none;
  border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.preview-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-medium);
}

/* ================= BUTTONS ================= */

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border-subtle);
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #d4af37 100%);
  color: var(--text-on-gold);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e6c05f 0%, #ffeed6 50%, #e6c05f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-medium);
}

.btn-ghost:hover {
  border-color: var(--champagne);
  color: var(--champagne);
  background: var(--surface-hover);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* ================= NOTICE BOX ================= */

.notice-box {
  background: linear-gradient(135deg, #1c1f26 0%, #161922 100%);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  margin: 1.25rem 0;
}

.notice-box svg {
  flex-shrink: 0;
  color: var(--champagne);
  margin-top: 0.125rem;
  width: 20px;
  height: 20px;
}

.notice-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.notice-box strong {
  color: var(--text-primary);
}

/* Terms rows */
.terms-row label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  padding: 1rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-tertiary);
  font-weight: 400;
  line-height: 1.6;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.terms-row label:hover {
  border-color: var(--champagne);
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.terms-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.125rem;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--champagne);
}

.terms-row label:has(input:checked) {
  border-color: var(--champagne);
  background: linear-gradient(135deg, #1c1f26 0%, #161922 100%);
  color: var(--text-primary);
}

/* ================= VALIDATION MESSAGE ================= */

.validation-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1.5px solid var(--error);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.validation-message.fade-out {
  animation: fadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.validation-message svg {
  color: var(--error);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.validation-message span {
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ================= LOADING SPINNER ================= */

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ================= RESPONSIVE - MOBILE ================= */

@media (max-width: 768px) {
  .progress-dots {
    gap: 1rem;
    padding: 1rem 0.75rem;
  }

  .progress-dot::after {
    display: none;
  }

  .dot-circle {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .dot-label {
    font-size: 0.65rem;
    max-width: 80px;
  }

  .wizard-card {
    padding: 1.5rem 1rem;
  }

  .wizard-title {
    font-size: 1.5rem;
  }

  .form-row:has(.field:nth-child(2)) {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .step-actions {
    flex-direction: column-reverse;
    padding: 1.25rem 0 0;
  }

  .btn {
    width: 100%;
  }

  .wizard-wrap {
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .wizard-card {
    padding: 1rem 0.75rem;
  }

  .wizard-title {
    font-size: 1.25rem;
  }

  .section-label {
    font-size: 1rem;
  }
}

/* ================= DESKTOP OPTIMIZATION ================= */

@media (min-width: 1024px) {
  .wizard-wrap {
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  }

  .wizard-card {
    padding: 2.5rem 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .step-actions {
    padding: 2rem 0 0;
  }
}

@media (min-width: 1440px) {
  .wizard-wrap {
    max-width: 1400px;
  }
}

/* ================= ACCESSIBILITY ================= */

.btn:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}

.progress-dot:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 4px;
  border-radius: 50%;
}

/* ================= PRINT STYLES ================= */

@media print {
  .progress-dots,
  .step-actions {
    display: none;
  }

  .wizard-card {
    box-shadow: none;
    border: 1px solid var(--border-medium);
  }

  .wizard-page {
    background: white;
  }

  .wizard-page::before {
    display: none;
  }
}

/* ================= CUSTOM SCROLLBAR ================= */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 6px;
  border: 3px solid var(--bg-tertiary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--champagne);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) var(--bg-tertiary);
}

/* ================= SELECTION ================= */

::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--text-primary);
}