/* =============================================
   GIG-BW MAIN STYLESHEET
   Botswana's #1 Verified Gig Platform
   ============================================= */

:root {
  --primary: #FF6B00;
  --primary-dark: #E05500;
  --primary-light: #FF8C38;
  --secondary: #1A1A2E;
  --accent: #0082C8; /* Orange Botswana blue */
  --accent-light: #E8F4FC;
  --success: #22C55E;
  --danger: #EF4444;
  --warning: #F59E0B;
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all .2s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 15px; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ---- UTILITIES ---- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.center-btn { text-align: center; margin-top: 40px; }
.text-green { color: var(--success); }
.text-danger, .text-red { color: var(--danger); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.float-right { float: right; }
.small { font-size: 12px; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---- ANNOUNCEMENT BAR ---- */
.announcement-bar {
  background: var(--secondary);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
}
.announcement-bar a { color: var(--primary-light); font-weight: 600; }

/* ---- NAVBAR ---- */
.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; gap: 20px; padding: 14px 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: var(--text); flex-shrink: 0; }
.logo-icon { font-size: 26px; }
.logo-accent { color: var(--primary); }
.nav-search { flex: 1; max-width: 480px; }
.search-box { display: flex; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg); }
.search-box input { flex: 1; border: none; background: transparent; padding: 9px 14px; outline: none; font-size: 14px; min-width: 0; }
.search-box select { border: none; border-left: 1px solid var(--border); background: transparent; padding: 9px 10px; outline: none; font-size: 13px; cursor: pointer; color: var(--text-muted); }
.btn-search { background: var(--primary); color: #fff; border: none; padding: 9px 14px; cursor: pointer; transition: var(--transition); }
.btn-search:hover { background: var(--primary-dark); }
.nav-links { display: flex; align-items: center; gap: 12px; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; padding: 4px; }
.mobile-nav { display: none; flex-direction: column; background: var(--surface); border-top: 1px solid var(--border); padding: 12px 20px; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 10px 0; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); }
.notif-bell { font-size: 18px; position: relative; }
.badge { background: var(--danger); color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; position: absolute; top: -6px; right: -6px; font-weight: 700; }
.nav-user { position: relative; }
.user-avatar-wrap { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 10px; border-radius: 8px; border: 1.5px solid var(--border); font-size: 14px; font-weight: 500; }
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.nav-avatar-placeholder { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.caret { font-size: 10px; color: var(--text-muted); }
.dropdown-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 180px; z-index: 999; overflow: hidden; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 16px; color: var(--text); font-size: 14px; }
.dropdown-menu a:hover { background: var(--bg); }
.dropdown-menu hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; border: 2px solid transparent; transition: var(--transition); text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #dc2626; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-lg { padding: 12px 28px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 6px; }
.btn-xs { padding: 4px 8px; font-size: 12px; border-radius: 4px; }
.btn-full { width: 100%; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,0,.12); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
.form-check input { width: auto; margin-top: 3px; }
.form-check label { font-size: 13px; color: var(--text-muted); }
.req { color: var(--danger); }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }

/* ---- ALERTS ---- */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.alert-success { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
.alert-danger { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: var(--accent-light); color: #1E3A5F; border: 1px solid #BAD4E8; }

/* ---- CARDS ---- */
.card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow); }
.card h2 { font-size: 20px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ---- HERO ---- */
.hero { background: var(--secondary); color: #fff; padding: 80px 0 60px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,107,0,.15); border: 1px solid rgba(255,107,0,.3); color: var(--primary-light); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero-title { font-size: clamp(32px, 4.5vw, 54px); font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
.hero-title .accent { color: var(--primary); }
.hero-subtitle { font-size: 17px; color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 32px; line-height: 1.7; }
.hero-search { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 28px; }
.hero-search-box { display: flex; gap: 0; border: 2px solid rgba(255,255,255,.2); border-radius: 10px; overflow: hidden; background: #fff; }
.hs-input, .hs-select { display: flex; align-items: center; gap: 10px; padding: 12px 16px; flex: 1; min-width: 0; }
.hs-input { border-right: 1px solid var(--border); }
.hs-input span, .hs-select span { font-size: 18px; flex-shrink: 0; }
.hs-input input, .hs-select select { border: none; outline: none; background: transparent; flex: 1; font-size: 15px; color: var(--text); min-width: 0; }
.hs-select select { cursor: pointer; color: var(--text-muted); font-size: 14px; }
.hero-search-box .btn { border-radius: 0; padding: 12px 24px; font-size: 15px; flex-shrink: 0; }
.hero-popular { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-popular span { color: rgba(255,255,255,.6); font-size: 13px; }
.pop-tag { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); padding: 4px 12px; border-radius: 999px; font-size: 13px; transition: var(--transition); }
.pop-tag:hover { background: rgba(255,107,0,.3); color: #fff; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hs { display: flex; flex-direction: column; }
.hs strong { font-size: 22px; font-weight: 800; color: var(--primary-light); }
.hs span { font-size: 13px; color: rgba(255,255,255,.6); }
.hero-visual { flex-shrink: 0; }
.hero-card-float { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); padding: 24px; min-width: 200px; backdrop-filter: blur(10px); }
.hcf-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9); }
.hcf-item:last-child { border-bottom: none; }

/* ---- SECTION HEADERS ---- */
.section-header-center { text-align: center; margin-bottom: 48px; }
.section-header-center h2 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.section-header-center p { color: var(--text-muted); font-size: 17px; max-width: 480px; margin: 0 auto; }

/* ---- CATEGORIES ---- */
.category-grid-home { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.cat-card-home { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px 12px; text-align: center; color: var(--text); transition: var(--transition); cursor: pointer; }
.cat-card-home:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--primary); }
.cat-icon-lg { font-size: 32px; display: block; margin-bottom: 8px; }
.cat-name { font-size: 13px; font-weight: 600; }

/* ---- HOW IT WORKS ---- */
.how-it-works { background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { background: var(--surface); border-radius: var(--radius-lg); padding: 28px 24px; border: 1.5px solid var(--border); text-align: center; position: relative; opacity: 0; transform: translateY(20px); transition: all .5s ease; }
.step-card.revealed { opacity: 1; transform: translateY(0); }
.step-num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; width: 28px; height: 28px; border-radius: 50%; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-icon { font-size: 36px; margin: 10px 0; }
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---- ARTISAN CARDS ---- */
.artisan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.artisan-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); position: relative; display: flex; flex-direction: column; opacity: 0; transform: translateY(16px); }
.artisan-card.revealed, .artisan-card { opacity: 1; transform: none; }
.artisan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.artisan-card a { color: inherit; }
.featured-card { border-color: var(--warning); }
.featured-ribbon { background: var(--warning); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; text-align: center; }
.verified-dot { position: absolute; top: 42px; right: 12px; font-size: 18px; z-index: 2; }
.artisan-photo-wrap { position: relative; width: 80px; height: 80px; margin: 20px auto 0; }
.artisan-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); box-shadow: var(--shadow); }
.artisan-photo-ph { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.avail-indicator { position: absolute; bottom: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--surface); }
.avail-available { background: var(--success); }
.avail-busy { background: var(--warning); }
.avail-offline { background: var(--text-light); }
.artisan-card-body { padding: 14px 16px 0; flex: 1; }
.artisan-card-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.artisan-tagline { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.artisan-card-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.artisan-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 10px; }
.artisan-footer { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.artisan-rate { font-weight: 700; color: var(--primary); font-size: 13px; }
.hire-btn { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* ---- STARS ---- */
.star, .star-i { color: var(--warning); }
.star.empty, .star-i { color: #D1D5DB; }
.star.filled, .star-i.filled { color: var(--warning); }

/* ---- TRUST SECTION ---- */
.trust-section { background: var(--secondary); color: #fff; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.trust-left h2 { font-size: 36px; font-weight: 800; margin-bottom: 18px; line-height: 1.2; }
.trust-left p { color: rgba(255,255,255,.75); margin-bottom: 32px; font-size: 16px; line-height: 1.7; }
.trust-points { display: flex; flex-direction: column; gap: 20px; }
.tp { display: flex; gap: 16px; }
.tp span { font-size: 28px; flex-shrink: 0; }
.tp strong { display: block; font-size: 15px; margin-bottom: 4px; }
.tp p { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.6; }
.trust-card-big { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-xl); padding: 36px; text-align: center; }
.tcb-icon { font-size: 64px; margin-bottom: 20px; }
.trust-card-big h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.trust-card-big p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.tcb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcb-stats div { background: rgba(255,255,255,.08); border-radius: 10px; padding: 16px; }
.tcb-stats strong { display: block; font-size: 22px; font-weight: 800; color: var(--primary-light); }
.tcb-stats small { color: rgba(255,255,255,.6); font-size: 12px; }

/* ---- JOIN SECTION ---- */
.join-section { background: var(--primary); }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.join-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-xl); padding: 40px; text-align: center; color: #fff; }
.join-card span { font-size: 48px; display: block; margin-bottom: 16px; }
.join-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.join-card p { color: rgba(255,255,255,.8); margin-bottom: 24px; font-size: 15px; }
.join-card .btn { background: #fff; color: var(--primary); border-color: #fff; }
.join-card .btn:hover { background: rgba(255,255,255,.9); }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; border: 1.5px solid var(--border); box-shadow: var(--shadow); }
.tcard-stars { color: var(--warning); font-size: 18px; margin-bottom: 14px; }
.testimonial-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.tcard-author strong { display: block; font-weight: 700; }
.tcard-author span { color: var(--text-muted); font-size: 13px; }

/* ---- FOOTER ---- */
.footer { background: var(--secondary); color: rgba(255,255,255,.8); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 34px; height: 34px; background: rgba(255,255,255,.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); font-weight: 700; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: 14px; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-badges { display: flex; gap: 12px; }
.badge-item { background: rgba(255,255,255,.07); padding: 5px 12px; border-radius: 999px; font-size: 12px; color: rgba(255,255,255,.7); }

/* ---- AUTH ---- */
.auth-section { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; width: 100%; max-width: 500px; box-shadow: var(--shadow-xl); }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h1 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.auth-header p { color: var(--text-muted); }
.auth-form { display: flex; flex-direction: column; }
.auth-footer { text-align: center; color: var(--text-muted); font-size: 14px; margin-top: 16px; }
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.role-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 8px; border: 1.5px solid var(--border); color: var(--text-muted); font-weight: 600; font-size: 14px; transition: var(--transition); }
.role-btn.active { border-color: var(--primary); color: var(--primary); background: rgba(255,107,0,.06); }
.auth-perks { background: var(--accent-light); border-radius: var(--radius); padding: 18px; margin-top: 20px; }
.auth-perks h4 { margin-bottom: 10px; font-size: 14px; }
.auth-perks ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.auth-perks li { font-size: 13px; color: var(--text-muted); }

/* ---- DASHBOARD ---- */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 32px 0; min-height: 80vh; }
.dashboard-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; height: fit-content; position: sticky; top: 100px; }
.sidebar-profile { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.sidebar-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.sidebar-avatar-placeholder { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.sidebar-profile strong { display: block; font-size: 14px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a { padding: 9px 12px; border-radius: 8px; color: var(--text-muted); font-size: 14px; font-weight: 500; transition: var(--transition); }
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,107,0,.08); color: var(--primary); }
.dashboard-main { min-width: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.stat-card.highlight { border-color: var(--primary); background: linear-gradient(135deg, rgba(255,107,0,.05) 0%, rgba(255,107,0,.02) 100%); }
.stat-icon { font-size: 28px; margin-bottom: 8px; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--text-muted); }
.dashboard-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.section-header h3 { font-size: 16px; font-weight: 700; }
.link { color: var(--primary); font-size: 13px; font-weight: 600; }
.welcome-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.welcome-banner h2 { font-size: 20px; margin-bottom: 6px; }
.welcome-banner p { opacity: .85; font-size: 14px; }
.completion-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.completion-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.completion-pct { font-size: 20px; font-weight: 800; color: var(--primary); }
.progress-bar { background: var(--border); border-radius: 999px; height: 8px; margin-bottom: 12px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 999px; transition: width .5s ease; }
.completion-tips { display: flex; flex-wrap: wrap; gap: 8px; }
.completion-tips a { font-size: 13px; color: var(--primary); background: rgba(255,107,0,.08); padding: 4px 10px; border-radius: 999px; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.empty-state p { margin-bottom: 16px; }
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--bg); border-radius: 8px; gap: 12px; }
.job-item .job-info { flex: 1; min-width: 0; }
.job-item .job-info strong { display: block; font-size: 14px; }
.job-info span { font-size: 12px; color: var(--text-muted); }
.job-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.price { font-weight: 700; color: var(--primary); }
.notif-list { display: flex; flex-direction: column; gap: 8px; }
.notif-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; background: var(--bg); border-radius: 8px; font-size: 13px; }
.cta-verify { background: linear-gradient(135deg, #E8F4FC 0%, #d4ebf8 100%); border: 1px solid #BAD4E8; border-radius: var(--radius-lg); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cta-content { display: flex; align-items: center; gap: 16px; }
.cta-badge { font-size: 40px; }
.cta-content h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cta-content p { font-size: 13px; color: var(--text-muted); }

/* ---- STATUS BADGES ---- */
.status { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; display: inline-block; }
.status-open { background: #DBEAFE; color: #1D4ED8; }
.status-pending { background: #FEF3C7; color: #92400E; }
.status-accepted, .status-in_progress { background: #D1FAE5; color: #065F46; }
.status-completed { background: #DCFCE7; color: #166534; }
.status-disputed { background: #FEE2E2; color: #991B1B; }
.status-cancelled, .status-banned, .status-suspended { background: #F1F5F9; color: #475569; }
.status-refunded { background: #E0E7FF; color: #3730A3; }
.escrow-none { color: var(--text-muted); font-size: 12px; }
.escrow-held { color: var(--warning); font-weight: 600; font-size: 12px; }
.escrow-released { color: var(--success); font-weight: 600; font-size: 12px; }
.escrow-refunded { color: var(--accent); font-weight: 600; font-size: 12px; }

/* ---- JOB CARDS ---- */
.job-cards { display: flex; flex-direction: column; gap: 16px; }
.job-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: var(--transition); }
.job-card:hover { box-shadow: var(--shadow-md); }
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 12px; }
.job-card-header h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.job-customer, .job-artisan { font-size: 13px; color: var(--text-muted); }
.job-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }
.job-card-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.job-amounts { display: flex; flex-direction: column; gap: 2px; }
.job-amounts .price { font-size: 18px; }
.job-amounts small { font-size: 12px; color: var(--text-muted); }
.job-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.job-meta-bar { display: flex; gap: 14px; font-size: 12px; color: var(--text-muted); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.urgent-tag { background: #FEE2E2; color: var(--danger); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.tag-done { font-size: 13px; color: var(--success); font-weight: 600; }
.open-note { font-size: 12px; color: var(--text-muted); font-style: italic; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tab { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--border); font-size: 13px; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.tab-count { background: rgba(255,255,255,.25); border-radius: 999px; padding: 1px 6px; font-size: 11px; margin-left: 4px; }

/* ---- SEARCH ---- */
.search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 28px 20px; max-width: 1240px; margin: 0 auto; }
.search-filters { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; height: fit-content; position: sticky; top: 100px; }
.search-filters h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.filter-group { margin-bottom: 18px; }
.filter-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.filter-group input, .filter-group select { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; }
.category-quick { margin-top: 20px; }
.category-quick h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.cat-pill { display: block; padding: 7px 10px; border-radius: 6px; font-size: 13px; color: var(--text-muted); transition: var(--transition); margin-bottom: 2px; }
.cat-pill:hover, .cat-pill.active { background: rgba(255,107,0,.08); color: var(--primary); }
.results-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.results-header h2 { font-size: 20px; font-weight: 700; }
.filter-pill { background: #FEF3C7; color: #92400E; padding: 4px 10px; border-radius: 999px; font-size: 12px; }

/* ---- PROFILE PAGE ---- */
.profile-page { padding: 32px 0; }
.profile-header-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; margin-bottom: 24px; display: flex; gap: 24px; align-items: flex-start; box-shadow: var(--shadow-md); }
.profile-photo-wrap { position: relative; flex-shrink: 0; }
.profile-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); box-shadow: var(--shadow-md); }
.profile-photo-placeholder { width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 800; }
.avail-dot { position: absolute; bottom: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; }
.profile-info { flex: 1; min-width: 0; }
.profile-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.profile-name-row h1 { font-size: 26px; font-weight: 800; }
.verified-badge-lg { background: #E8F4FC; color: #1E3A5F; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid #BAD4E8; }
.profile-tagline { font-size: 16px; color: var(--text-muted); margin-bottom: 12px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.profile-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.profile-rate { display: flex; gap: 10px; align-items: center; }
.rate-tag { background: var(--bg); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--primary); }
.avail-tag { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.avail-tag.avail-available { background: #D1FAE5; color: #065F46; }
.avail-tag.avail-busy { background: #FEF3C7; color: #92400E; }
.avail-tag.avail-offline { background: #F1F5F9; color: #475569; }
.profile-cta { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; min-width: 180px; }
.profile-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-body { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.profile-main { min-width: 0; }
.profile-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.profile-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.skills-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag { background: var(--bg); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: 13px; color: var(--text); }
.portfolio-grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.portfolio-card { border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 1; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: flex-end; padding: 10px; opacity: 0; transition: opacity .3s; }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span { color: #fff; font-size: 13px; font-weight: 600; }
.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-card { background: var(--bg); border-radius: var(--radius); padding: 18px; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.review-avatar-ph { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.review-sub-ratings { display: flex; gap: 14px; font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.review-reply { background: rgba(255,107,0,.06); border-left: 3px solid var(--primary); padding: 10px; border-radius: 4px; font-size: 13px; color: var(--text-muted); margin-top: 10px; }
.review-date { color: var(--text-light); font-size: 12px; margin-top: 6px; display: block; }
.profile-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.sidebar-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.sidebar-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; text-align: center; }
.sidebar-stats div { background: var(--bg); border-radius: 8px; padding: 12px 8px; }
.sidebar-stats span { display: block; font-size: 18px; font-weight: 800; color: var(--text); }
.sidebar-stats small { color: var(--text-muted); font-size: 11px; }
.cert-mini { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.cert-mini:last-child { border-bottom: none; }
.cert-mini span { font-size: 20px; }
.cert-mini strong { display: block; font-size: 13px; }
.cert-mini small { font-size: 12px; color: var(--text-muted); }
.trust-card { text-align: center; background: linear-gradient(135deg, #E8F4FC 0%, #d4ebf8 100%); border-color: #BAD4E8; }
.trust-icon { font-size: 36px; margin-bottom: 10px; }
.trust-card h3 { font-size: 15px; margin-bottom: 8px; }
.trust-card p { font-size: 13px; color: var(--text-muted); }

/* ---- LIGHTBOX ---- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; z-index: 9999; }
.lightbox.open { display: flex; }
.lightbox-content { max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 75vh; object-fit: contain; border-radius: 8px; }
.lightbox-content p { color: #fff; margin: 12px 0; }
.lightbox-content button { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); padding: 8px 20px; border-radius: 6px; cursor: pointer; }

/* ---- QR CODE ---- */
.qr-card { background: var(--surface); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 40px; max-width: 480px; margin: 40px auto; text-align: center; box-shadow: var(--shadow-xl); }
.qr-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.job-brief { background: var(--bg); border-radius: var(--radius); padding: 14px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 4px; }
.job-brief strong { font-size: 16px; }
.job-brief span { font-size: 13px; color: var(--text-muted); }
.qr-container { margin-bottom: 24px; }
.qr-image { width: 200px; height: 200px; margin: 0 auto 16px; border-radius: 12px; border: 4px solid var(--primary); padding: 8px; background: #fff; }
.qr-instruction { color: var(--text-muted); font-size: 14px; }
.qr-steps { text-align: left; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.qr-steps .step { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.qr-steps .step span { background: var(--primary); color: #fff; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.qr-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
.qr-generated { font-size: 12px; color: var(--text-light); }
.qr-confirm-card { background: var(--surface); border-radius: var(--radius-xl); padding: 40px; max-width: 480px; margin: 40px auto; text-align: center; box-shadow: var(--shadow-xl); border: 1px solid var(--border); }
.confirm-header .confirm-icon { font-size: 48px; margin-bottom: 16px; }
.confirm-header h1 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.confirm-job-details { background: var(--bg); border-radius: var(--radius); padding: 20px; margin: 20px 0; text-align: left; }
.confirm-job-details h3 { font-size: 16px; margin-bottom: 14px; }
.confirm-artisan { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.confirm-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.confirm-avatar-ph { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.confirm-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.confirm-amounts div { background: var(--surface); border-radius: 8px; padding: 12px; text-align: center; border: 1px solid var(--border); }
.confirm-amounts span { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.confirm-amounts strong { font-size: 18px; font-weight: 800; }
.payout { color: var(--success); }
.confirm-warning { background: #FEF3C7; border-radius: var(--radius); padding: 14px; margin-bottom: 16px; text-align: left; font-size: 14px; }
.confirm-btn { margin-bottom: 12px; }
.confirm-success .success-icon { font-size: 56px; margin-bottom: 16px; }
.confirm-success h2 { font-size: 18px; font-weight: 700; }

/* ---- PAYMENT ---- */
.payment-section { padding: 40px 0; }
.payment-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; max-width: 520px; margin: 0 auto; box-shadow: var(--shadow-xl); }
.payment-header { text-align: center; margin-bottom: 28px; }
.payment-lock { font-size: 48px; margin-bottom: 12px; }
.payment-header h1 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.payment-header p { color: var(--text-muted); font-size: 14px; }
.order-summary { background: var(--bg); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.order-summary h3 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.total-row { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-size: 16px; }
.total-price { color: var(--primary); font-size: 20px; font-weight: 800; }
.summary-note { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.orange-money-logo { font-size: 18px; font-weight: 700; margin: 12px 0; color: #FF6B00; }
.escrow-explanation { background: #E8F4FC; border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.escrow-explanation h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: #1E3A5F; }
.escrow-explanation ol { padding-left: 18px; font-size: 13px; color: #374151; line-height: 1.8; }
.payment-secure-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* ---- HIRE ---- */
.hire-section { padding: 40px 0; }
.hire-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.hire-form-wrap h1 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.hire-subtitle { color: var(--text-muted); margin-bottom: 24px; font-size: 15px; }
.hire-form { display: flex; flex-direction: column; gap: 0; }
.price-breakdown { color: var(--text-muted); font-size: 12px; }
.escrow-info-box { background: #E8F4FC; border-radius: var(--radius); padding: 14px; margin: 16px 0; font-size: 14px; }
.escrow-info-box strong { display: block; margin-bottom: 6px; color: #1E3A5F; }
.artisan-mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.artisan-mini { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.mini-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.mini-photo-ph { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.guarantee-card { background: #D1FAE5; border-radius: var(--radius); padding: 16px; border: 1px solid #A7F3D0; }
.guarantee-card h4 { font-size: 14px; font-weight: 700; color: #065F46; margin-bottom: 10px; }
.guarantee-card ul { list-style: none; font-size: 13px; color: #065F46; line-height: 1.8; }

/* ---- SUBSCRIPTION ---- */
.subscription-section { padding: 48px 0; }
.sub-header { text-align: center; margin-bottom: 48px; }
.sub-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.sub-header p { color: var(--text-muted); font-size: 17px; }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.plan-card { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-xl); padding: 28px; position: relative; transition: var(--transition); }
.plan-card:hover { box-shadow: var(--shadow-lg); }
.featured-plan { border-color: var(--primary); box-shadow: var(--shadow-md); }
.current-plan { border-color: var(--success); }
.popular-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.plan-badge { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.plan-badge.blue { color: var(--accent); }
.plan-badge.gold { color: var(--primary); }
.plan-badge.purple { color: #7C3AED; }
.plan-price { margin-bottom: 20px; }
.price-amt { font-size: 32px; font-weight: 800; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.plan-features li { font-size: 13px; color: var(--text-muted); }
.plan-features li.disabled { color: var(--text-light); }
.plan-btn-disabled { display: block; text-align: center; padding: 10px; background: var(--bg); border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.featured-offer-card { background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%); border: 1.5px solid #FED7AA; border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.featured-offer-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.featured-offer-card p { color: var(--text-muted); margin-bottom: 20px; }

/* ---- VERIFY PAGE ---- */
.verify-hero { text-align: center; padding: 32px 0; }
.verify-badge-big { font-size: 56px; margin-bottom: 16px; }
.verify-hero h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.verify-hero p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 15px; line-height: 1.7; }
.verified-status { display: flex; align-items: center; gap: 16px; }
.big-check { font-size: 36px; }
.verify-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.benefit-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.benefit-card span { font-size: 28px; display: block; margin-bottom: 8px; }
.benefit-card strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.benefit-card p { font-size: 12px; color: var(--text-muted); }
.verify-faq { margin-top: 28px; }
.faq-item { background: var(--bg); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; }
.faq-item strong { display: block; font-weight: 700; margin-bottom: 4px; }
.faq-item p { font-size: 14px; color: var(--text-muted); }
.info-text { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* ---- PROFILE EDIT ---- */
.profile-preview-bar { background: var(--accent-light); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.current-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.portfolio-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); position: relative; }
.portfolio-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.portfolio-info { padding: 10px; }
.portfolio-info strong { display: block; font-size: 13px; font-weight: 600; }
.portfolio-info p { font-size: 12px; color: var(--text-muted); }
.portfolio-delete { position: absolute; top: 6px; right: 6px; }
.cert-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.cert-item { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--bg); border-radius: 8px; }
.cert-icon { font-size: 22px; }
.cert-item strong { display: block; font-size: 14px; }
.cert-item span { display: block; font-size: 12px; color: var(--text-muted); }
.cert-verified { background: #D1FAE5; color: #065F46; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }

/* ---- EARNINGS ---- */
.simple-chart { display: flex; align-items: flex-end; gap: 12px; height: 160px; padding: 20px 0 0; }
.chart-bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.chart-bar { width: 100%; background: var(--primary); border-radius: 4px 4px 0 0; min-height: 5px; transition: height .4s ease; cursor: pointer; }
.admin-bar { background: var(--accent); }
.chart-label { font-size: 11px; color: var(--text-muted); }
.chart-val { font-size: 10px; color: var(--text-muted); }
.info-box { background: var(--bg); border-radius: var(--radius); padding: 14px; font-size: 13px; color: var(--text-muted); }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { background: var(--bg); padding: 12px 14px; text-align: left; font-weight: 700; font-size: 12px; color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }
.row-highlight td { background: rgba(245,158,11,.05); }
.action-cell { display: flex; gap: 4px; flex-wrap: wrap; }

/* ---- ADMIN ---- */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--secondary); color: #fff; padding: 20px; }
.admin-logo { font-size: 18px; font-weight: 800; padding: 0 0 20px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 16px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav a { padding: 10px 12px; border-radius: 8px; color: rgba(255,255,255,.7); font-size: 14px; font-weight: 500; transition: var(--transition); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-nav hr { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 8px 0; }
.danger-link { color: rgba(239,68,68,.8) !important; }
.danger-link:hover { background: rgba(239,68,68,.15) !important; color: var(--danger) !important; }
.admin-main { padding: 28px; background: var(--bg); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-header h1 { font-size: 24px; font-weight: 800; }
.admin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; border-left: 4px solid transparent; box-shadow: var(--shadow); }
.kpi.green { border-left-color: var(--success); }
.kpi.blue { border-left-color: var(--accent); }
.kpi.orange { border-left-color: var(--primary); }
.kpi.purple { border-left-color: #7C3AED; }
.kpi-val { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.kpi-label { font-size: 13px; color: var(--text-muted); }
.admin-stats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; margin-bottom: 24px; }
.ast { background: var(--surface); border-radius: var(--radius); padding: 16px; text-align: center; border: 1px solid var(--border); }
.ast strong { display: block; font-size: 22px; font-weight: 800; }
.ast small { font-size: 11px; color: var(--text-muted); }
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.admin-section { background: var(--surface); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); margin-bottom: 20px; }
.admin-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.admin-filter-bar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-filter-bar input, .admin-filter-bar select { padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; }
.revenue-breakdown { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; margin-bottom: 20px; }
.rev-item { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
.rev-item:last-child { border-bottom: none; }
.rev-item.total { background: var(--bg); font-weight: 700; font-size: 16px; }
.role-badge { padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.role-artisan { background: #E8F4FC; color: #1E3A5F; }
.role-customer { background: #EDE9FE; color: #5B21B6; }
.badge-ok { background: #D1FAE5; color: #065F46; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge-warn { background: #FEF3C7; color: #92400E; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge-err { background: #FEE2E2; color: #991B1B; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge-grey { background: #F1F5F9; color: #475569; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }

/* ---- CUSTOMER DASHBOARD ---- */
.customer-dash { padding: 32px 0; }
.dashboard-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.action-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; color: var(--text); transition: var(--transition); cursor: pointer; }
.action-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.action-card span { font-size: 36px; display: block; margin-bottom: 10px; }
.action-card strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.action-card p { font-size: 13px; color: var(--text-muted); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.cat-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 10px; text-align: center; color: var(--text); transition: var(--transition); cursor: pointer; font-size: 13px; }
.cat-card:hover { border-color: var(--primary); color: var(--primary); }
.cat-card .cat-icon { font-size: 24px; display: block; margin-bottom: 6px; }
.artisan-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.artisan-mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; min-width: 140px; text-align: center; flex-shrink: 0; }
.mini-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; }
.mini-av-ph { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin: 0 auto 8px; }
.mini-rating { font-size: 12px; color: var(--warning); margin: 4px 0; }
.vbd { color: var(--accent); font-size: 14px; }
.tiny-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: inline-block; vertical-align: middle; margin-right: 4px; }
.verified-dot-sm { font-size: 12px; vertical-align: middle; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.page-header h1 { font-size: 24px; font-weight: 800; }
.job-date { font-size: 12px; color: var(--text-light); margin-top: 8px; display: block; }

/* ---- MESSAGES ---- */
.messages-layout { display: grid; grid-template-columns: 260px 1fr; gap: 0; height: calc(100vh - 180px); min-height: 500px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0; }
.msg-sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 16px; overflow-y: auto; }
.msg-sidebar h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.conv-item { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 8px; color: var(--text); font-size: 14px; }
.conv-item:hover, .conv-item.active { background: rgba(255,107,0,.07); color: var(--primary); }
.conv-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-size: 14px; }
.msg-main { background: var(--bg); display: flex; flex-direction: column; }
.msg-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.msg-thread { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg-bubble { max-width: 70%; }
.msg-bubble.mine { align-self: flex-end; text-align: right; }
.msg-bubble.theirs { align-self: flex-start; }
.msg-bubble p { background: var(--surface); border-radius: 12px; padding: 10px 14px; font-size: 14px; border: 1px solid var(--border); }
.msg-bubble.mine p { background: var(--primary); color: #fff; border-color: var(--primary); }
.msg-bubble small { font-size: 11px; color: var(--text-light); display: block; margin-top: 4px; }
.msg-form { background: var(--surface); border-top: 1px solid var(--border); padding: 14px; display: flex; gap: 10px; }
.msg-form textarea { flex: 1; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 14px; resize: none; font-size: 14px; max-height: 100px; }
.msg-form textarea:focus { border-color: var(--primary); outline: none; }

/* ---- MISC PAGES ---- */
.review-section { padding: 40px 0; }
.review-card-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; max-width: 480px; margin: 0 auto; box-shadow: var(--shadow-xl); }
.star-rating-input { text-align: center; margin-bottom: 24px; }
.stars-interactive { font-size: 40px; cursor: pointer; margin-bottom: 8px; }
.star-i { color: #D1D5DB; transition: color .15s; }
.star-i.filled { color: var(--warning); }
.rating-label { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.sub-ratings { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.dispute-section { padding: 40px 0; }
.dispute-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; max-width: 560px; margin: 0 auto; box-shadow: var(--shadow-xl); }
.dispute-card h1 { margin-bottom: 8px; }
.job-summary { background: var(--bg); border-radius: var(--radius); padding: 14px; margin: 16px 0; font-size: 14px; line-height: 1.8; }
.dispute-warning { background: #FEF3C7; border-radius: var(--radius); padding: 14px; margin: 16px 0; font-size: 13px; color: #92400E; }
.dispute-detail .dispute-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.dispute-reason h4 { font-weight: 700; margin-bottom: 6px; }
.dispute-actions { display: flex; gap: 12px; margin-top: 16px; }
.resolved-note { background: #D1FAE5; border-radius: var(--radius); padding: 12px; font-size: 14px; }
.notif-page-list { display: flex; flex-direction: column; gap: 10px; max-width: 640px; padding: 24px 0; }
.notif-page-item { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.notif-page-item.unread { border-left: 3px solid var(--primary); }
.notif-link { font-size: 13px; color: var(--primary); font-weight: 600; }
.settings-section { padding: 32px 0; }
.settings-section h1 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-table { width: 100%; font-size: 14px; }
.info-table td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.info-table td:first-child { color: var(--text-muted); width: 40%; }
.danger-zone { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.danger-zone h4 { color: var(--danger); margin-bottom: 12px; }
.verified-badge { background: #E8F4FC; color: #1E3A5F; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; display: inline-block; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.modal-content { background: var(--surface); border-radius: var(--radius-lg); max-width: 420px; width: 100%; overflow: hidden; box-shadow: var(--shadow-xl); }
.modal-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-muted); }
.modal-body { padding: 20px; }
.modal-footer { padding: 16px 20px; border-top: 1px solid var(--border); }
.modal-summary { background: var(--bg); border-radius: var(--radius); padding: 12px; margin-bottom: 16px; font-size: 14px; }
.badge-type { background: var(--bg); border-radius: 4px; padding: 2px 6px; font-size: 12px; color: var(--text-muted); }
.verify-cta { font-size: 12px; color: var(--primary); font-weight: 600; }

/* ---- PAGINATION ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.page-btn { padding: 8px 14px; border-radius: 8px; border: 1.5px solid var(--border); color: var(--text-muted); font-size: 14px; font-weight: 500; transition: var(--transition); }
.page-btn.active, .page-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid, .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .admin-stats { grid-template-columns: repeat(4, 1fr); }
  .admin-kpis { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .join-grid { grid-template-columns: 1fr; }
  .verify-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-body { grid-template-columns: 1fr; }
  .hire-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-search { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .search-layout { grid-template-columns: 1fr; }
  .search-filters { position: static; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .sub-ratings { grid-template-columns: 1fr; }
  .admin-two-col { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .messages-layout { grid-template-columns: 1fr; }
  .msg-sidebar { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .profile-header-card { flex-direction: column; text-align: center; }
  .profile-meta { justify-content: center; }
  .profile-cta { align-items: center; }
  .tcb-stats { grid-template-columns: 1fr; }
  .dashboard-actions { grid-template-columns: 1fr; }
  .join-grid { grid-template-columns: 1fr; }
  .category-grid-home { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 36px; }
  .hero-title { font-size: 26px; }
  .hero-search-box { flex-direction: column; border-radius: 10px; }
  .hs-input, .hs-select { border-right: none; border-bottom: 1px solid var(--border); }
  .artisan-grid { grid-template-columns: 1fr 1fr; }
  .category-grid-home { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .verify-benefits-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ---- PRINT ---- */
@media print {
  .navbar, .footer, .announcement-bar { display: none; }
  .qr-image { border: 2px solid #000; }
}
