body{
  background:#f5f8fc;
  font-family: "Inter", system-ui, -apple-system;
}

.navbar-brand{
  font-weight:700;
  letter-spacing:.5px;
}

.card{
  border:0;
  border-radius:14px;
}

.btn-primary{
  background:#0d6efd;
  border:none;
}

.btn-primary:hover{
  background:#0b5ed7;
}

.dashboard-wrapper{
  display:flex;
  min-height:100vh;
}

.sidebar{
  width:240px;
  background:#ffffff;
  border-right:1px solid #e5e9f2;
  padding:20px;
}

.sidebar h5{
  font-weight:700;
  margin-bottom:20px;
}

.sidebar a{
  display:block;
  padding:10px 12px;
  color:#333;
  border-radius:8px;
  text-decoration:none;
  margin-bottom:6px;
}

.sidebar a:hover,
.sidebar a.active{
  background:#eaf1ff;
  color:#0d6efd;
}

.content{
  flex:1;
  padding:30px;
}
/* ===============================
   JOBSEEKER DASHBOARD – SAME AS EMPLOYER
   =============================== */

/* Layout */
.emp-layout{
  display:flex;
  min-height:100vh;
  background:#f4f7fb;
}

/* Sidebar */
.emp-sidebar{
  width:260px;
  background:linear-gradient(180deg,#0d6efd,#052c65);
  color:#fff;
  padding:20px;
  display:flex;
  flex-direction:column;
}

.emp-brand{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:30px;
}

.emp-logo{
  width:42px;
  height:42px;
  background:#fff;
  color:#0d6efd;
  font-weight:800;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.emp-brand h6{
  margin:0;
  font-weight:700;
}

.emp-brand small{
  opacity:.8;
  font-size:12px;
}

/* Menu */
.emp-menu{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.emp-menu a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  color:#e7efff;
  text-decoration:none;
  font-weight:500;
  transition:all .2s ease;
}

.emp-menu a:hover{
  background:rgba(255,255,255,0.15);
}

.emp-menu a.active{
  background:#ffffff;
  color:#0d6efd;
  font-weight:600;
}

/* Logout */
.emp-logout{
  margin-top:auto;
}

.emp-logout a{
  display:block;
  text-align:center;
  background:#dc3545;
  color:#fff;
  padding:10px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
}

.emp-logout a:hover{
  background:#bb2d3b;
}

/* Content */
.emp-content{
  flex:1;
  padding:30px;
}

.content-card{
  background:#fff;
  border-radius:18px;
  padding:25px;
  min-height:calc(100vh - 60px);
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

/* Stats cards (used in jobseeker + employer) */
.stat-card{
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px;
  border-radius:16px;
  border:none;
}

.stat-icon{
  width:52px;
  height:52px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  color:#fff;
}

/* Mobile responsive */
@media(max-width:768px){
  .emp-layout{
    flex-direction:column;
  }

  .emp-sidebar{
    width:100%;
    flex-direction:row;
    align-items:center;
    gap:10px;
    padding:10px;
    overflow-x:auto;
  }

  .emp-brand{
    display:none;
  }

  .emp-menu{
    flex-direction:row;
    gap:6px;
  }

  .emp-menu a{
    padding:10px 12px;
    font-size:14px;
    white-space:nowrap;
  }

  .emp-logout{
    display:none;
  }

  .emp-content{
    padding:15px;
  }
}
/* ===== JOB POST UI ===== */

.job-post-card{
  max-width:720px;
  border-radius:18px;
  border:none;
  padding:26px;
}

.job-post-card .form-label{
  font-size:14px;
  color:#444;
}

.job-post-card .form-control{
  border-radius:12px;
  padding:12px 14px;
}

.job-post-card .form-control-lg{
  font-size:16px;
}

.job-post-card textarea{
  resize:none;
}

.job-post-card button{
  border-radius:14px;
  font-weight:600;
}

/* Success message */
#msg .alert{
  border-radius:14px;
}

/* Mobile spacing */
@media(max-width:576px){
  .job-post-card{
    padding:20px;
  }
}
/* ============================= */
/* NAVBAR RESPONSIVE FIX */
/* ============================= */

.main-navbar {
  position: relative;
  z-index: 1000;
}

.navbar-nav .nav-link {
  font-weight: 500;
}

/* Mobile navbar spacing */
@media (max-width: 991px) {

  .navbar-collapse {
    background: #fff;
    padding: 12px 0;
    border-top: 1px solid #eee;
  }

  .navbar-nav .nav-item {
    padding: 6px 0;
  }

  .nav-auth {
    width: 100%;
  }

  .nav-auth .btn {
    width: 100%;
  }
}

/* ============================= */
/* DASHBOARD RESPONSIVE FIX */
/* ============================= */

/* Sidebar + content layout safe */
.dashboard-wrapper,
.emp-layout {
  min-height: 100vh;
  display: flex;
}

/* Mobile dashboard */
@media (max-width: 991px) {

  .sidebar,
  .emp-sidebar {
    width: 100%;
    position: relative;
  }

  .sidebar a,
  .emp-sidebar a {
    text-align: center;
    padding: 12px;
  }

  .content,
  .emp-content {
    padding: 15px;
  }
}

/* Cards responsive */
.card {
  border-radius: 10px;
}

/* Table responsive */
.table {
  font-size: 14px;
}

/* ========================= */
/* STICKY NAVBAR */
/* ========================= */

.main-navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* Dropdown fix */
.dropdown-menu {
  min-width: 200px;
}

/* Notification bell */


/* Mobile adjustments */
@media (max-width: 991px) {
  .nav-auth {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

.hero-img{
  max-height:460px;
  object-fit:contain;
  mix-blend-mode:lighten; /* magic */
  background:transparent;
}
.hero{
  display:flex;
  align-items:center;
  min-height:520px;
  background:linear-gradient(90deg,#0b1f4a,#1f4fd8);
}

.hero-right{
  flex:1;
  height:100%;
  background-image:url("/assets/hero.png"); /* image path */
  background-repeat:no-repeat;
  background-position:center right;
  background-size:contain;
}

.step-box {
  background:#fff;
  border-radius:12px;
  padding:20px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.step-num {
  width:48px;
  height:48px;
  border-radius:50%;
  background:#0d6efd;
  color:#fff;
  font-weight:bold;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:auto;
}

.cta-section {
  background: linear-gradient(90deg,#0d6efd,#0b5ed7);
}


/* ===== HEADER / NAVBAR ===== */

.main-navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.logo-text img{
    max-height:65px;
    width:auto;
}

.logo-text span {
  color: #0d6efd;
}

.navbar .nav-link {
  font-weight: 500;
  color: #444;
}
.navbar .nav-link:hover {
  color: #0d6efd;
}

/* Notification */
.notif-btn {
  background: #f1f3f5;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: none;
}
.notif-btn:hover {
  background: #e7f1ff;
}

.notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #dc3545;
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 50%;
  display: none;
}

/* Profile */
.profile-toggle {
  text-decoration: none;
  color: #333;
}
.profile-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e9ecef;
}

/* Dropdown */
.profile-dropdown,
.notif-dropdown {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 8px;
}

/* Mobile */
@media(max-width:768px){
  .navbar .nav-link {
    padding: 12px 0;
  }
}
/* ============================= */
/* EMPLOYER DASHBOARD – FINAL FIX */
/* ============================= */

.emp-layout{
  display:flex;
  min-height:100vh;
  background:#f4f7fb;
}

/* SIDEBAR */
.emp-sidebar{
  width:260px;
  min-width:260px;
  background:linear-gradient(180deg,#0f172a,#1e40af);
  color:#fff;
  padding:18px;
  display:flex;
  flex-direction:column;
}

/* BRAND */
.emp-brand{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:22px;
}
.emp-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  border:2px solid #fff;
  object-fit:cover;
}

/* MENU */
.emp-menu{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.emp-menu a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:10px;
  color:#e5e7eb;
  text-decoration:none;
  font-size:14px;
  transition:.2s;
}
.emp-menu a:hover,
.emp-menu a.active{
  background:rgba(255,255,255,.15);
  color:#fff;
}

/* LOGOUT */
.emp-logout{
  margin-top:auto;
}
.emp-logout a{
  color:#fecaca;
  text-decoration:none;
  font-weight:500;
}

/* CONTENT */
.emp-content{
  flex:1;
  padding:28px;
}
.content-card{
  background:#fff;
  border-radius:18px;
  padding:24px;
  min-height:calc(100vh - 56px);
  box-shadow:0 20px 40px rgba(0,0,0,.06);
}

/* ============================= */
/* 📱 MOBILE RESPONSIVE FIX */
/* ============================= */
@media(max-width:991px){

  .emp-layout{
    flex-direction:column;
  }

  .emp-sidebar{
    width:100%;
    min-width:100%;
    flex-direction:row;
    align-items:center;
    padding:10px 12px;
    overflow-x:auto;
    gap:12px;
  }

  .emp-brand{
    display:none; /* mobile clean */
  }

  .emp-menu{
    flex-direction:row;
    gap:8px;
    flex-wrap:nowrap;
  }

  .emp-menu a{
    white-space:nowrap;
    padding:8px 12px;
    font-size:13px;
  }

  .emp-logout{
    display:none;
  }

  .emp-content{
    padding:14px;
  }

  .content-card{
    padding:18px;
    border-radius:14px;
  }
}

