:root {
  --primary: #38a169;
  /* Leaf Green */
  --primary-dark: #2d8657;
  --primary-light: #68d391;
  --primary-bg: #f0faf4;
  --secondary: #0f172a;
  --accent: #48bb78;
}

/* App-style look & feel overrides for Taklif */

/* Global layout */
body {
  background: #e8f5e9;
  /* Subtle green-tinted background */
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
}

/* Add bottom space so content is not hidden behind the app bottom nav */
@media (max-width: 991.98px) {
  body {
    padding-bottom: 88px;
    padding-top: env(safe-area-inset-top);
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

/* Constrain main content for a centered app shell on larger screens */
.searchwrap,
.infodatawrap,
.listpgWraper,
.pageSearch,
.userccount,
.job-header,
.footerWrap,
.howitwrap,
.topjobsec,
.latestjobs,
.topemployerwrap,
.premium-wrap,
.testimonials,
.blogwrap {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  background-color: #ffffff;
}

@media (max-width: 991.98px) {

  .searchwrap,
  .infodatawrap,
  .listpgWraper,
  .pageSearch,
  .userccount,
  .job-header,
  .footerWrap,
  .howitwrap,
  .topjobsec,
  .latestjobs,
  .topemployerwrap,
  .premium-wrap,
  .testimonials,
  .blogwrap {
    margin-left: 12px;
    margin-right: 12px;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
  }
}

/* Header: modern green gradient top bar */
.header {
  background: linear-gradient(135deg, #1f6b43 0%, #2d8657 40%, #38a169 100%) !important;
  border-bottom: none !important;
  box-shadow: 0 4px 20px rgba(46, 125, 80, 0.35) !important;
  padding: 0 !important;
}

.header .logo img {
  max-height: 42px;
}

.navbar-light .navbar-nav .nav-link,
.navbar-nav>li>a,
.navbar-mainbg .navbar-nav>li>a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 8px;
  padding: 8px 12px !important;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-nav>li.active>a {
  color: #ffffff !important;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
  border-bottom-color: transparent;
  border-radius: 8px;
}

.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-nav>li:hover>a {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

@media (max-width: 991.98px) {

  .navbar-expand-lg .navbar-nav .nav-link,
  .navbar-nav>li>a {
    color: #475569 !important;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-radius: 12px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
  }

  .navbar-expand-lg .navbar-nav .nav-link i,
  .navbar-nav>li>a i {
    margin-right: 15px;
    font-size: 20px;
    color: #94a3b8;
    width: 24px;
    text-align: center;
  }

  .navbar-light .navbar-nav .active>.nav-link,
  .navbar-nav>li.active>a {
    background: #38a169 !important;
    color: #ffffff !important;
  }

  .navbar-light .navbar-nav .active>.nav-link i,
  .navbar-nav>li.active>a i {
    color: #ffffff !important;
  }
}

/* Make primary CTAs feel like app buttons */
.btn,
.btn-yellow,
.btn-dark,
.btn-primary {
  border-radius: 999px;
  padding-inline: 22px;
  padding-block: 10px;
  font-weight: 600;
}

.btn-yellow,
.btn-primary {
  background: #f79c0c;
  /* Taklif Logo Orange/Yellow */
  border: none;
  color: #ffffff;
}

.btn-yellow:hover,
.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(247, 156, 12, 0.4);
  color: #ffffff;
}

.btn-dark {
  background: #020617;
  border: none;
}

/* App-style bottom nav */
.mobilenav {
  border-radius: 18px 18px 0 0;
  background: #2d8657;
  backdrop-filter: blur(16px);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.mobilenav ul li a {
  color: #ffffff;
}

.mobilenav ul li a span {
  font-size: 12px;
  text-transform: none;
}

.mobilenav ul li a svg {
  fill: #ffffff;
}

/* Cards & lists feel like tiles */
.jobslist .jobint,
.joblist,
.topjobwrap,
.company-list,
.premium-wrap .col-md-3,
.latestjobs .col-md-4,
.blogwrap .col-md-4,
.testimonials .col-md-4 {
  border-radius: 18px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.14);
  border: none;
}

.jobslist .jobint {
  padding: 0;
}

/* Modern Job Card UI */
.modern-job-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modern-job-card:hover {
  border-color: #38a169;
  box-shadow: 0 8px 24px rgba(56, 161, 105, 0.15);
  transform: translateY(-3px);
}

.job-card-top {
  padding: 20px 20px 15px;
  flex-grow: 1;
}

.job-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.job-badge i {
  color: #94a3b8;
  margin-right: 4px;
}

.modern-job-card h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* Make entire card clickable via stretched link */
.modern-job-card h4 a::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

.modern-job-card h4 a {
  color: #2d8657;
  text-decoration: none;
}

.modern-job-card h4 a:hover {
  color: #1f6b43;
}

/* Ensure secondary interactions stay clickable and above the stretched link */
.modern-job-card .job-card-bottom,
.modern-job-card .job-card-bottom a,
.modern-job-card .job-badge,
.modern-job-card .compjobslinks,
.modern-job-card .compjobslinks a {
  position: relative;
  z-index: 11;
}

.job-salary {
  font-size: 14px;
  color: #334155;
  margin-bottom: 8px;
}

.job-location {
  font-size: 14px;
  color: #0f172a;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.job-location i {
  color: #38a169;
  margin-right: 6px;
}

.job-card-bottom {
  background: #f8fafc;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.job-time-company {
  display: flex;
  flex-direction: column;
}

.job-date {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.job-time-company>a {
  font-size: 15px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
}

.job-company-logo {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

.job-company-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Home search hero */
.searchwrap {
  background: transparent;
}

.srjobseeker {
  background: #38a169;
  /* Match the new purple/blue background */
  border-radius: 16px;
  /* Slightly less rounded than before for a modern look */
  padding: 30px 20px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(71, 75, 157, 0.3);
  /* Soft shadow matching background */
  text-align: right;
  /* RTL alignment based on screenshot */
}

.srjobseeker h1 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #fff;
}

.srjobseeker p {
  opacity: 0.85;
  font-size: 14px;
  line-height: 1.6;
}

.searchbarbt {
  margin-top: 25px;
}

/* 3D Modern Search Bar Group */
.searchbarbt .searchbar {
  display: block;
  /* Overriding default */
}

.searchbarbt h3 {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: right;
  /* RTL alignment */
  display: block !important;
  /* Ensure it shows, default might hide it */
}

/* The actual inputs container */
.searchbarbt .input-group {
  display: flex;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #38a169;
  /* Green outline around the search group */
  padding: 4px;
  /* Space between the green border and the inputs */
  position: relative;
}

/* Inputs styling inside the group */
.searchbarbt input[type="text"],
.searchbarbt select,
.searchbarbt .form-control {
  border-radius: 0;
  border: none;
  background: #fff;
  height: 50px;
  padding: 0 15px;
  font-size: 15px;
  color: #333;
}

/* Remove default border radius for internal elements */
.searchbarbt input[type="text"] {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-right: 1px solid #eaeaea;
  /* Separator line between inputs */
}

/* Enhance select dropdown visually */
.searchbarbt select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23333333%22%3E%3Cpath%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23333333%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
  /* RTL orientation */
  padding-left: 35px;
  /* Room for custom arrow */
}

/* Search Button â€” Green */
.searchbarbt .btn {
  background: #2d8657 !important;
  color: #fff !important;
  border: none !important;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding: 0 25px;
  height: 50px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.searchbarbt .btn i {
  color: #fff;
}

.searchbarbt .btn:hover {
  background: #1f6b43 !important;
}

/* Mobile search adjustments */
@media (max-width: 767.98px) {
  .searchbarbt .input-group {
    flex-direction: column;
    box-shadow: none;
    /* remove outer border for mobile stacked */
    padding: 0;
  }

  .searchbarbt input[type="text"],
  .searchbarbt select,
  .searchbarbt .form-control {
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #38a169;
    width: 100%;
  }

  .searchbarbt .btn {
    border-radius: 8px;
    width: 100%;
  }
}

/* Inner page title like an app section header */
.pageTitle {
  background: transparent;
  padding-top: 16px;
}

.pageTitle .page-heading {
  font-size: 20px;
  font-weight: 700;
}

/* App Scroller for native-like horizontal swipe */
.scroller-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.app-scroller {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 25px;
  margin-bottom: -10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  gap: 16px;
  padding-inline: 20px;
}

.app-scroller::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.app-scroller>* {
  flex: 0 0 280px;
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  .app-scroller>* {
    flex: 0 0 320px;
  }
}

@media (min-width: 1200px) {
  .app-scroller>* {
    flex: 0 0 350px;
  }
}

/* Center Owl Carousel items when fewer than viewport width */
.categorylisting .owl-stage {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

/* Harmony Design Pass: Professional Card Interior Redesign */
.catecard, .service-card, .modern-job-card {
  padding: 0 !important; /* Reset padding to use internal spacing */
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important; /* Default to natural left alignment */
  background: #ffffff !important;
  border: 1px solid #f0f0f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  height: 100% !important;
}

.catecard:hover, .service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 30px rgba(26, 122, 106, 0.15) !important;
  border-color: #1a7a6a !important;
}

/* Image Containers Harmony */
.service-img, .iconcircle {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  background: #f8fafb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.service-img img, .iconcircle img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* Better for logos and varied icons */
  padding: 10px !important;
}

/* Pro Label Premium Styling */
.pro-label {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #f6ad55 !important; /* Elegant goldish orange */
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    z-index: 10 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    text-transform: uppercase !important;
}

/* Section Heading Consistency */
.section h3, .section h2 {
    color: #1a202c !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
}
/* Internal Spacing Professionalism */
.catedata, .card-body {
  padding: 20px !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.catecard .badge, .service-card .badge {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  border-radius: 6px !important;
  background: rgba(26, 122, 106, 0.08) !important;
  color: #1a7a6a !important;
  border: none !important;
}

.catecard h3, .service-card .card-title {
  font-size: 1.1rem !important;
  color: #1a202c !important;
  margin-bottom: 8px !important;
  margin-top: 0 !important;
}

/* =============================================
   Splash Screen — Stitch Design (Taklif Green)
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(ellipse at 30% 20%, #1a4731 0%, #0d2818 40%, #071810 100%);
  z-index: 999999;
  display: none; /* Hidden by default, shown via JS if session is new */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* — Floating Glassmorphism Cards — */
.splash-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 16px;
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  min-width: 170px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  animation: floatCard 5s ease-in-out infinite;
}

.splash-card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #34d399;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.splash-card-icon {
  font-size: 26px;
  margin-bottom: 6px;
  background: rgba(52, 211, 153, 0.25);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.splash-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.splash-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.splash-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(52, 211, 153, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.3);
  text-transform: uppercase;
}

/* Card positions — top corners so they never overlap center content */
.splash-card-1 {
  top: 4%;
  left: 3%;
  transform: rotate(-5deg);
  animation-delay: 0s;
  animation-duration: 6s;
  max-width: min(170px, 38vw);
}

.splash-card-2 {
  top: 4%;
  right: 3%;
  transform: rotate(4deg);
  animation-delay: -2s;
  animation-duration: 5.5s;
  max-width: min(170px, 38vw);
}

.splash-card-3 {
  bottom: 8%;
  right: 3%;
  transform: rotate(-3deg);
  animation-delay: -1s;
  animation-duration: 7s;
  max-width: min(170px, 38vw);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(-5deg); }
  50%       { transform: translateY(-10px) rotate(-5deg); }
}

.splash-card-2 { animation-name: floatCard2; }
@keyframes floatCard2 {
  0%, 100% { transform: translateY(0px) rotate(4deg); }
  50%       { transform: translateY(-8px) rotate(4deg); }
}

.splash-card-3 { animation-name: floatCard3; }
@keyframes floatCard3 {
  0%, 100% { transform: translateY(0px) rotate(-3deg); }
  50%       { transform: translateY(-12px) rotate(-3deg); }
}

/* On very small phones, shrink the cards further */
@media (max-width: 380px) {
  .splash-card {
    min-width: 100px;
    padding: 8px 10px;
  }
  .splash-card-icon { width: 32px; height: 32px; font-size: 18px; }
  .splash-card-title { font-size: 12px; }
}

/* ── Main Center Content ── */
.splash-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  position: relative;
  padding: 0 24px;
  width: 100%;
  max-width: 420px;
}

/* Import Arabic font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@700;900&display=swap');

.splash-logo {
  font-size: clamp(52px, 13vw, 88px);
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  letter-spacing: -2px;
  margin-bottom: 10px;
  text-shadow: 0 4px 40px rgba(52, 211, 153, 0.5);
  line-height: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(60px, 15vw, 110px);
  width: 100%;
  max-width: 420px;
  animation: splashLogoIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes splashLogoIn {
  from { opacity: 0; transform: translateY(25px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Latin "Taklif" span */
.logo-latin {
  position: absolute;
  animation: showLatin 4.5s ease-in-out infinite;
  font-style: italic;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Arabic "ØªÙƒÙ„ÙŠÙ " span */
.logo-arabic {
  position: absolute;
  direction: rtl;
  font-style: normal;
  font-family: 'Noto Naskh Arabic', 'Arial', sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  animation: showArabic 4.5s ease-in-out infinite;
}

/* Latin: visible 0â†’2s, fades out 2â†’2.5s, hidden 2.5â†’4.5s */
@keyframes showLatin {
  0%    { opacity: 1; transform: scale(1)    blur(0px);   filter: blur(0px); }
  40%   { opacity: 1; transform: scale(1)    blur(0px);   filter: blur(0px); }
  50%   { opacity: 0; transform: scale(0.85) blur(8px);   filter: blur(8px); }
  90%   { opacity: 0; transform: scale(0.85) blur(8px);   filter: blur(8px); }
  100%  { opacity: 1; transform: scale(1)    blur(0px);   filter: blur(0px); }
}

/* Arabic: hidden 0â†’2s, fades in 2â†’2.5s, visible 2.5â†’4.5s */
@keyframes showArabic {
  0%    { opacity: 0; transform: scale(0.85); filter: blur(8px); }
  40%   { opacity: 0; transform: scale(0.85); filter: blur(8px); }
  50%   { opacity: 1; transform: scale(1);    filter: blur(0px); }
  90%   { opacity: 1; transform: scale(1);    filter: blur(0px); }
  100%  { opacity: 0; transform: scale(0.85); filter: blur(8px); }
}

.splash-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #34d399;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.6s 0.4s ease forwards;
}

/* â”€â”€ Animated Progress Bar â”€â”€ */
.splash-progress-bar {
  width: 60px;
  height: 4px;
  background: rgba(52, 211, 153, 0.25);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.6s 0.6s ease forwards;
}

.splash-progress-fill {
  height: 100%;
  width: 0%;
  background: #34d399;
  border-radius: 99px;
  animation: progressLoad 1.8s 0.8s ease forwards;
}

@keyframes progressLoad {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* â”€â”€ Get Started CTA â”€â”€ */
.splash-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--tk-app-primary);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  padding: clamp(14px, 4vw, 18px) clamp(32px, 10vw, 56px);
  border-radius: 99px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px var(--tk-app-primary-glow);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: 0.3px;
  opacity: 0;
  animation: fadeInUp 0.7s 1s ease forwards;
  min-width: 200px;
}

.splash-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.6);
}

.splash-cta-btn:active {
  transform: translateY(0);
}

/* â”€â”€ Footer Text â”€â”€ */
.splash-footer {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(52, 211, 153, 0.5);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 0.6s 1.2s ease forwards;
}

/* â”€â”€ Shared Keyframes â”€â”€ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==============================================
   Onboarding Flow - Harmonized with Splash Screen
   Same dark-green palette and premium aesthetic
   ============================================== */
.onboarding-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(ellipse at 60% 80%, #1a4731 0%, #0d2818 45%, #071810 100%);
  z-index: 999998;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.onboarding-container {
  width: 100%;
  max-width: 480px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 28px;
  box-sizing: border-box;
}

.onboarding-header {
  text-align: center;
  padding: 8px 0 10px;
  flex-shrink: 0;
}

.onboarding-logo {
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  color: #34d399;
  letter-spacing: -1px;
  text-shadow: 0 0 30px rgba(52, 211, 153, 0.4);
}

.onboarding-slides {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.onboarding-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  padding: 0;
}

/* --- Onboarding slide entrance animations --- */
.onboarding-image {
  width: 100%;
  flex: 0 0 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff; /* White background for photos to pop */
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.6s ease-out both;
}

.onboarding-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.onboarding-text-area {
  width: 100%;
  flex: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: 24px;
  padding: 20px 18px;
  margin-top: 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: slideInUp 0.6s 0.2s ease-out both;
}

.onboard-text-item h2 {
  font-size: clamp(20px, 5.5vw, 28px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.onboard-text-item p {
  font-size: clamp(13px, 3.8vw, 15px);
  color: rgba(52, 211, 153, 0.85);
  line-height: 1.55;
  padding: 0;
  margin: 0;
}

/* Custom Owl Dots for Onboarding */
.onboarding-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.onboarding-dots .owl-dot span {
  width: 8px;
  height: 8px;
  background: rgba(52, 211, 153, 0.25);
  display: block;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.onboarding-dots .owl-dot.active span {
  width: 24px;
  background: #34d399;
  border-radius: 4px;
}

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

.onboarding-footer-controls {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  animation: slideInUp 0.6s 0.4s ease-out both;
}

.onboarding-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.onboard-btn-main,
.next-btn-stacked,
.finish-btn-stacked {
  width: 100%;
  padding: 15px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 700;
  background: #22c55e;
  border: none;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.45);
  display: block;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.onboard-btn-main:hover,
.next-btn-stacked:hover,
.finish-btn-stacked:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(34, 197, 94, 0.55);
  color: #ffffff;
}

.btn-outline-onboard {
  width: 100%;
  padding: 15px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 700;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  display: block;
  text-align: center;
  cursor: pointer;
}

.btn-outline-onboard:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.skip-btn-stacked {
  width: 100%;
  padding: 14px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.skip-btn-stacked:hover {
  background: rgba(255, 255, 255, 0.13);
  text-decoration: none;
  color: #ffffff;
}

.onboarding-slides .owl-stage-outer,
.onboarding-slides .owl-stage,
.onboarding-slides .owl-item {
  height: 100% !important;
}

.btn-primary,
.btn-primary:focus {
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
}

/* Mobile Bottom Navigation (Floating App Style) */
.mobile-bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  height: 70px;
  background: #ffffff;
  border-radius: 35px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1030;
  padding: 0 10px;
  transition: all 0.3s ease;
}

/* Dark mode fallback if they ever switch to dark mode */
@media (prefers-color-scheme: dark) {
  /* This is just a provision based on the user's request. 
     Currently the app is light-themed but they asked for both styles. */
}

.mobile-bottom-nav .nav-item {
  color: #64748b;
  font-size: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
  color: #0f172a;
}

/* Center Active Button Layout (like the screenshot's middle icon) */
.mobile-bottom-nav .nav-item.center-btn.active .center-btn-inner,
.mobile-bottom-nav .nav-item.center-btn {
  /* Default state for the center button */
  display: flex;
}

/* If the center button is explicitly active or we want to style it like the screenshot */
.mobile-bottom-nav .nav-item.center-btn {
  background: transparent;
  width: 60px;
  height: 60px;
  margin-top: -10px;
  /* Slight overlap */
  position: relative;
}

.mobile-bottom-nav .nav-item.center-btn .center-btn-inner {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #38a169 0%, #2d8657 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(56, 161, 105, 0.5);
  font-size: 20px;
  transition: all 0.3s ease;
}

.mobile-bottom-nav .nav-item.center-btn:hover .center-btn-inner,
.mobile-bottom-nav .nav-item.center-btn.active .center-btn-inner {
  transform: scale(1.05);
  background: #0077e6;
}

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* Modern Sidebar Dashboard */
.usernavwrap.modern-sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: none;
}

.sidebar-user-profile {
  display: flex;
  align-items: center;
  padding: 0 20px 20px 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.sidebar-user-profile .user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.sidebar-user-profile .user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-user-profile .user-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.sidebar-menu-label {
  padding: 0 20px;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

ul.usernavdash {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.usernavdash li {
  margin-bottom: 5px;
  border: none !important;
}

ul.usernavdash li a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #666;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul.usernavdash li a i {
  font-size: 18px;
  width: 30px;
  margin-right: 15px;
  color: #999;
  text-align: center;
  transition: all 0.3s ease;
}

ul.usernavdash li.active>a,
ul.usernavdash li a:hover {
  color: var(--primary);
  background: rgba(79, 77, 179, 0.05);
  border-left: 3px solid var(--primary);
  padding-left: 17px;
}

ul.usernavdash li.active>a i,
ul.usernavdash li a:hover i {
  color: var(--primary);
}

ul.usernavdash li.logout-link {
  margin-top: 20px;
}

ul.usernavdash li.logout-link a {
  color: #ff4b4b;
}

ul.usernavdash li.logout-link a i {
  color: #ff4b4b;
}

ul.usernavdash li.logout-link a:hover {
  background: rgba(255, 75, 75, 0.05);
  border-left: 3px solid #ff4b4b;
  color: #ff4b4b;
  padding-left: 17px;
}

.usernavwrap .switchbox {
  padding: 0 20px 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.usernavwrap .switchbox .txtlbl {
  margin-bottom: 0;
}

/* Mobile App Menu Redesign */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 20px 0 0 20px;
    width: 85%;
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
  }

  .close-toggler {
    position: absolute;
    top: 35px;
    right: 30px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin: 0;
    z-index: 99;
    transition: all 0.3s;
  }

  .close-toggler:hover {
    background-color: #3f3da3;
  }

  .close-toggler i:before {
    content: \f00d\  !important;
  }

  .navbar-nav {
    margin-top: 10px;
  }

  .navbar-nav li {
    border-bottom: none !important;
    margin-bottom: 5px;
  }

  .navbar-nav li a {
    color: #3b4256 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 0 !important;
    transition: all 0.3s ease;
  }

  .navbar-nav li.active>a,
  .navbar-nav li a:hover {
    color: var(--primary) !important;
    padding-left: 10px !important;
  }
}

/* Mobile Search Fix */
@media (max-width: 991px) {
  .searchbar .input-group {
    flex-direction: column !important;
  }

  .searchbar .input-group .form-control,
  .searchbar .input-group .btn {
    width: 100%;
    border-radius: 8px !important;
    margin-bottom: 5px;
    height: 50px;
  }

  .searchwrap {
    padding: 20px 10px;
  }
}


/* --- ANIMATED NAVBAR (user request) --- */
.navbar-mainbg {
  background-color: transparent !important;
  padding: 0px;
}

#nav-main {
  overflow: hidden;
  position: relative;
}

#nav-main ul {
  padding: 0px;
  margin: 0px;
  position: relative;
}

#nav-main li {
  list-style-type: none;
  float: left;
}

#nav-main ul li a {
  color: var(--secondary) !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: block;
  padding: 15px 20px !important;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

#nav-main>ul>li.active>a {
  color: #fff !important;
  background-color: transparent;
  transition: all 0.7s;
}

#nav-main a:not(:only-child):after {
  content: "\f105";
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 14px;
  font-family: "Font Awesome 5 Free";
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  font-weight: 900;
  transition: 0.5s;
}

#nav-main .active>a:not(:only-child):after {
  transform: rotate(90deg);
}

.hori-selector {
  display: inline-block;
  position: absolute;
  height: 100%;
  top: 0px;
  left: 0px;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  background-color: var(--secondary);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin-top: 5px;
}

.hori-selector .right,
.hori-selector .left {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: var(--secondary);
  bottom: 0px;
}

.hori-selector .right {
  right: -25px;
}

.hori-selector .left {
  left: -25px;
}

.hori-selector .right:before,
.hori-selector .left:before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
}

.hori-selector .right:before {
  bottom: 0;
  right: -25px;
}

.hori-selector .left:before {
  bottom: 0;
  left: -25px;
}

@media(min-width: 992px) {
  .navbar-expand-custom {
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .navbar-expand-custom .navbar-nav {
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .navbar-expand-custom .navbar-toggler {
    display: none;
  }

  .navbar-expand-custom .navbar-collapse {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
  }

  /* Keep the Register Button distinct style */
  .navbar-nav .nav-item.register .nav-link {
    background-color: #0066ff !important;
    color: #ffffff !important;
    border-radius: 6px;
    padding: 8px 20px !important;
    margin-top: 10px;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
    border: none;
  }

  .navbar-nav .nav-item.register .nav-link:hover {
    background-color: #005ce6 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 102, 255, 0.4);
  }
}

@media (max-width: 991px) {
  #nav-main ul li a {
    padding: 12px 30px !important;
  }

  .hori-selector {
    margin-top: 0px;
    margin-left: 10px;
    border-radius: 0;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
  }

  .hori-selector .left,
  .hori-selector .right {
    right: 10px;
  }

  .hori-selector .left {
    top: -25px;
    left: auto;
  }

  .hori-selector .right {
    bottom: -25px;
  }

  .hori-selector .left:before {
    left: -25px;
    top: -25px;
  }

  .hori-selector .right:before {
    bottom: -25px;
    left: -25px;
  }
}

/* Fix: remove the conflicting white header override */
.header .logo {
  display: flex !important;
  align-items: center !important;
}

.header .logo span {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* User dropdown button text color - white on green header */
#nav-main ul li.userbtn>a {
  color: rgba(255, 255, 255, 0.9) !important;
}

#nav-main ul li.userbtn .dropdown-menu .nav-link {
  color: #1e293b !important;
  padding: 10px 15px !important;
}

/* Navbar toggler â€“ white on green */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
}

.navbar-toggler .fa-bars {
  color: #ffffff !important;
  font-size: 18px;
}

/* Register / Post a Job pill button in nav */
.navbar-nav li.register a,
.navbar-nav li.nav-item.register a.register {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 999px !important;
  padding: 7px 18px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: all 0.2s ease !important;
}

.navbar-nav li.register a:hover,
.navbar-nav li.nav-item.register a.register:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Dropdown menus â€“ clean white with shadow */
.navbar-nav .dropdown-menu {
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18) !important;
  overflow: hidden;
  padding: 8px !important;
  margin-top: 8px !important;
}

/* Mobile nav adjustment â€“ keep text visible */
@media (max-width: 991.98px) {

  .navbar-collapse.collapse.show,
  .navbar-collapse.collapsing {
    background: linear-gradient(160deg, #1f6b43 0%, #2d8657 100%);
    border-radius: 0 0 18px 18px;
    padding: 16px 20px 20px;
    box-shadow: 0 12px 30px rgba(46, 125, 80, 0.3);
  }

  .navbar-nav>li>a,
  .navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 15px;
    padding: 12px 16px !important;
    border-radius: 10px;
    margin-bottom: 2px;
  }

  .navbar-nav>li.active>a,
  .navbar-light .navbar-nav .active>.nav-link {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
  }
}

/* ============================
   Language Switcher Button
   ============================ */
.lang-switcher-btn {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.lang-btn-trigger:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #ffffff !important;
}

.lang-flag-img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.lang-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.lang-chevron {
  font-size: 9px;
  opacity: 0.7;
  margin-top: 1px;
}

/* Dropdown panel */
.lang-dropdown-menu {
  min-width: 175px !important;
  border-radius: 14px !important;
  border: none !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2) !important;
  padding: 8px !important;
  margin-top: 8px !important;
  background: #ffffff !important;
  overflow: hidden;
}

/* Each language option */
.lang-option {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  color: #1e293b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
}

.lang-option:hover {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}

.lang-option.active-lang {
  background: #38a169 !important;
  color: #ffffff !important;
}

.lang-opt-flag-img {
  width: 26px;
  height: 26px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.lang-active-check {
  margin-left: auto;
  color: #38a169;
  font-weight: 700;
  font-size: 14px;
}

.lang-option.active-lang .lang-active-check {
  color: #ffffff;
}

.lang-opt-name {
  font-size: 13px;
  font-weight: 600;
}

/* ============================
   Applied Jobs Table (Rebuilt)
   ============================ */

.appliedjobswrap {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.ajw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.ajw-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ajw-count {
  background: #f0faf4;
  color: #38a169;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Swipeable scroll wrapper */
.ajw-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.ajw-table-scroll::-webkit-scrollbar {
  height: 5px;
}

.ajw-table-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.ajw-table-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}

/* Table itself */
.ajw-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ajw-table thead tr {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

.ajw-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  white-space: nowrap;
}

.ajw-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.ajw-table tbody tr:last-child {
  border-bottom: none;
}

.ajw-table tbody tr:hover {
  background: #f8fafc;
}

.ajw-table td {
  padding: 14px 16px;
  vertical-align: middle;
}

/* Job Title Cell */
.ajw-title-cell {
  min-width: 180px;
}

.ajw-job-title {
  display: block;
  font-weight: 700;
  color: #1e293b;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.ajw-job-title:hover {
  color: #38a169;
}

.ajw-job-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  padding: 2px 8px;
  letter-spacing: 0.4px;
}

/* Company Cell */
.ajw-company-cell {
  min-width: 150px;
}

.ajw-company-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ajw-company-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.ajw-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ajw-company-name {
  font-weight: 600;
  color: #334155;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.ajw-company-name:hover {
  color: #38a169;
}

/* Location and Date */
.ajw-location,
.ajw-date {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

.ajw-location i,
.ajw-date i {
  color: #94a3b8;
  font-size: 12px;
}

/* Status Badges */
.ajw-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-approved {
  background: #dcfce7;
  color: #16a34a;
}

.status-rejected {
  background: #fee2e2;
  color: #dc2626;
}

.status-shortlisted {
  background: #fef3c7;
  color: #d97706;
}

.status-pending {
  background: #f1f5f9;
  color: #475569;
}

/* View button */
.ajw-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #38a169;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ajw-view-btn:hover {
  background: #276749;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 77, 179, 0.3);
}

/* Mobile swipe hint */
.ajw-swipe-hint {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Empty state */
.ajw-empty {
  text-align: center;
  padding: 48px 24px;
  color: #94a3b8;
}

.ajw-empty i {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
  color: #cbd5e1;
}

.ajw-empty p {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 20px;
}

/* ======================================
   TOP BAR
   ====================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1f6b43 0%, #2d8657 40%, #38a169 100%);
  box-shadow: 0 2px 16px rgba(46, 125, 80, 0.3);
  height: 62px;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 575.98px) {
  .topbar-inner {
    padding: 0 12px !important;
  }
}

.topbar-logo {
  text-decoration: none;
}

.topbar-logo-text {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 575.98px) {
  .topbar-logo-text {
    font-size: 19px !important;
    letter-spacing: 1px !important;
  }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 575.98px) {
  .topbar-actions {
    gap: 6px !important;
  }
}

/* Sidebar open button */
.sidebar-open-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  color: #ffffff !important;
  width: 44px;
  height: 44px;
  display: flex !important; /* Ensure it is always visible as requested */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s ease;
  z-index: 100;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
}

/* Topbar language */
.topbar-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.topbar-lang-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.topbar-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.topbar-lang-name {
  font-size: 13px;
  font-weight: 600;
}

.topbar-lang-chevron {
  font-size: 9px;
  opacity: 0.8;
}

/* Topbar avatar */
.topbar-avatar-btn {
  display: flex;
  align-items: center;
  border: 2.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  overflow: hidden;
  width: 38px;
  height: 38px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.topbar-avatar-btn:hover {
  border-color: #ffffff;
}

.topbar-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Topbar user dropdown */
.topbar-user-dropdown {
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2) !important;
  padding: 8px !important;
  min-width: 200px;
  margin-top: 10px !important;
}

.topbar-user-dropdown .dropdown-item {
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}

.topbar-user-dropdown .dropdown-item:hover {
  background: #f1f5f9;
}

.topbar-user-dropdown .dropdown-item.text-danger {
  color: #dc2626 !important;
}

/* Topbar sign in btn */
.topbar-signin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 6px 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.topbar-signin-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.sidebar-open-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Offset content below topbar */
body {
  padding-top: 62px;
}

/* ======================================
   SIDEBAR OVERLAY
   ====================================== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1999; /* Just below sidebar */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sidebar-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ======================================
   SIDEBAR PANEL
   ====================================== */
.app-sidebar {
  position: fixed;
  top: 0;
  right: -340px;
  /* Default: hidden on the right */
  width: 320px;
  height: 100%;
  z-index: 2000; /* Increased z-index to be on top of everything */
  background: linear-gradient(160deg, #1a5c39 0%, #2d8657 55%, #3aaa6e 100%);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(15, 23, 42, 0.3);
  overflow: hidden;
}

/* LTR: slide from left */
html[dir="ltr"] .app-sidebar,
html:not([dir="rtl"]) .app-sidebar {
  right: auto;
  left: -340px;
  box-shadow: 8px 0 40px rgba(15, 23, 42, 0.3);
}

.app-sidebar.open {
  transform: translateX(0);
  right: 0 !important;
}

html[dir="ltr"] .app-sidebar.open,
html:not([dir="rtl"]) .app-sidebar.open {
  right: auto;
  left: 0;
}

/* Sidebar decorative circles */
.app-sidebar::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -80px;
  right: -80px;
  pointer-events: none;
}

.app-sidebar::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: 80px;
  left: -60px;
  pointer-events: none;
}

/* ======================================
   SIDEBAR HEAD
   ====================================== */
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.sidebar-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
}

.sidebar-brand-name {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
}

.sidebar-brand-sub {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-top: 1px;
}

.sidebar-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s;
}

.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ======================================
   SIDEBAR NAV
   ====================================== */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
  padding: 4px 10px 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.18s ease;
  margin-bottom: 2px;
  cursor: pointer;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateX(3px);
}

html[dir="rtl"] .sidebar-item:hover {
  transform: translateX(-3px);
}

.sidebar-item.active {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.sidebar-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: background 0.18s;
}

.sidebar-item.active .sidebar-item-icon {
  background: rgba(255, 255, 255, 0.28);
}

.sidebar-item:hover .sidebar-item-icon {
  background: rgba(255, 255, 255, 0.2);
}

/* CTA item (Post a Job / Register) */
.sidebar-item-cta {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.sidebar-item-cta:hover {
  background: rgba(255, 255, 255, 0.28);
}

.sidebar-item-cta .sidebar-item-icon {
  background: rgba(255, 255, 255, 0.25);
}

/* ======================================
   SIDEBAR FOOTER – USER CARD
   ====================================== */
.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
}

.sidebar-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.sidebar-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-email {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-logout-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.sidebar-logout-btn:hover {
  background: rgba(220, 38, 38, 0.3);
  color: #fca5a5;
}

/* ============================================
   MOBILE APP-LIKE EXPERIENCE
   ============================================ */

/* === PREVENT HORIZONTAL SCROLL (critical) === */
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* === TOPBAR MOBILE === */
@media (max-width: 991.98px) {
  .topbar {
    height: 56px;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .topbar-inner {
    padding: 0 14px;
    height: 56px;
  }

  .topbar-logo-text {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .topbar-actions {
    gap: 6px;
  }

  /* Prevent overlapping of actions on mobile */
  .topbar-avatar-wrap,
  .topbar-sidebar-wrap,
  .sidebar-open-btn {
    display: flex !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
  }

  .sidebar-open-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
  }

  .topbar-avatar-btn {
    width: 32px;
    height: 32px;
  }

  /* Offset from topbar */
  body {
    padding-top: 56px;
  }
}

/* === EXTREME NARROW SCREENS (e.g. iPhone SE) === */
@media (max-width: 360px) {
  .topbar-logo-text {
    font-size: 18px;
  }
  
  .topbar-actions {
    gap: 4px;
  }

  .topbar-signin-btn span {
    display: none !important; /* Hide 'Sign in' text, keep icon only */
  }

  .topbar-lang-name {
    display: none; /* Hide language name, keep flag only */
  }
}

/* === PREVENT PAGE SECTIONS FROM OVERFLOWING === */
@media (max-width: 991.98px) {

  .searchwrap,
  .infodatawrap,
  .listpgWraper,
  .pageSearch,
  .userccount,
  .job-header,
  .footerWrap,
  .howitwrap,
  .topjobsec,
  .latestjobs,
  .topemployerwrap,
  .premium-wrap,
  .testimonials,
  .blogwrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  /* Containers fill width */
  .container,
  .container-fluid {
    padding-left: 14px !important;
    padding-right: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .col,
  [class^="col-"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* === BOTTOM MOBILE NAV â€“ FIXED & HARMONIOUS === */
@media (max-width: 991.98px) {
  .mobilenav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1) !important;
    padding: 0 !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
    display: block !important;
    overflow: hidden !important;
  }

  .mobilenav ul {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-around !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 62px !important;
  }

  .mobilenav ul li {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobilenav ul li a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    width: 100% !important;
    height: 100% !important;
    padding: 8px 4px !important;
    text-decoration: none !important;
    color: #94a3b8 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    transition: color 0.18s ease !important;
    text-align: center !important;
  }

  .mobilenav ul li a:hover,
  .mobilenav ul li a.active {
    color: #38a169 !important;
  }

  .mobilenav ul li a svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
  }

  .mobilenav ul li a.active svg path,
  .mobilenav ul li a:hover svg path {
    fill: #38a169 !important;
  }

  .mobilenav ul li a span {
    font-size: 10px !important;
    line-height: 1 !important;
    display: block !important;
    white-space: nowrap !important;
  }

  /* Body bottom padding for bottom nav */
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom)) !important;
  }
}

/* === APP-LIKE CARDS === */
@media (max-width: 767.98px) {

  /* Job cards */
  .jobint,
  .modern-job-card,
  .profbox,
  .appliedjobswrap,
  .profileban,
  .empint,
  .emptbox,
  .userprofilealert {
    border-radius: 16px !important;
    margin-bottom: 12px !important;
    padding: 16px !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08) !important;
    overflow: hidden !important;
  }

  /* Cards in lists */
  .featuredlist>li {
    padding: 0 6px 12px !important;
  }

  /* Typography harmony */
  h1,
  .h1 {
    font-size: 26px !important;
  }

  h2,
  .h2 {
    font-size: 22px !important;
  }

  h3 {
    font-size: 18px !important;
  }

  h4 {
    font-size: 16px !important;
  }

  h5 {
    font-size: 14px !important;
  }

  p,
  .nav-link,
  .form-control,
  label {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  /* Buttons â€” big enough to tap */
  .btn,
  .sitebtn,
  .button-orng {
    min-height: 44px !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  /* Inputs */
  .form-control,
  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    height: 48px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
  }

  textarea.form-control {
    height: auto !important;
  }

  /* Search bar */
  .searchform .input-group {
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .searchform .form-control {
    border-radius: 14px 0 0 14px !important;
  }

  /* User profile banner */
  .usercoverphoto {
    border-radius: 16px 16px 0 0 !important;
  }

  .uavatar {
    margin: 0 auto 10px !important;
  }

  /* Section gaps */
  .section {
    padding: 24px 0 !important;
  }

  /* Dashboard sidebar hide on mobile */
  .userdashboard {
    display: none !important;
  }

  /* Applied jobs table */
  .ajw-table {
    min-width: 580px !important;
  }
}

/* === PAGE SEARCH SECTION === */
@media (max-width: 767.98px) {
  .pageSearch {
    padding: 24px 0 !important;
    background: linear-gradient(160deg, #1f6b43 0%, #38a169 100%) !important;
  }

  .pageSearch h3 {
    font-size: 20px !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
  }
}

/* ======================================
   APK DOWNLOAD BANNER
   ====================================== */
.apk-download-banner {
  background: linear-gradient(135deg, #1f6b43 0%, #38a169 100%);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 16px 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 28px rgba(46, 125, 80, 0.3);
  position: relative;
  overflow: hidden;
}

.apk-download-banner::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  top: -60px;
  right: -40px;
}

.apk-banner-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.apk-banner-text {
  flex: 1;
  min-width: 0;
}

.apk-banner-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.apk-banner-sub {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.apk-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #2d8657;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apk-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: #2d8657;
  text-decoration: none;
}

/* Show only on mobile */
.apk-download-banner {
  display: none;
}

@media (max-width: 991.98px) {
  .apk-download-banner {
    display: flex !important;
  }
}

/* ============================================
   CURVED BOTTOM NAVIGATION BAR
   ============================================ */
.curved-nav {
  display: none;
  /* hidden on desktop */
}

/* Override old .mobilenav if any remains */
.mobilenav {
  display: none !important;
}

@media (max-width: 991.98px) {
  .curved-nav {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 70px !important;
    z-index: 9999 !important;
    pointer-events: none;
    padding-bottom: env(safe-area-inset-bottom);
  }

  /* SVG background that creates the curved notch */
  .curved-nav-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 -4px 16px rgba(15, 23, 42, 0.12));
    pointer-events: none;
  }

  /* Items row sits on top of SVG */
  .curved-nav-items {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px;
    pointer-events: auto;
  }

  /* Regular nav item */
  .cnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    max-width: 72px;
    text-decoration: none;
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 6px 0;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .cnav-item:hover,
  .cnav-item:active,
  .cnav-item.cnav-active {
    color: #2d8657 !important;
  }

  .cnav-item.cnav-active .cnav-icon {
    transform: translateY(-3px);
  }

  .cnav-icon {
    font-size: 20px;
    line-height: 1;
    display: block;
    transition: transform 0.2s ease;
  }

  .cnav-label {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0.2px;
  }

  /* Center wrap â€” placeholder space for the floating button */
  .cnav-center-wrap { flex: 1; max-width: 90px; display: flex; align-items: center; justify-content: center; }

  /* Floating center green circle button */
  .cnav-center-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d8657 0%, #38a169 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
    box-shadow:
      0 0 0 5px rgba(255, 255, 255, 0.95),
      0 6px 20px rgba(46, 125, 80, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
  }

  .cnav-center-btn:hover,
  .cnav-center-btn:active {
    transform: translateX(-50%) scale(1.08) translateY(-2px);
    box-shadow:
      0 0 0 5px rgba(255, 255, 255, 0.95),
      0 10px 28px rgba(46, 125, 80, 0.55);
    color: #ffffff;
  }

  /* Body padding for curved nav */
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom)) !important;
  }

  /* Unread message badge */
  .cnav-icon {
    position: relative;
  }

  .cnav-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #ef4444; /* red-500 */
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
    line-height: 1;
    z-index: 10;
  }
}

/* ============================================
   SITE AD BANNER CARD (compact slide style)
   ============================================ */
.site-ad-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 16px 0 8px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.1);
  background: #f1f5f9;
  display: block;
}

.site-ad-img-wrap {
  width: 100%;
  max-height: 160px;
  overflow: hidden;
  display: block;
  position: relative;
}

.site-ad-img-wrap img {
  width: 100% !important;
  height: 160px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
  transition: transform 0.4s ease;
}

.site-ad-card:hover .site-ad-img-wrap img {
  transform: scale(1.04);
}

.site-ad-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.55);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* ============================================
   MODERN MESSENGER UI
   ============================================ */

/* Back button */
.msg-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2d8657;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 10px;
  background: #f0faf4;
  border: 1.5px solid #a7f3c1;
  transition: background 0.18s;
}

.msg-back-btn:hover {
  background: #d1fae5;
  color: #1f6b43;
}

/* ===== INBOX ===== */
.msg-inbox-wrap {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

.msg-inbox-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(90deg, #f0faf4, #ffffff);
}

.msg-inbox-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 9px;
}

.msg-inbox-title i {
  color: #38a169;
}

.msg-count-badge {
  background: #38a169;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
}

/* Thread list */
.msg-thread-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.msg-thread-item {
  border-bottom: 1px solid #f8fafc;
  transition: background 0.15s;
}

.msg-thread-item:last-child {
  border-bottom: none;
}

.msg-thread-item.msg-unread {
  background: #f0fdf6;
  border-left: 3px solid #38a169;
}

.msg-thread-item:hover {
  background: #f8fafc;
}

.msg-thread-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* Avatar initials circle */
.msg-thread-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d8657 0%, #38a169 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(46, 125, 80, 0.25);
}

.msg-avatar-initials {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.msg-avatar-lg {
  width: 54px !important;
  height: 54px !important;
}

.msg-avatar-sm {
  font-size: 14px !important;
}

.msg-thread-body {
  flex: 1;
  min-width: 0;
}

.msg-thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.msg-sender-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-thread-date {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 10px;
  flex-shrink: 0;
}

.msg-thread-subject {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-thread-email {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Unread indicator dot */
.msg-unread-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38a169;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.2);
}

/* Empty state */
.msg-empty-state {
  text-align: center;
  padding: 56px 20px;
  color: #94a3b8;
}

.msg-empty-icon {
  font-size: 52px;
  color: #c8e6d4;
  margin-bottom: 16px;
}

.msg-empty-state h4 {
  font-size: 18px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
}

.msg-empty-state p {
  font-size: 14px;
  color: #94a3b8;
}

/* ===== MESSAGE DETAIL ===== */
.msg-detail-wrap {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

.msg-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(90deg, #f0faf4, #ffffff);
}

.msg-detail-sender {
  flex: 1;
  min-width: 0;
}

.msg-sender-email {
  font-size: 12.5px;
  color: #38a169;
  text-decoration: none;
  font-weight: 600;
}

.msg-sender-email:hover {
  text-decoration: underline;
}

.msg-detail-date {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* Subject bar */
.msg-subject-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.msg-subject-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  white-space: nowrap;
}

.msg-subject-text {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

/* Chat area */
.msg-chat-area {
  padding: 24px 20px;
  background: #f8fafc;
  min-height: 200px;
}

/* Received bubble */
.msg-bubble {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  max-width: 80%;
}

.msg-bubble-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d8657, #38a169);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(46, 125, 80, 0.2);
}

.msg-bubble-content {
  background: #ffffff;
  border-radius: 0 16px 16px 16px;
  padding: 14px 18px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  position: relative;
}

.msg-bubble-name {
  font-size: 12px;
  font-weight: 700;
  color: #38a169;
  margin-bottom: 6px;
}

.msg-bubble-text {
  font-size: 14.5px;
  color: #1e293b;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.msg-bubble-time {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 8px;
  text-align: right;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .msg-bubble {
    max-width: 95%;
  }

  .msg-detail-header {
    flex-wrap: wrap;
  }

  .msg-detail-date {
    width: 100%;
  }
}

/* ============================================
   Topbar Wallet Balance Badge
   ============================================ */
.topbar-wallet-badge {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.wallet-badge-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.2s;
}

.wallet-badge-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.wallet-badge-link i {
  font-size: 14px;
}

.wallet-badge-link .wallet-badge-amount {
  font-size: 13px;
  font-weight: 700;
}

.wallet-badge-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff !important;
  font-size: 14px;
  text-decoration: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
  font-weight: 700;
}

.wallet-badge-plus:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff !important;
}

/* Mobile: always show balance, only hide on extremely tiny screens */
@media (max-width: 360px) {
  .wallet-badge-amount {
    display: none;
  }

  .wallet-badge-link {
    padding: 6px 8px;
  }
}

@media (max-width: 400px) {
  .topbar-wallet-badge {
    margin-right: 6px;
  }
}

/* APK Download Link Desktop Styles */
.topbar-apk-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 5px 12px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.topbar-apk-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.topbar-apk-btn i {
    font-size: 16px;
}

/* Verification Badge Overlay - Circular Design (matching latest screenshot) */
.profile-pic-wrapper {
    position: relative;
    display: inline-block;
    overflow: visible !important; /* CRITICAL: Prevent clipping of the badge */
}

.blue-badge-overlay {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}

.blue-badge-overlay i {
    color: #0095f6 !important;
    font-size: 24px !important;
    display: block !important;
}

/* White checkmark for the spikey burst */
.blue-badge-overlay::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    color: #fff !important;
    font-size: 11px;
    top: 51%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.blue-badge-overlay.badge-sm {
    width: 14px;
    height: 14px;
    bottom: -2px;
    right: -2px;
}
.blue-badge-overlay.badge-sm i {
    font-size: 14px !important;
}
.blue-badge-overlay.badge-sm::after {
    font-size: 6px;
}

.blue-badge-overlay.badge-md {
    width: 18px;
    height: 18px;
    bottom: -1px;
    right: -1px;
}
.blue-badge-overlay.badge-md i {
    font-size: 18px !important;
}
.blue-badge-overlay.badge-md::after {
    font-size: 8px;
}

.blue-badge-overlay .badge-bg,
.blue-badge-overlay .badge-check {
    display: none !important; /* Hide old icons, using pseudo-element now */
}

/* Ensure no SVG background burst from previous version */
.blue-badge-overlay::before {
    display: none !important;
}

/* Inline Verification Badge (spiky style for next to names) */
.verified-badge-inline {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0095f6;
    margin-left: 5px;
    font-size: 1.1em;
    vertical-align: middle;
}

.verified-badge-inline::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    font-size: 0.5em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

