/* ===== 修易达 FixEase - Repair Marketplace ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #FF7A00;
  --primary-light: #FFA040;
  --primary-dark: #E05500;
  --bg-dark: #0D0D0F;
  --bg-card: #16161A;
  --bg-card2: #1E1E24;
  --bg-glass: rgba(255, 122, 0, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-orange: rgba(255, 122, 0, 0.3);
  --text-primary: #F5F5F7;
  --text-secondary: #9999A8;
  --text-muted: #5A5A6A;
  --success: #34D48B;
  --danger: #FF4D6D;
  --warning: #FFD166;
  --gold: #FFD700;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(255, 122, 0, 0.2);
  --nav-height: 70px;
  --top-height: 60px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg-dark);
  font-family: 'Noto Sans SC', 'Inter', sans-serif;
  color: var(--text-primary);
}

/* ===== APP SHELL ===== */
#app {
  width: 100%;
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

/* ===== SCREENS ===== */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.screen.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

.screen-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: calc(var(--nav-height) + 10px);
  scrollbar-width: none;
}
.screen-content::-webkit-scrollbar { display: none; }

/* ===== TOP BAR ===== */
.top-bar {
  height: var(--top-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.top-bar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.top-bar-title {
  font-size: 18px;
  font-weight: 700;
}

.top-bar-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.top-bar-action:active { transform: scale(0.92); }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(22, 22, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  padding-bottom: 4px;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px 0;
  transition: all 0.2s;
}

.nav-item:active { transform: scale(0.9); }

.nav-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.2s;
}

.nav-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-item.active .nav-label { color: var(--primary); }
.nav-item.active .nav-icon { transform: translateY(-2px); }

.nav-post-btn {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 122, 0, 0.5);
  transition: all 0.2s;
  margin-bottom: 4px;
}
.nav-post-btn:active { transform: scale(0.9); }

/* ===== HERO SECTION ===== */
.hero {
  margin: 16px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1A0A00 0%, #2A1000 50%, #1A0800 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-orange);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,122,0,0.15);
  border: 1px solid var(--border-orange);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--primary-light);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 10px;
}

.btn-primary {
  flex: 1;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(255, 122, 0, 0.4);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  flex: 1;
  padding: 13px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.btn-secondary:active { transform: scale(0.97); }

/* ===== STATS ROW ===== */
.stats-row {
  display: flex;
  gap: 12px;
  margin: 0 16px 16px;
}

.stat-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  transition: all 0.2s;
}
.stat-card:active { transform: scale(0.97); }

.stat-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
}

.section-more {
  font-size: 13px;
  color: var(--primary);
  cursor: pointer;
}

/* ===== CATEGORY PILLS ===== */
.category-scroll {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar { display: none; }

.cat-pill {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cat-pill.active {
  background: rgba(255, 122, 0, 0.15);
  border-color: var(--border-orange);
  color: var(--primary-light);
}

/* ===== JOB CARDS ===== */
.job-cards {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.2s;
}

.job-card:active { transform: scale(0.98); border-color: var(--border-orange); }
.job-card:active::before { opacity: 1; }

.job-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.job-img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.job-img img { width: 100%; height: 100%; object-fit: cover; }

.job-meta { flex: 1; min-width: 0; }

.job-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.badge-orange {
  background: rgba(255,122,0,0.15);
  color: var(--primary-light);
}

.badge-blue {
  background: rgba(99,179,237,0.1);
  color: #63B3ED;
}

.badge-green {
  background: rgba(52,212,139,0.1);
  color: var(--success);
}

.badge-red {
  background: rgba(255,77,109,0.1);
  color: var(--danger);
}

.job-time {
  font-size: 12px;
  color: var(--text-muted);
}

.job-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.job-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-secondary);
}

.job-contact {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-blur {
  font-size: 13px;
  color: var(--text-secondary);
  filter: blur(5px);
  user-select: none;
  background: var(--bg-card2);
  padding: 4px 10px;
  border-radius: 6px;
}

.btn-unlock {
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-unlock:active { transform: scale(0.95); }

/* ===== POST FORM ===== */
.form-container {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-required {
  color: var(--danger);
  font-size: 12px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,122,0,0.1);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: none;
  line-height: 1.6;
}

.form-select option { background: var(--bg-card2); }

/* Photo Upload */
.photo-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-card);
}

.photo-upload-area:hover, .photo-upload-area.dragover {
  border-color: var(--primary);
  background: rgba(255,122,0,0.05);
}

.upload-icon { font-size: 36px; margin-bottom: 10px; }
.upload-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.upload-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.photo-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card2);
}

.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }

.photo-remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 20px; height: 20px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

/* Budget Slider */
.budget-display {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin: 8px 0;
}

.budget-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--bg-card2);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 2px 8px rgba(255,122,0,0.5);
  cursor: pointer;
}

/* Urgency buttons */
.urgency-group {
  display: flex;
  gap: 8px;
}

.urgency-btn {
  flex: 1;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: all 0.2s;
}

.urgency-btn.active-low {
  border-color: var(--success);
  background: rgba(52,212,139,0.1);
  color: var(--success);
}

.urgency-btn.active-mid {
  border-color: var(--warning);
  background: rgba(255,209,102,0.1);
  color: var(--warning);
}

.urgency-btn.active-high {
  border-color: var(--danger);
  background: rgba(255,77,109,0.1);
  color: var(--danger);
}

/* Submit Button */
.btn-large {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 6px 24px rgba(255, 122, 0, 0.45);
}
.btn-large:active { transform: scale(0.98); }
.btn-large:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== PROFILE SCREEN ===== */
.profile-header {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 4px 20px rgba(255,122,0,0.4);
}

.profile-name {
  font-size: 20px;
  font-weight: 800;
}

.profile-role {
  font-size: 13px;
  color: var(--text-secondary);
}

.membership-card {
  margin: 0 16px 16px;
  padding: 20px;
  background: linear-gradient(135deg, #1A0A00, #2A1500);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.membership-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,215,0,0.2), transparent 70%);
}

.membership-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.badge-crown { font-size: 24px; }

.badge-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}

.badge-info p {
  font-size: 12px;
  color: var(--text-secondary);
}

.membership-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.perk-icon { color: var(--gold); font-size: 14px; }

.membership-plans {
  display: flex;
  gap: 8px;
}

.plan-card {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.plan-card.featured {
  border-color: var(--gold);
  background: rgba(255,215,0,0.07);
}

.plan-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
}

.plan-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-name {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.plan-tag {
  font-size: 10px;
  background: var(--gold);
  color: #000;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}

.profile-menu {
  margin: 0 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid var(--border);
}
.menu-item:last-child { border-bottom: none; }
.menu-item:active { background: var(--bg-card2); }

.menu-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.menu-text { flex: 1; }
.menu-title { font-size: 15px; font-weight: 600; }
.menu-subtitle { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.menu-arrow { color: var(--text-muted); font-size: 14px; }

/* ===== MODAL ===== */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.modal-sheet {
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 0 0 30px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.show .modal-sheet {
  transform: translateY(0);
}

.modal-handle {
  width: 36px; height: 5px;
  background: var(--border);
  border-radius: 3px;
  margin: 12px auto 20px;
}

.modal-body { padding: 0 20px; }

.modal-icon {
  font-size: 54px;
  text-align: center;
  display: block;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.modal-title {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 24px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.benefit-icon { font-size: 24px; }
.benefit-text { flex: 1; }
.benefit-title { font-size: 14px; font-weight: 700; }
.benefit-desc { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.price-main {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
}

.price-period {
  font-size: 14px;
  color: var(--text-secondary);
}

.price-original {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ===== SUCCESS ANIMATION ===== */
.success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.success-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.success-circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #00D4A1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin-bottom: 20px;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.success-text {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.success-sub {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.filter-btn.active {
  background: rgba(255,122,0,0.15);
  border-color: var(--border-orange);
  color: var(--primary-light);
}

/* ===== SEARCH BAR ===== */
.search-bar {
  margin: 0 16px 16px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--primary); }
.search-input::placeholder { color: var(--text-muted); }

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-muted);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 30px;
  display: none;
}

.empty-icon { font-size: 64px; margin-bottom: 16px; }
.empty-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-text { font-size: 14px; color: var(--text-secondary); }

/* ===== NOTIFICATION DOT ===== */
.notif-dot {
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
  position: absolute;
  top: 6px; right: 6px;
}

/* ===== LOADING CARD ===== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card2) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== FLOATING LABEL EFFECT ===== */
.form-tip {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  margin: 0 16px 16px;
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.how-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.how-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.how-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(255,122,0,0.05);
}

.how-steps {
  padding: 16px;
  display: none;
}

.how-steps.active { display: block; }

.how-step {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.how-step:last-child { margin-bottom: 0; }

.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.step-text p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ===== SCROLLBAR WITHIN APP ===== */
#app * { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }

/* ===== TOASTS ===== */
.toast-container {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-card);
  animation: slideDown 0.3s ease;
}

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

.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.warning { border-color: var(--warning); }

/* ===== REGISTER MODAL ===== */
.register-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.auth-tabs {
  display: flex;
  background: var(--bg-card2);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 4px;
}

.auth-tab {
  flex: 1;
  padding: 9px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  color: var(--text-secondary);
}

.auth-tab.active {
  background: var(--primary);
  color: white;
}

/* ===== JOB DETAIL POPUP ===== */
.job-detail-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.job-detail-photos::-webkit-scrollbar { display: none; }

.detail-photo {
  width: 120px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,122,0,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(255,122,0,0); }
}

.pulse { animation: pulse 2s infinite; }

/* ===== LOGIN / REGISTER SCREEN ===== */
.auth-screen {
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow-y: auto;
}

.auth-logo {
  font-size: 64px;
  margin-bottom: 16px;
}

.auth-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  text-align: center;
}

.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-role-select {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}

.role-card {
  flex: 1;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.role-card.selected {
  border-color: var(--primary);
  background: rgba(255,122,0,0.1);
}

.role-card-icon { font-size: 28px; display: block; margin-bottom: 6px; }
.role-card-name { font-size: 14px; font-weight: 700; }
.role-card-desc { font-size: 11px; color: var(--text-secondary); margin-top: 3px; }

.link-text {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 12px;
}

.link-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
