/* ================================================================
   WORKBRIDGE  —  Black & White Design System
   ================================================================ */

:root {
  --wb-black:   #0a0a0a;
  --wb-dark:    #1a1a1a;
  --wb-mid:     #2d2d2d;
  --wb-muted:   #6b6b6b;
  --wb-light:   #f5f5f5;
  --wb-border:  #e0e0e0;
  --wb-white:   #ffffff;
  --wb-accent:  #111111;
}

/* ── Global ──────────────────────────────────────────── */
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: #f8f8f8; color: var(--wb-dark); }
.wb-bg { background: #f5f5f5; }

/* ── Navbar ──────────────────────────────────────────── */
.naukri-navbar {
  background: var(--wb-black) !important;
  border-bottom: 2px solid #333;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  z-index: 1040;
}
.naukri-navbar .navbar-brand { letter-spacing: -0.5px; }
.naukri-navbar .nav-link     { color: #ccc !important; font-size: 0.9rem; transition: color 0.2s; }
.naukri-navbar .nav-link:hover { color: #fff !important; }
.naukri-navbar .nav-link.active { color: #fff !important; }
.naukri-navbar .dropdown-toggle { cursor: pointer; }
.naukri-navbar .btn-outline-warning { border-color: #888; color: #ccc; }
.naukri-navbar .btn-outline-warning:hover { background: #fff; color: #000; border-color: #fff; }
.naukri-navbar .btn-warning { background: #fff; color: #000; border-color: #fff; font-weight: 700; }
.naukri-navbar .btn-warning:hover { background: #e5e5e5; border-color: #e5e5e5; }
.avatar-circle { width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,0.1);border:1px solid #555;display:flex;align-items:center;justify-content:center;color:#ccc; }

/* ── Hero ────────────────────────────────────────────── */
.hero-section {
  background: var(--wb-black);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 80px
  );
}
.hero-search-form .form-control,
.hero-search-form .input-group-text { border: none; }
.hero-search-form .btn { border-radius: 8px !important; }

/* ── Buttons ─────────────────────────────────────────── */
.btn-warning,
.btn-warning:focus {
  background: var(--wb-black);
  border-color: var(--wb-black);
  color: #fff;
  font-weight: 600;
}
.btn-warning:hover { background: #333; border-color: #333; color: #fff; }
.btn-dark { background: var(--wb-black); border-color: var(--wb-black); font-weight: 600; }
.btn-dark:hover { background: #333; border-color: #333; }
.btn-outline-primary { border-color: #999; color: var(--wb-dark); }
.btn-outline-primary:hover { background: var(--wb-black); border-color: var(--wb-black); color: #fff; }
.wb-btn-outline { border: 1px solid #ccc; color: var(--wb-dark); background: transparent; padding: 6px 18px; border-radius: 6px; font-size: 0.875rem; text-decoration: none; display: inline-flex; align-items: center; transition: all 0.15s; }
.wb-btn-outline:hover { background: var(--wb-black); color: #fff; border-color: var(--wb-black); }

/* ── Cards ───────────────────────────────────────────── */
.card { border-radius: 10px !important; }
.wb-card-header { background: var(--wb-black) !important; color: #fff; border-radius: 10px 10px 0 0 !important; }

/* ── Job Cards ───────────────────────────────────────── */
.job-card { transition: all 0.2s ease; border-radius: 10px !important; }
.job-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.12) !important; border-left: 3px solid var(--wb-black) !important; }
.job-list-card { transition: all 0.18s ease; border-radius: 10px !important; }
.job-list-card:hover { transform: translateX(3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important; border-left: 3px solid var(--wb-black) !important; }
.company-card { transition: all 0.2s ease; border-radius: 10px !important; }
.company-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important; }

/* ── Stats ───────────────────────────────────────────── */
.stat-card { background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.15s; }
.stat-card:hover { transform: scale(1.02); }

/* ── Profile sidebar ─────────────────────────────────── */
.sidebar-link { color: #444; font-size: 0.875rem; transition: all 0.15s; }
.sidebar-link:hover { background: #f0f0f0; color: var(--wb-black); }
.sidebar-link.active { background: var(--wb-black); color: #fff !important; font-weight: 600; }

/* ── Profile score ───────────────────────────────────── */
.wb-score-item { border: 1px solid #e5e5e5; }
.wb-score-item.done { background: #f5f5f5; border-color: #bbb; }
.wb-score-item.todo { background: #fafafa; border-color: #e5e5e5; }

/* ── Skill badges ────────────────────────────────────── */
.wb-skill-badge { background: #111; color: #fff; font-weight: 500; padding: 5px 12px; border-radius: 20px; font-size: 0.78rem; }

/* ── Section titles (inside forms) ──────────────────── */
.wb-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 6px;
  margin-bottom: 16px;
  margin-top: 8px;
}

/* ── Form inputs ─────────────────────────────────────── */
.wb-input:focus { border-color: #111; box-shadow: 0 0 0 2px rgba(17,17,17,0.1); }
.form-control:focus, .form-select:focus { border-color: #444; box-shadow: 0 0 0 0.15rem rgba(0,0,0,0.1); }

/* ── Upload zone ─────────────────────────────────────── */
.wb-upload-zone { background: #fafafa; border-color: #ccc !important; }
.wb-upload-zone:hover { background: #f0f0f0; }
.border-dashed { border-style: dashed !important; }

/* ── Profile banner ──────────────────────────────────── */
.wb-profile-banner { border-left: 4px solid var(--wb-black); }

/* ── Footer ──────────────────────────────────────────── */
.naukri-footer { background: var(--wb-black); color: #aaa; }
.naukri-footer a { color: #aaa !important; }
.naukri-footer a:hover { color: #fff !important; }
.naukri-footer hr { border-color: #333; }

/* ── Alerts ──────────────────────────────────────────── */
.alert { border-radius: 8px; border: none; }
.alert-dark { background: #1a1a1a; color: #fff; }
.alert-success { background: #f0f0f0; color: #111; border-left: 4px solid #111; }
.alert-danger  { background: #f9f0f0; color: #5a1a1a; border-left: 4px solid #d00; }

/* ── Table ───────────────────────────────────────────── */
.table th { font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: #555; }
.table-hover tbody tr:hover { background: #f8f8f8; }

/* ── Dropdown ────────────────────────────────────────── */
.dropdown-menu { 
  padding: 0.4rem; 
  border-radius: 10px !important; 
  border-color: #e0e0e0; 
  box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
  z-index: 1060;
  min-width: 220px;
}
.dropdown-item { 
  border-radius: 6px; 
  padding: 8px 12px; 
  font-size: 0.875rem;
  transition: all 0.15s;
}
.dropdown-item:hover { 
  background: #f0f0f0; 
}
.dropdown-toggle::after {
  margin-left: 0.4em;
}
.navbar .dropdown-menu {
  margin-top: 0.5rem;
  z-index: 1060 !important;
}
.navbar .dropdown {
  position: relative;
  z-index: 1050;
}
.dropdown-divider {
  margin: 0.5rem 0;
}

/* ── Badges ──────────────────────────────────────────── */
.badge { font-weight: 500; }
.bg-success-subtle { background: #f0f0f0 !important; }
.text-success { color: #333 !important; }
.bg-primary-subtle { background: #eee !important; }
.text-primary { color: #111 !important; }
.bg-primary { background: #111 !important; }
.bg-info { background: #555 !important; }
.text-info { color: #444 !important; }
.bg-warning { background: #222 !important; color: #fff !important; }
.text-warning { color: #333 !important; }

/* ── Pagination ──────────────────────────────────────── */
.page-link { color: var(--wb-dark); border-color: #ddd; }
.page-link:hover { background: var(--wb-black); color: #fff; border-color: var(--wb-black); }
.page-item.active .page-link { background: var(--wb-black); border-color: var(--wb-black); }

/* ── Progress ────────────────────────────────────────── */
.progress-bar.bg-dark { background: var(--wb-black) !important; }

/* ── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #bbb; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #888; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 0 !important; }
  .hero-section h1 { font-size: 1.8rem !important; }
}

/* ── Company logo images ─────────────────────────────── */
.wb-logo-img {
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border: 1px solid #eee;
  display: block;
}

/* ── Stats strip ─────────────────────────────────────── */
.wb-stats-strip { background: #fff; }
.wb-stat-item { padding: 1.25rem 0.5rem; }
.wb-stat-number { font-size: 1.5rem; font-weight: 800; color: var(--wb-black); line-height: 1; }
.wb-stat-label { font-size: 0.72rem; color: #999; margin-top: 3px; text-transform: uppercase; letter-spacing: 0.6px; }
