/* ===== রিসেট ও বেস ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563EB;
  --primary-light: #EFF6FF;
  --accent: #F59E0B;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --border: #E5E7EB;
  --radius: 12px;
  --shadow: 0 1px 4px rgba(0,0,0,0.07);
  --danger: #DC2626;
  --success: #16A34A;
}

body {
  font-family: 'Hind Siliguri', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }

[hidden] { display: none !important; }

a { text-decoration: none; color: inherit; }

/* ===== নেভবার ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.nav-cats {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-cats a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-cats a:hover { color: var(--primary); }

.nav-auth {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-login {
  font-size: 13px;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--primary);
  transition: all 0.2s;
}

.btn-login:hover { background: var(--primary-light); }

.btn-register {
  font-size: 13px;
  color: #fff;
  background: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.btn-register:hover { background: #1D4ED8; }

/* ===== হিরো ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 64px;
  background: var(--bg-alt);
  gap: 40px;
  min-height: 520px;
}

.hero-content { max-width: 420px; }

.hero-content h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-content h1 span { color: var(--primary); }

.hero-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
}

.hero-btn:hover { background: #1D4ED8; }

/* ===== অর্বিট (গোল ক্যাটাগরি) ===== */
.orbit-container {
  --orbit-size: 380px;
  --orbit-r: 160px;
  --item-size: 78px;
  position: relative;
  width: var(--orbit-size);
  height: var(--orbit-size);
  flex-shrink: 0;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.center-brand {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.brand-icon { font-size: 22px; margin-bottom: 4px; }

.orbit-ring {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* বৃত্তের রেখা */
.orbit-ring::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--orbit-r) * 2);
  height: calc(var(--orbit-r) * 2);
  border-radius: 50%;
  border: 1.5px dashed var(--border);
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--item-size);
  height: var(--item-size);
  margin-top: calc(var(--item-size) / -2);
  margin-left: calc(var(--item-size) / -2);
  transform: rotate(var(--angle)) translateX(var(--orbit-r)) rotate(calc(-1 * var(--angle)));
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.orbit-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: rotate(var(--angle)) translateX(var(--orbit-r)) rotate(calc(-1 * var(--angle))) scale(1.08);
}

.oi-icon { font-size: 20px; }
.oi-label { font-size: 10px; /* responsive: see media queries */ color: var(--text); line-height: 1.2; margin-top: 3px; }

/* ===== ট্যালেন্ট সেকশন ===== */
.talent-section {
  padding: 48px 64px;
  background: var(--bg);
}

.talent-section.alt {
  background: var(--bg-alt);
}

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

.section-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.see-more {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  transition: opacity 0.2s;
}

.see-more:hover { opacity: 0.7; }

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ===== ট্যালেন্ট কার্ড ===== */
.talent-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.talent-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}

.card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.card-info { flex: 1; min-width: 0; }

.card-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.card-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-stars {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
}

.card-stars span { color: var(--text-muted); }

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.card-tags span {
  font-size: 11px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 99px;
}

/* ===== ফুটার ===== */
.footer {
  background: var(--text);
  color: #fff;
  padding: 40px 64px;
  text-align: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0 !important;
}

/* ===== লগইন/রেজিস্ট্রেশন পেজ ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: 40px 20px;
}

.auth-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}

.auth-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 24px;
}

.auth-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
}

.auth-sub {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: 'Hind Siliguri', sans-serif;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group input::placeholder { color: #9CA3AF; }

.otp-row {
  display: flex;
  gap: 8px;
}

.otp-row input { flex: 1; }

.otp-btn {
  white-space: nowrap;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-family: 'Hind Siliguri', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.otp-btn:hover { background: var(--primary); color: #fff; }

.auth-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Hind Siliguri', sans-serif;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.auth-btn:hover { background: #1D4ED8; }

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

.auth-switch a { color: var(--primary); font-weight: 500; }

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

.step-dot {
  width: 28px;
  height: 4px;
  border-radius: 99px;
  background: var(--border);
}

.step-dot.active { background: var(--primary); }

/* ক্যাটাগরি চেকবক্স গ্রিড */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.cat-check {
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
}

.cat-check input { display: none; }

.cat-check:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cat-check:hover { border-color: var(--primary); }

.cat-check.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* ===== ক্যাটাগরি পেজ ===== */
.cat-page { padding: 40px 64px; }

.cat-page-header {
  margin-bottom: 32px;
}

.cat-page-header h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cat-page-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.big-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.big-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
  cursor: pointer;
}

.big-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(37,99,235,0.1);
}

.big-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.big-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.big-card .role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.big-card .stars {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
}

.big-card .bio {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.hire-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}

.hire-btn:hover { background: #1D4ED8; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 24px;
}


/* =====================================================
   রেসপন্সিভ ডিজাইন
   ===================================================== */

/* ল্যাপটপ / ছোট ডেস্কটপ (≤1100px) */
@media (max-width: 1100px) {
  .navbar { padding: 0 24px; }
  .nav-cats { gap: 14px; }
  .hero { padding: 48px 32px; gap: 24px; }
  .talent-section { padding: 40px 32px; }
  .footer { padding: 36px 32px; }
  .cat-page { padding: 32px; }
  .cards-row { grid-template-columns: repeat(2, 1fr); }
  .big-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ট্যাবলেট (≤900px) */
@media (max-width: 900px) {
  html { scroll-padding-top: 110px; }

  /* নেভবার: দুই লাইন — উপরে লোগো+বাটন, নিচে স্ক্রল হওয়া মেনু */
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 20px 0;
    row-gap: 6px;
  }
  .nav-cats {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 8px;
    padding: 4px 0 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-cats::-webkit-scrollbar { display: none; }
  .nav-cats a {
    flex-shrink: 0;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 13px;
  }

  /* হিরো: উপর-নিচ সাজানো */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px 48px;
    min-height: 0;
    gap: 36px;
  }
  .hero-content { max-width: 560px; }
  .hero-content h1 { font-size: 30px; }
}

/* বড় ফোন (≤640px) */
@media (max-width: 640px) {
  body { font-size: 14.5px; }

  .navbar { padding: 10px 16px 0; }
  .logo { font-size: 17px; }
  .btn-login, .btn-register { padding: 6px 12px; font-size: 12.5px; }

  .hero { padding: 32px 16px 40px; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 14px; margin-bottom: 22px; }
  .hero-btn { padding: 11px 28px; }

  /* অর্বিট ছোট করা */
  .orbit-container { --orbit-size: 310px; --orbit-r: 124px; --item-size: 66px; }
  .center-brand { width: 84px; height: 84px; font-size: 11px; }
  .brand-icon { font-size: 19px; }
  .oi-icon { font-size: 18px; }
  .oi-label { font-size: 9px; }

  .talent-section { padding: 32px 16px; }
  .section-header { margin-bottom: 16px; gap: 12px; }
  .section-header h2 { font-size: 18px; }
  .see-more { white-space: nowrap; }

  .cards-row { grid-template-columns: 1fr; gap: 12px; }
  .talent-card { padding: 16px; }

  .footer { padding: 32px 16px; }
  .footer-links { flex-wrap: wrap; gap: 12px 20px; }

  /* অথ পেজ */
  .auth-page { padding: 24px 16px; align-items: flex-start; }
  .auth-card { padding: 28px 20px; border-radius: 14px; }
  .auth-title { font-size: 20px; }
  .form-group input, .form-group select { font-size: 16px; } /* iOS জুম বন্ধ */

  /* ক্যাটাগরি পেজ */
  .cat-page { padding: 24px 16px; }
  .cat-page-header { margin-bottom: 22px; }
  .cat-page-header h1 { font-size: 22px; }
  .big-cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .big-card { padding: 20px; }
}

/* ছোট ফোন (≤380px) */
@media (max-width: 380px) {
  .logo { font-size: 15px; }
  .btn-login, .btn-register { padding: 5px 10px; font-size: 12px; }
  .nav-auth { gap: 6px; }

  .hero-content h1 { font-size: 23px; }
  .orbit-container { --orbit-size: 270px; --orbit-r: 106px; --item-size: 58px; }
  .center-brand { width: 72px; height: 72px; font-size: 10px; }
  .brand-icon { font-size: 16px; margin-bottom: 2px; }
  .oi-icon { font-size: 16px; }
  .oi-label { font-size: 8px; }

  .card-avatar { width: 46px; height: 46px; font-size: 14px; }
  .otp-row { flex-direction: column; }
  .otp-btn { padding: 10px 14px; }
  .cat-grid { grid-template-columns: 1fr; }
}

/* ডিভাইস হোভার না থাকলে scale-hover বন্ধ */
@media (hover: none) {
  .orbit-item:hover { transform: rotate(var(--angle)) translateX(var(--orbit-r)) rotate(calc(-1 * var(--angle))); }
}

/* ২ কলামে শেষ একক কার্ড পুরো সারি নেবে */
@media (min-width: 641px) and (max-width: 1100px) {
  .cards-row .talent-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}


/* =====================================================
   অথ ফর্ম — নতুন অংশ
   ===================================================== */
.form-error {
  background: #FEF2F2;
  color: var(--danger);
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

.pw-field { position: relative; }
.pw-field input { padding-right: 70px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--primary);
  font-family: inherit; font-size: 13px; padding: 6px 8px; cursor: pointer;
}

.avatar-group { text-align: center; }
.avatar-pick {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--primary-light); border: 2px dashed var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; cursor: pointer; overflow: hidden; padding: 0;
}
.avatar-pick.has-img { border-style: solid; }
.avatar-pick img { width: 100%; height: 100%; object-fit: cover; }
.avatar-ph { font-size: 28px; }
.avatar-hint { font-size: 12px; color: var(--text-muted); }

.otp-input { text-align: center; letter-spacing: 6px; font-size: 20px !important; font-weight: 600; }
.demo-note {
  background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A;
  border-radius: var(--radius); padding: 9px 12px; font-size: 12.5px; margin-bottom: 12px;
}
.otp-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.link-btn {
  background: none; border: none; color: var(--primary);
  font-family: inherit; font-size: 13px; cursor: pointer; padding: 4px 0;
}
.link-btn:disabled { color: var(--text-muted); cursor: default; }

.auth-btn:disabled { background: #93C5FD; cursor: not-allowed; }

/* "মার্কেটিং করতে এসেছি" অপশন */
.type-option {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 14px; text-align: left;
  font-family: inherit; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer; transition: all 0.2s;
}
.type-option:hover { border-color: var(--primary); }
.type-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.type-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.type-text strong { font-size: 15px; font-weight: 600; }
.type-text small { font-size: 12.5px; color: var(--text-muted); }
.type-tick {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--border); color: transparent;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.type-option.selected { border-color: var(--primary); background: var(--primary-light); }
.type-option.selected .type-tick { background: var(--primary); border-color: var(--primary); color: #fff; }

.or-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; font-size: 12px; color: var(--text-muted); }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.or-divider span { text-align: center; }

/* নেভবারে লগইন করা ইউজার */
.nav-user { display: flex; align-items: center; gap: 8px; max-width: 180px; }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.btn-login { background: var(--bg); font-family: inherit; cursor: pointer; }

/* =====================================================
   প্রোফাইল ড্যাশবোর্ড
   ===================================================== */
.dash-body { background: var(--bg-alt); min-height: 100vh; }
.dash { max-width: 960px; margin: 0 auto; padding: 32px 24px 56px; display: flex; flex-direction: column; gap: 20px; }

.dash-profile {
  display: flex; align-items: center; gap: 18px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px;
}
.dash-avatar {
  width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700;
}
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-who { min-width: 0; }
.dash-who h1 { font-size: 22px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.dash-phone { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }

.dash-section { display: flex; flex-direction: column; gap: 16px; }
.dash-head h2 { font-size: 18px; font-weight: 600; }
.dash-head p { font-size: 13px; color: var(--text-muted); }

.dash-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.dash-cat {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-weight: 500; transition: all 0.2s;
}
.dash-cat:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(37,99,235,0.08); }
.dash-cat-icon { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 19px; }

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 2px;
}
.stat-num { font-size: 26px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.stat-label { font-size: 12.5px; color: var(--text-muted); }

.dash-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.progress { height: 8px; background: var(--border); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); border-radius: 99px; transition: width 0.4s; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.checklist li { font-size: 14px; display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.checklist li::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--border);
}
.checklist li.done { color: var(--text); }
.checklist li.done::before {
  content: '✓'; background: var(--success); border-color: var(--success); color: #fff;
  font-size: 11px; display: flex; align-items: center; justify-content: center;
}
.empty { font-size: 13.5px; color: var(--text-muted); }

@media (max-width: 640px) {
  .dash { padding: 20px 16px 40px; gap: 16px; }
  .dash-profile { padding: 18px; gap: 14px; }
  .dash-avatar { width: 68px; height: 68px; font-size: 26px; }
  .dash-who h1 { font-size: 19px; }
  .dash-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-cat { padding: 12px; font-size: 13px; gap: 10px; }
  .dash-cat-icon { width: 34px; height: 34px; font-size: 16px; }
  .dash-stats { gap: 8px; }
  .stat { padding: 12px; }
  .stat-num { font-size: 22px; }
  .nav-name { display: none; }
}
@media (max-width: 380px) {
  .dash-profile { flex-direction: column; text-align: center; }
  .dash-profile .card-tags { justify-content: center; }
  .dash-cats { grid-template-columns: 1fr; }
}


/* =====================================================
   কাজের নমুনা, প্রোফাইল ও ডিটেইল পেজ
   ===================================================== */
.form-group textarea { resize: vertical; line-height: 1.5; }
.opt { font-weight: 400; color: var(--text-muted); font-size: 12px; }

a.talent-card, a.big-card { color: inherit; }
a.big-card { display: block; }
.new-badge {
  display: inline-block; font-size: 11px; background: #ECFDF5; color: var(--success);
  padding: 2px 10px; border-radius: 99px;
}
.big-avatar { overflow: hidden; }
.big-avatar img { width: 100%; height: 100%; object-fit: cover; }

.head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.head-row .dash-head { min-width: 0; flex: 1 1 220px; }
.btn-add { border: none; font-family: inherit; cursor: pointer; white-space: nowrap; }
.public-link { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--primary); font-weight: 500; }

/* ফর্ম */
.sample-form {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-alt); padding: 16px;
}
.form-actions { display: flex; align-items: center; gap: 16px; }
.form-actions .auth-btn { width: auto; padding: 10px 24px; margin-top: 0; }
.pick-btn {
  font-family: inherit; font-size: 13px; color: var(--primary);
  background: var(--bg); border: 1px dashed var(--primary); border-radius: var(--radius);
  padding: 10px 16px; cursor: pointer;
}
.pick-btn:hover { background: var(--primary-light); }
.img-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-bottom: 8px; }
.img-previews:empty { display: none; }
.img-prev { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.img-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-prev button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
  border: none; background: rgba(0,0,0,0.65); color: #fff; font-size: 11px; cursor: pointer; line-height: 1;
}

/* ফিল্টার চিপ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips:empty { display: none; }
.chip {
  font-family: inherit; font-size: 13px; color: var(--text-muted);
  background: var(--bg); border: 1px solid var(--border); border-radius: 99px;
  padding: 5px 14px; cursor: pointer; transition: all 0.2s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* নমুনা কার্ড */
.sample-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.sample-grid:empty { display: none; }
.sample-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sample-card {
  display: flex; flex-direction: column; min-width: 0; color: inherit;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.2s;
}
.sample-card:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(37,99,235,0.1); }
.sample-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.sample-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sample-thumb.no-img { display: flex; align-items: center; justify-content: center; font-size: 40px; }
.sample-count {
  position: absolute; right: 8px; bottom: 8px; font-size: 11px;
  background: rgba(0,0,0,0.65); color: #fff; padding: 2px 9px; border-radius: 99px;
}
.sample-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.sample-body h3 { font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.sample-cat { font-size: 12px; color: var(--primary); background: var(--primary-light); padding: 2px 10px; border-radius: 99px; align-self: flex-start; }
.sample-del {
  align-self: flex-start; font-family: inherit; font-size: 12px; color: var(--text-muted);
  background: none; border: none; cursor: pointer; padding: 2px 4px;
}
.sample-del:hover, .sample-del.sure { color: var(--danger); }

/* ডিটেইল পেজ (প্রোফাইল ও নমুনা) */
.detail { max-width: 960px; margin: 0 auto; padding: 24px 24px 56px; display: flex; flex-direction: column; gap: 16px; }
.detail #profile { display: flex; flex-direction: column; gap: 16px; }
.detail .back-link { margin-bottom: 0; align-self: flex-start; }
.prof-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.prof-head .dash-phone { margin-bottom: 4px; }
.prof-bio { font-size: 14.5px; line-height: 1.7; }
.contact-reveal {
  background: var(--primary-light); color: var(--primary); border-radius: var(--radius);
  padding: 10px 14px; font-weight: 600; font-size: 15px; user-select: all;
}

.work { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gallery-main {
  position: relative; border-radius: 16px; overflow: hidden; background: var(--bg);
  border: 1px solid var(--border); cursor: zoom-in;
}
.gallery-main img { width: 100%; max-height: 520px; object-fit: contain; display: block; background: var(--bg-alt); }
.gallery-main.no-img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; font-size: 72px; cursor: default; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.g-thumb {
  width: 68px; height: 68px; flex-shrink: 0; padding: 0; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; background: var(--bg); cursor: pointer; opacity: 0.7;
}
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb.on { border-color: var(--primary); opacity: 1; }
.work-info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.work-info h1 { font-size: 24px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.work-desc { font-size: 14.5px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.work-link {
  align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--primary);
  border: 1px solid var(--primary); border-radius: var(--radius); padding: 8px 16px; max-width: 100%;
}
.work-link:hover { background: var(--primary-light); }
.owner-card {
  display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.2s;
}
.owner-card:hover { border-color: var(--primary); }
.owner-av { width: 40px; height: 40px; font-size: 16px; }
.owner-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.owner-text strong { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner-text small { font-size: 12px; color: var(--text-muted); }
.owner-go { font-size: 12.5px; color: var(--primary); white-space: nowrap; }

@media (max-width: 900px) {
  .work { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .detail { padding: 16px 16px 40px; }
  .sample-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sample-body { padding: 10px 12px 12px; }
  .sample-body h3 { font-size: 13px; }
  .work-info h1 { font-size: 20px; }
  .owner-go { display: none; }
  .sample-form { padding: 14px; }
}
@media (max-width: 340px) {
  .sample-grid { grid-template-columns: 1fr; }
}


/* =====================================================
   অর্ডার ও এসক্রো পেমেন্ট
   ===================================================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flow-steps { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.flow-steps li {
  counter-increment: st; position: relative; font-size: 12.5px; line-height: 1.5; color: var(--text-muted);
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 12px 12px;
}
.flow-steps li::before {
  content: counter(st, bengali); position: absolute; top: 8px; left: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
@counter-style bengali { system: numeric; symbols: '০' '১' '২' '৩' '৪' '৫' '৬' '৭' '৮' '৯'; }
.fee-note { font-size: 12.5px; color: var(--text-muted); }
.req-ok {
  background: #ECFDF5; color: #166534; border: 1px solid #BBF7D0; border-radius: var(--radius);
  padding: 10px 14px; font-size: 13.5px;
}
.req-ok a { color: var(--primary); font-weight: 500; }

.orders { display: flex; flex-direction: column; gap: 14px; }
.order-card {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg);
  padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.o-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.o-head h3 { font-size: 15px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; min-width: 0; }
.o-meta { font-size: 12.5px; color: var(--text-muted); }
.o-meta a { color: var(--primary); font-weight: 500; }
.o-desc { font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.badge {
  flex-shrink: 0; font-size: 11.5px; font-weight: 500; padding: 3px 10px; border-radius: 99px;
  background: var(--primary-light); color: var(--primary); white-space: nowrap;
}
.badge.s-requested, .badge.s-accepted { background: #FFFBEB; color: #92400E; }
.badge.s-paid, .badge.s-delivered { background: var(--primary-light); color: var(--primary); }
.badge.s-completed { background: #ECFDF5; color: var(--success); }
.badge.s-declined, .badge.s-cancelled { background: #F3F4F6; color: var(--text-muted); }

.tracker { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.tracker li {
  font-size: 11px; color: var(--text-muted); text-align: center; padding-top: 12px; position: relative;
}
.tracker li::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 99px; background: var(--border);
}
.tracker li.done::before { background: var(--success); }
.tracker li.now::before { background: var(--primary); }
.tracker li.now { color: var(--primary); font-weight: 600; }
.tracker li.done { color: var(--text); }

.money { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.m-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-muted); }
.m-row strong { font-weight: 500; color: var(--text); white-space: nowrap; }
.m-row.total { border-top: 1px dashed var(--border); padding-top: 6px; margin-top: 2px; color: var(--text); font-weight: 600; }
.m-row.total strong { font-weight: 700; color: var(--primary); }
.m-row.sub { font-size: 12px; }

.contact-box { font-size: 13px; color: var(--text-muted); background: var(--bg-alt); border: 1px dashed var(--border); border-radius: var(--radius); padding: 10px 14px; }
.contact-box.open { background: var(--primary-light); border: 1px solid #BFDBFE; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-box .num { color: var(--primary); font-size: 16px; user-select: all; }

.o-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.o-actions .o-note { flex: 1 1 100%; font-size: 13px; color: var(--text-muted); }
.o-actions .o-note.ok { color: var(--success); font-weight: 500; }
.link-btn.danger { color: var(--danger); }
.link-btn.sure, .sure { color: var(--danger); }
.hire-btn.sure { background: var(--danger); color: #fff; }
.pay-panel { flex: 1 1 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-alt); }
.pay-panel .auth-btn { margin-top: 0; }
.pay-panel .demo-note { margin-bottom: 0; }

@media (max-width: 900px) {
  .flow-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .flow-steps { grid-template-columns: 1fr; gap: 8px; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 10px; }
  .order-card { padding: 14px; }
  .o-head { flex-direction: column; gap: 6px; }
  .tracker li { font-size: 10px; }
  .stat-label { font-size: 11.5px; }
  .stat-num { font-size: 19px; }
}
.sample-form .money { margin-bottom: 12px; }
