/* GIGSFILL - COMPLETE WITH ALL STYLES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0a0e17;
  --card: #151b28;
  --purple: #8b5cf6;
  --cyan: #06b6d4;
  --text: #f8fafc;
  --text-gray: #94a3b8;
  --border: rgba(148, 163, 184, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
  font-family: 'Inter', -apple-system, sans-serif; 
  background: var(--bg);
  color: var(--text); 
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll;
}

/* HEADER */
.app-header { 
  position: sticky; 
  top: 0; 
  z-index: 100;
  background: rgba(10, 14, 23, 0.8); 
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 60px;
}
.header-inner { 
  max-width: 1100px; 
  margin: 0 auto; 
  height: 60px;
  padding: 0 20px;
  display: flex; 
  align-items: center; 
}
.logo { 
  font-size: 1.125rem; 
  font-weight: 800; 
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.25em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions { 
  display: flex; 
  gap: 8px; 
  align-items: center;
  margin-left: auto;
}

/* BUTTONS */
.btn { 
  font: 600 0.8125rem/1 'Inter', sans-serif;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  background: transparent;
}
.btn.primary { 
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.btn.primary:hover { 
  box-shadow: 0 4px 16px rgba(139,92,246,0.4);
  transform: translateY(-1px);
}
.btn.ghost { 
  background: transparent;
  color: var(--text-gray);
  border: none;
  padding: 8px 16px;
}
.btn.ghost:hover { 
  background: transparent;
  color: var(--text);
}
.btn.link {
  background: transparent;
  color: var(--text-gray);
  border: none;
  padding: 4px 8px;
  font-size: 0.75rem;
  text-decoration: underline;
}
.btn.link:hover {
  color: var(--cyan);
}

/* MODAL SYSTEM */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  animation: fadeIn 0.2s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  max-width: 540px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  animation: scaleIn 0.2s forwards;
}

@keyframes scaleIn {
  to { transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal-body {
  margin-bottom: 24px;
  color: var(--text-gray);
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* HERO */
.hero { 
  text-align: center;
  padding: 80px 20px 60px;
}
.hero h1 { 
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.1;
}
.hero .tagline {
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--text-gray);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.hero-actions { 
  display: flex; 
  justify-content: center; 
  gap: 12px;
  margin-bottom: 80px;
}
.hero-actions .btn {
  padding: 10px 28px;
  font-size: 0.9375rem;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 80px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before { opacity: 1; }

.feature-card.artist { --accent: var(--purple); }
.feature-card.venue { --accent: var(--cyan); }

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* AUTH PANELS */
.auth-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 420px;
  margin: 60px auto;
}

.auth-panel h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-panel .subtitle {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-bottom: 32px;
}

/* FORMS */
.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: 0.9375rem 'Inter', sans-serif;
  transition: all 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}

input::placeholder,
textarea::placeholder { 
  color: var(--text-gray); 
  opacity: 0.5; 
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* Checkbox styling */
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--purple);
  margin: 0;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.checkbox-item:hover {
  background: rgba(255,255,255,0.02);
}

.checkbox-item input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-label {
  flex: 1;
}

.checkbox-label .label-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.checkbox-label .label-desc {
  font-size: 0.8125rem;
  color: var(--text-gray);
  line-height: 1.4;
}

select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

select option {
  background: var(--card);
  color: var(--text);
}

.auth-panel .btn {
  width: 100%;
  padding: 10px;
  font-size: 0.9375rem;
  margin-top: 8px;
}

.btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

/* SECTION HEADERS (like signup-new.html) */
.section-header {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: var(--text);
}

/* SIGNUP SPECIFIC */
.signup-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 20px;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.step-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-gray);
  transition: all 0.3s;
}

.step-bubble.active {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-color: transparent;
  color: white;
}

.signup-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.role-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.role-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.role-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139,92,246,0.2);
}

.role-card.selected {
  background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(6,182,212,0.1));
  border-color: var(--purple);
}

.role-card .role-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}

.role-card .role-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.button-group {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b5cf6, #06b6d4, transparent);
  margin: 24px 0;
  opacity: 0.3;
}

.pay-fields {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.125rem;
}

.pay-fields span {
  color: var(--text-gray);
  font-weight: 600;
}

.pay-dollars {
  width: 120px;
  text-align: right;
}

.pay-cents {
  width: 50px;
  text-align: center;
}

.time-select {
  min-width: 85px;
  text-align: center;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-gray);
  font-size: 0.8125rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .features { grid-template-columns: 1fr; }
  .auth-panel { padding: 32px 24px; }
  .btn-group { grid-template-columns: 1fr; }
  .role-selection { grid-template-columns: 1fr; }
}

/* EMAIL NOTIFICATION TOGGLE SWITCHES */
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  transition: background 0.2s;
}

.setting-row:hover {
  background: rgba(255,255,255,0.04);
}

.setting-info {
  flex: 1;
}

.setting-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.setting-description {
  font-size: 0.8125rem;
  color: var(--text-gray);
  line-height: 1.4;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.1);
  transition: 0.3s;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-color: transparent;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.toggle-switch input:focus + .toggle-slider {
  box-shadow: 0 0 0 3px rgba(139,92,246,0.2);
}

/* Save Indicator */
#inlineSaveIndicator {
  transition: opacity 0.3s;
}
