/* ===== APP SHELL ===== */
.screen { display: none; padding: 80px 16px 40px; min-height: 100vh; }
.screen.active { display: block; }
.screen-content { max-width: 480px; margin: 0 auto; }

/* ===== BACK BUTTON ===== */
.btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; color: var(--fg-muted); background: none; border: none;
  cursor: pointer; padding: 4px 0 16px;
  font-family: 'Inter', sans-serif;
}
.btn-back:hover { color: var(--fg); }

/* ===== ONBOARDING ===== */
.onboarding-icon { margin: 0 auto 24px; text-align: center; }
.onboarding-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem; font-weight: 700; text-align: center;
  margin-bottom: 12px; color: var(--fg);
}
.onboarding-sub {
  font-size: 0.9375rem; color: var(--fg-muted); text-align: center;
  line-height: 1.6; margin-bottom: 32px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: var(--fg); font-weight: 600;
  border: none; border-radius: 10px; cursor: pointer;
  font-family: 'Inter', sans-serif; transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-pale); color: var(--green); font-weight: 600;
  border: none; border-radius: 10px; cursor: pointer;
  font-family: 'Inter', sans-serif; transition: background 0.15s;
}
.btn-secondary:hover { background: #d8e8d8; }

.btn-ghost {
  display: inline-flex; align-items: center;
  background: none; color: var(--fg-muted); font-weight: 500;
  border: none; border-radius: 8px; cursor: pointer;
  font-family: 'Inter', sans-serif; padding: 8px 12px;
  transition: color 0.15s;
}
.btn-ghost:hover { color: var(--fg); }

.btn-lg { padding: 14px 24px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 6px 14px; font-size: 0.8125rem; border-radius: 8px; }
.btn-full { width: 100%; }

.nav-actions { display: flex; gap: 8px; }

/* ===== FORMS ===== */
.form-stack { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.form-input {
  padding: 12px 14px; border: 1.5px solid rgba(26,46,26,0.15);
  border-radius: 10px; font-size: 1rem; font-family: 'Inter', sans-serif;
  background: var(--white); color: var(--fg); transition: border-color 0.15s;
  -webkit-appearance: none;
}
.form-input:focus { outline: none; border-color: var(--accent); }
.form-input::placeholder { color: var(--fg-muted); }

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; color: var(--fg);
}
.section-sub { font-size: 0.9375rem; color: var(--fg-muted); margin-bottom: 28px; }

/* ===== PHOTO ID UPLOAD ===== */
.photo-id-upload { border: 2px dashed rgba(26,46,26,0.2); border-radius: 12px; overflow: hidden; }
.photo-id-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px; cursor: pointer; color: var(--fg-muted); font-size: 0.875rem;
  text-align: center;
}
.photo-id-placeholder:hover { background: var(--green-pale); }
.photo-id-preview { padding: 12px; }
.photo-id-preview img { width: 100%; max-height: 160px; object-fit: cover; border-radius: 8px; }

/* ===== HOME HEADER ===== */
.home-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding: 0 4px;
}
.home-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; color: var(--fg-muted);
}

/* ===== GIG LIST ===== */
.gigs-list { display: flex; flex-direction: column; gap: 14px; }
.gigs-empty { text-align: center; padding: 48px 20px; color: var(--fg-muted); }
.gigs-empty p { margin-bottom: 16px; }
.gigs-loading { text-align: center; padding: 48px 20px; color: var(--fg-muted); }

.gig-card {
  background: var(--white); border: 1px solid rgba(26,46,26,0.08);
  border-radius: 14px; padding: 16px; cursor: pointer;
  transition: box-shadow 0.15s, transform 0.1s;
}
.gig-card:hover { box-shadow: 0 4px 16px rgba(26,46,26,0.08); transform: translateY(-1px); }

.gig-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.gig-title { font-weight: 600; font-size: 1rem; color: var(--fg); line-height: 1.3; flex: 1; margin-right: 12px; }
.gig-pay {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.125rem; color: var(--green); white-space: nowrap;
}
.gig-meta { display: flex; gap: 12px; margin-bottom: 8px; font-size: 0.8125rem; color: var(--fg-muted); }
.gig-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ===== DETAIL ===== */
.detail-header { margin-bottom: 20px; }
.detail-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem;
  font-weight: 700; margin-bottom: 12px; color: var(--fg);
}
.detail-pay { font-family: 'Space Grotesk', sans-serif; font-size: 1.75rem; font-weight: 700; color: var(--green); }
.detail-pay-note { font-size: 0.875rem; font-weight: 400; color: var(--fg-muted); }
.detail-desc { font-size: 1rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 24px; }
.detail-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; padding: 20px; background: var(--green-pale); border-radius: 12px; }
.detail-row { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--fg); }
.detail-stripe-note { margin-top: 14px; font-size: 0.8125rem; color: var(--fg-muted); text-align: center; }

/* ===== PROFILE ===== */
.profile-card { background: var(--white); border-radius: 14px; padding: 20px; margin-bottom: 20px; border: 1px solid rgba(26,46,26,0.08); }
.profile-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.profile-email { font-size: 0.875rem; color: var(--fg-muted); }
.profile-section { background: var(--white); border-radius: 14px; padding: 18px; margin-bottom: 14px; border: 1px solid rgba(26,46,26,0.08); }
.profile-label { font-weight: 600; font-size: 0.875rem; color: var(--fg); margin-bottom: 10px; }
.profile-note { font-size: 0.875rem; color: var(--fg-muted); margin-bottom: 12px; }

.stripe-badge { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 500; margin-bottom: 10px; }
.stripe-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fg-muted); }
.stripe-dot-ok { background: var(--green); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--fg); color: var(--white); padding: 12px 20px;
  border-radius: 10px; font-size: 0.875rem; font-weight: 500; z-index: 9999;
  transition: transform 0.3s ease; max-width: calc(100vw - 32px); text-align: center;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-success { background: var(--green); }
.toast-error { background: var(--red); }