/* ============================================
   TNK Associate - Job Portal Styles
   ============================================ */

/* CSS Variables — TNK Associate Brand Palette */
:root {
  /* Primary: Deep Navy Blue */
  --primary-color: #f6432c;
  --primary-dark: #0f2548;
  --primary-light: #2d5fa6;

  /* Secondary: Rich Dark Navy */
  --secondary-color: #0d1b2a;

  /* Accent: Premium Gold */
  --accent-color: #d4a017;
  --accent-light: #f0c040;
  --accent-dark: #a87c0e;

  /* Text */
  --text-dark: #0d1b2a;
  --text-medium: #3d5166;
  --text-light: #7a92a8;

  /* Backgrounds */
  --white: #ffffff;
  --bg-light: #f4f7fb;
  --bg-dark: #0d1b2a;
  --bg-navy: #112240;

  /* Borders & Shadows */
  --border-color: #dce6f0;
  --shadow-sm: 0 1px 3px 0 rgba(13, 27, 42, 0.08);
  --shadow-md: 0 4px 8px -1px rgba(13, 27, 42, 0.12);
  --shadow-lg: 0 10px 20px -3px rgba(13, 27, 42, 0.15);
  --shadow-xl: 0 20px 40px -5px rgba(13, 27, 42, 0.2);
  --shadow-gold: 0 4px 15px rgba(212, 160, 23, 0.3);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition: all 0.3s ease;

  /* Fonts */
  --font-primary:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-color);
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.25rem;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 12px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-search {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius-md);
}

.btn-search:hover {
  background-color: var(--primary-dark);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* Highlight */
.highlight {
  color: var(--primary-color);
}

/* Visually Hidden */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Keep text logo fallback styles */
.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.logo-accent {
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.employer-dropdown {
  position: relative;
}

.employer-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.employer-dropdown-toggle span {
  font-size: 0.7rem;
}

.employer-dropdown-menu {
  position: absolute;
  z-index: 1100;
  top: calc(100% + 0px);
  right: 0;
  display: none;
  min-width: 178px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.employer-dropdown:hover .employer-dropdown-menu,
.employer-dropdown:focus-within .employer-dropdown-menu,
.employer-dropdown.is-open .employer-dropdown-menu {
  display: grid;
}

.employer-dropdown-menu a {
  padding: 9px 12px;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  white-space: nowrap;
}

.employer-dropdown-menu a:hover,
.employer-dropdown-menu a:focus {
  color: var(--primary-color);
  background: var(--bg-light);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--secondary-color);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.mobile-menu-btn.active .hamburger {
  background-color: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (max-width: 968px) {
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    transition: var(--transition);
    overflow-y: auto;
  }

  .nav.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    padding: 32px 20px;
    gap: 24px;
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.96) 0%,
    rgba(26, 60, 110, 0.88) 60%,
    rgba(212, 160, 23, 0.25) 100%
  );
}

.hero-content {
  max-width: 800px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--white);
  line-height: 1.1;
}

.hero-title .highlight {
  color: var(--accent-light);
  text-shadow: 0 2px 12px rgba(212, 160, 23, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-search {
  margin-bottom: 48px;
}

.search-form {
  background: var(--white);
  padding: 8px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.search-inputs {
  display: flex;
  gap: 8px;
}

.search-group {
  flex: 1;
}

.search-input {
  width: 100%;
  padding: 16px 20px;
  border: none;
  font-size: 1rem;
  background: transparent;
  outline: none;
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .search-inputs {
    flex-direction: column;
  }

  .btn-search {
    width: 100%;
  }
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero-stats {
    gap: 24px;
    justify-content: center;
  }

  .stat-number {
    font-size: 1.75rem;
  }
}

/* ============================================
   Section Styles
   ============================================ */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-medium);
  font-size: 1.125rem;
}

/* ============================================
   Jobs Section
   ============================================ */
.featured-jobs {
  background-color: var(--bg-light);
}

.jobs-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--border-color);
  background: var(--white);
  border-radius: 50px;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.company-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-light);
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.job-type {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(26, 60, 110, 0.1);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}

.job-location {
  font-size: 0.875rem;
  color: var(--text-light);
}

.job-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.job-title a:hover {
  color: var(--primary-color);
}

.company-name {
  color: var(--text-medium);
  font-weight: 500;
  margin-bottom: 12px;
}

.job-description {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  padding: 4px 12px;
  background: var(--bg-light);
  color: var(--text-medium);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.job-salary {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 0.9375rem;
}

.jobs-cta {
  text-align: center;
}

/* ============================================
   About Section
   ============================================ */
.about {
  background: var(--white);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 968px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent-color);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text {
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(26, 60, 110, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26, 60, 110, 0.15);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.feature-content h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-content p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* ============================================
   Services Section
   ============================================ */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent-color);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(
    135deg,
    rgba(26, 60, 110, 0.12),
    rgba(212, 160, 23, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 2px solid rgba(26, 60, 110, 0.12);
}

.service-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary-color);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-description {
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 50%,
    var(--bg-navy) 100%
  );
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(212, 160, 23, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-wrapper {
  text-align: center;
  color: var(--white);
}

.cta-title {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-text {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

@media (max-width: 968px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(26, 60, 110, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26, 60, 110, 0.12);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.contact-details h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--text-medium);
  line-height: 1.6;
}

.contact-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  cursor: pointer;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--secondary-color);
  color: var(--white);
  border-top: 3px solid var(--accent-color);
}

.footer-top {
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Brighten logo on dark footer background */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-logo .logo-text {
  color: var(--white);
  font-size: 1.5rem;
}

.footer-description {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.social-link:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: var(--white);
}

@media (max-width: 640px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   Page Banner
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, #0f2548 0%, #1a3c6e 50%, #2d5fa6 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(212, 160, 23, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.page-banner-sm {
  padding: 100px 0 40px;
}

.banner-content {
  color: var(--white);
}
.banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.banner-subtitle {
  font-size: 1.125rem;
  opacity: 0.85;
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  opacity: 0.8;
  color: #fff;
  font-weight: bold;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}
.breadcrumb a:hover {
  color: var(--accent-light);
}
.breadcrumb-sep {
  opacity: 0.5;
}

/* ============================================
   Categories Section
   ============================================ */
.categories-section {
  background: var(--white);
  padding: 80px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-dark);
}

.category-card:hover {
  border-color: var(--accent-color);
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  width: 56px;
  height: 56px;
  background: rgba(26, 60, 110, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.category-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary-color);
}
.category-name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.category-count {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ============================================
   Jobs Page (Listing with Sidebar)
   ============================================ */
.jobs-page {
  background: var(--bg-light);
  padding: 60px 0;
}

.jobs-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 968px) {
  .jobs-page-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar */
.jobs-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-light);
}

.widget-body {
  padding: 16px 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
  margin-bottom: 4px;
}

.filter-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.filter-input:focus {
  border-color: var(--primary-color);
}

.filter-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-medium);
  padding: 4px 0;
}

.filter-radio input[type="radio"] {
  cursor: pointer;
  accent-color: var(--primary-color);
}
.filter-radio em {
  color: var(--text-light);
  font-style: normal;
  font-size: 0.8rem;
}

/* Results Header */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count {
  font-size: 0.9375rem;
  color: var(--text-medium);
}
.results-count strong {
  color: var(--text-dark);
}
.results-sort {
  font-size: 0.875rem;
  color: var(--text-light);
}

.filter-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 8px;
}

.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(26, 60, 110, 0.1);
  color: var(--primary-color);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.active-filter a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

/* Job List Cards */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-list-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.job-list-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

@media (max-width: 768px) {
  .job-list-card {
    grid-template-columns: 56px 1fr;
  }
  .jlc-right {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    align-items: center;
  }
}

.jlc-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-light);
  flex-shrink: 0;
}
.jlc-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jlc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 12px;
}
.jlc-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.jlc-title a:hover {
  color: var(--primary-color);
}
.jlc-company {
  font-size: 0.875rem;
  color: var(--text-medium);
  font-weight: 500;
}
.jlc-badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.jlc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.jlc-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--text-light);
}
.jlc-time {
  margin-left: auto;
}
.jlc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jlc-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 160px;
}
.jlc-salary {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 0.9375rem;
  white-space: nowrap;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-featured {
  background: rgba(212, 160, 23, 0.15);
  color: var(--accent-dark);
}
.badge-type {
  background: rgba(26, 60, 110, 0.1);
  color: var(--primary-color);
}
.badge-category {
  background: rgba(26, 60, 110, 0.07);
  color: var(--primary-light);
}

/* Logo Placeholder */
.logo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.logo-placeholder-lg {
  font-size: 1.5rem;
  border-radius: var(--radius-lg);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
}

.no-results-icon {
  margin-bottom: 20px;
  opacity: 0.4;
}
.no-results h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-medium);
}
.no-results p {
  margin-bottom: 24px;
}

/* Pagination */
.pagination-wrapper {
  margin-top: 40px;
}
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-medium);
  background: var(--white);
  transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.page-dots {
  display: flex;
  align-items: center;
  color: var(--text-light);
  padding: 0 4px;
}

/* ============================================
   Job Detail Page
   ============================================ */
.job-detail-section {
  background: var(--bg-light);
  padding: 60px 0;
}

.job-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
  margin-bottom: 60px;
}

@media (max-width: 968px) {
  .job-detail-layout {
    grid-template-columns: 1fr;
  }
}

.jd-header-card,
.jd-content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  overflow: hidden;
}

.jd-header-top {
  display: flex;
  gap: 20px;
  padding: 28px 28px 20px;
  align-items: flex-start;
}

.jd-company-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-light);
}

.jd-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.jd-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.jd-company {
  font-size: 1rem;
  color: var(--text-medium);
  font-weight: 500;
}

.jd-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-color);
  border-top: 1px solid var(--border-color);
}

@media (max-width: 640px) {
  .jd-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.jd-meta-item {
  background: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.jd-meta-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 2px;
}
.jd-meta-value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
}

.jd-apply-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.jd-apply-info {
  font-size: 0.875rem;
  color: var(--text-light);
}
.dot-sep {
  margin: 0 8px;
}

.jd-content-card {
  padding: 28px;
}
.jd-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 28px 0 16px;
  color: var(--secondary-color);
}
.jd-content-card .jd-section-title:first-child {
  margin-top: 0;
}
.jd-description {
  color: var(--text-medium);
  line-height: 1.8;
}

.jd-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jd-list li {
  color: var(--text-medium);
  line-height: 1.6;
}
.jd-list-benefits li::marker {
  color: var(--accent-color);
}

.jd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-lg {
  padding: 6px 16px;
  font-size: 0.875rem;
}

.jd-apply-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.jd-apply-bottom p {
  color: var(--text-medium);
  margin-bottom: 16px;
}

/* Sidebar Widgets */
.job-detail-sidebar {
  position: sticky;
  top: 90px;
}

.jds-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.jds-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.jds-apply p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.jds-stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.jds-stat {
  text-align: center;
  flex: 1;
}
.jds-stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}
.jds-stat span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.jds-overview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.jds-overview li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}
.jds-overview li div {
  display: flex;
  flex-direction: column;
}
.jds-overview li span {
  color: var(--text-light);
  font-size: 0.75rem;
}
.jds-overview li strong {
  color: var(--text-dark);
  font-size: 0.875rem;
}

.jds-share {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.share-linkedin {
  background: #0077b5;
  color: #fff;
}
.share-twitter {
  background: #1da1f2;
  color: #fff;
}
.share-whatsapp {
  background: #25d366;
  color: #fff;
}
.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Related Jobs */
.related-jobs {
  padding-top: 20px;
}

/* ============================================
   Apply Page
   ============================================ */
.apply-section {
  background: var(--bg-light);
  padding: 60px 0;
}

.apply-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 968px) {
  .apply-layout {
    grid-template-columns: 1fr;
  }
}

.apply-form-header {
  margin-bottom: 28px;
}
.apply-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.apply-subtitle {
  color: var(--text-medium);
  font-size: 0.9375rem;
}

.apply-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}
.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.form-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}
.form-hint {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.8125rem;
}
.required {
  color: #e74c3c;
}

/* File Upload */
.file-upload-wrapper {
  position: relative;
}
.file-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  background: var(--bg-light);
}

.file-upload-label:hover {
  border-color: var(--primary-color);
  background: rgba(26, 60, 110, 0.04);
}
.file-upload-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.file-upload-text {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.file-upload-hint {
  font-size: 0.8125rem;
  color: var(--text-light);
}
.file-name {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
}

.form-submit {
  margin-top: 24px;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}
.form-note a {
  color: var(--primary-color);
}

/* Apply Success */
.apply-success {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

.apply-success h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}
.apply-success p {
  color: var(--text-medium);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Apply Sidebar */
.apply-sidebar {
  position: sticky;
  top: 90px;
}

.apply-job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.ajs-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.ajs-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-light);
  margin-bottom: 12px;
}
.ajs-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ajs-job-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.ajs-company {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.ajs-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.ajs-details li {
  font-size: 0.875rem;
  color: var(--text-medium);
}
.ajs-details li strong {
  color: var(--text-dark);
}

.apply-tips-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.apply-tips-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.apply-tips-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.apply-tips-card li {
  font-size: 0.875rem;
  color: var(--text-medium);
  padding-left: 20px;
  position: relative;
  list-style: none;
}
.apply-tips-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page-section {
  background: var(--bg-light);
  padding: 60px 0;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.contact-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-card p {
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.6;
}
.contact-card a {
  color: var(--primary-color);
}

.contact-page-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

@media (max-width: 968px) {
  .contact-page-wrapper {
    grid-template-columns: 1fr;
  }
}

.contact-form-side .contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.map-placeholder {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.map-inner {
  text-align: center;
  color: var(--white);
  padding: 40px;
}
.map-pin {
  font-size: 3rem;
  margin-bottom: 16px;
}
.map-inner h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 8px;
}
.map-inner p {
  opacity: 0.85;
  font-size: 0.9rem;
}

.contact-social-links h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.social-links-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-link-text {
  padding: 8px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.social-link-text:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* ============================================
   Employers Page
   ============================================ */
.employers-banner {
  background: linear-gradient(135deg, #0f2548 0%, #1a3c6e 50%, #2d5fa6 100%);
}

.why-us-section {
  background: var(--white);
  padding: 80px 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 968px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

.why-us-card {
  padding: 32px 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.why-us-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.why-us-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.why-us-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.why-us-card p {
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.7;
}

.how-it-works {
  background: var(--bg-light);
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

@media (max-width: 968px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  position: relative;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.step-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.7;
}

.post-job-section {
  background: var(--white);
  padding: 80px 0;
}

.post-job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: start;
}

.post-job-form-side,
.post-job-info-side {
  min-width: 0;
}

.post-job-form-side > .section-title {
  margin-bottom: 12px;
}

.employer-form {
  padding: 36px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.employer-form .form-section {
  margin-bottom: 28px;
  padding-bottom: 12px;
}

.employer-form .form-section:last-of-type {
  margin-bottom: 8px;
  padding-bottom: 0;
}

.employer-form .btn-large {
  width: 100%;
}

.post-job-info-side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.employer-stats-card,
.employer-services-card,
.employer-contact-card {
  padding: 28px 24px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.employer-stats-card h3,
.employer-services-card h3,
.employer-contact-card h3 {
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.emp-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 12px;
}

.emp-stat {
  text-align: center;
}

.emp-stat strong {
  display: block;
  color: var(--primary-color);
  font-size: 1.35rem;
  line-height: 1.2;
}

.emp-stat span {
  display: block;
  margin-top: 4px;
  color: var(--text-light);
  font-size: 0.75rem;
  line-height: 1.4;
}

.employer-services-list {
  display: grid;
  gap: 10px;
}

.employer-services-list li {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.employer-contact-card p {
  margin-bottom: 20px;
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.6;
}

.trusted-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.trusted-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}

.trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.trusted-logo img {
  width: 100%;
  max-width: 120px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  opacity: 0.8;
}

@media (max-width: 968px) {
  .post-job-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .post-job-info-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employer-contact-card {
    grid-column: 1 / -1;
  }

  .trusted-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .why-us-section,
  .how-it-works,
  .post-job-section,
  .trusted-section {
    padding: 60px 0;
  }

  .employer-form {
    padding: 24px 18px;
  }

  .post-job-info-side,
  .trusted-logos {
    grid-template-columns: 1fr;
  }

  .employer-contact-card {
    grid-column: auto;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease forwards;
}

.job-card {
  animation: fadeInUp 0.6s ease forwards;
}

.job-card:nth-child(1) {
  animation-delay: 0.1s;
}
.job-card:nth-child(2) {
  animation-delay: 0.2s;
}
.job-card:nth-child(3) {
  animation-delay: 0.3s;
}
.job-card:nth-child(4) {
  animation-delay: 0.4s;
}
.job-card:nth-child(5) {
  animation-delay: 0.5s;
}
.job-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header .section-title {
    font-size: 1.75rem;
  }

  .section-header .section-subtitle {
    font-size: 1rem;
  }
}
.category-icon {
  width: 48px;
  height: 48px;
}

.scroll-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  box-shadow: var(--shadow-lg);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
}

.scroll-to-top.is-visible {
  opacity: 1 !important;
  pointer-events: auto;
  transform: translateY(0) !important;
}

.scroll-to-top.is-hovered,
.scroll-to-top:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .scroll-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   Job Seeker Auth Pages (Login / Register)
   ============================================ */
.auth-section {
  background: var(--bg-light);
  padding: 60px 0 80px;
  min-height: calc(100vh - 200px);
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 968px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Auth Card */
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.auth-card-wide {
  max-width: 100%;
}

.auth-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  line-height: 1;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.auth-subtitle {
  color: var(--text-medium);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Auth Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-form {
  padding: 28px 24px 24px;
}

.profile-form .form-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.profile-form .form-group {
  min-width: 0;
}

.profile-card .alert {
  margin: 20px 24px 0;
}

.profile-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
}

.profile-summary-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  overflow: hidden;
}

.profile-summary-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-control {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.profile-photo-button {
  padding: 0;
  color: var(--primary-color);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.profile-photo-button:hover {
  text-decoration: underline;
}

.profile-summary-main h3 {
  margin-bottom: 3px;
  font-size: 1.25rem;
}

.profile-summary-main p,
.profile-muted {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.profile-plan-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  color: var(--primary-dark);
  background: rgba(212, 160, 23, 0.16);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.profile-summary-actions {
  justify-self: end;
}

.profile-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 24px 24px;
  overflow: hidden;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.profile-detail {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px;
  background: var(--white);
}

.profile-detail-wide {
  grid-column: 1 / -1;
}

.profile-detail span {
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.profile-detail strong {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  font-weight: 500;
}

.profile-detail a {
  color: var(--primary-color);
}

.profile-editor {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13, 27, 42, 0.62);
}

.profile-editor-dialog {
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.profile-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-light);
}

.profile-editor-title {
  font-size: 1.05rem;
}

.profile-editor-close {
  width: 32px;
  height: 32px;
  border: 0;
  color: var(--text-medium);
  background: transparent;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.profile-editor-close:hover {
  color: var(--text-dark);
  background: var(--border-color);
}

body:has(.profile-editor[style*="display: flex"]) {
  overflow: hidden;
}

@media (max-width: 640px) {
  .profile-editor {
    padding: 12px;
  }

  .profile-editor-dialog {
    max-height: calc(100vh - 24px);
  }

  .profile-editor-header {
    padding: 16px 18px;
  }

  .profile-summary {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 20px 18px;
  }

  .profile-summary-actions {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .profile-details-grid {
    grid-template-columns: 1fr;
    margin-right: 18px;
    margin-left: 18px;
  }

  .profile-detail-wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .profile-form {
    padding: 24px 18px 20px;
  }
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  color: var(--text-medium);
  font-size: 0.9375rem;
}

.auth-link {
  color: var(--primary-color);
  font-weight: 600;
}

.auth-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Password Toggle */
.password-wrapper {
  position: relative;
}

.password-wrapper .form-input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-light);
  padding: 4px;
  line-height: 1;
}

.password-toggle:hover {
  color: var(--primary-color);
}

/* Auth Info Sidebar */
.auth-info {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  color: var(--white);
  position: sticky;
  top: 90px;
}

.auth-info-title {
  font-size: 1.375rem;
  color: var(--white);
  margin-bottom: 28px;
  font-weight: 700;
}

.auth-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-benefits li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.auth-benefits li div strong {
  display: block;
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.auth-benefits li div p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
}

/* Header Auth Buttons */
.btn-sm-header {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.js-user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.js-user-avatar {
  width: 34px;
  height: 34px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.js-user-name {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.9rem;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 968px) {
  .js-user-menu {
    display: none;
  }
  .btn-sm-header {
    display: none;
  }

  .employer-dropdown {
    display: none;
  }
}

/* Alert Styles (if not already defined) */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.alert-success {
  background: rgba(39, 174, 96, 0.1);
  color: #1e7e44;
  border: 1px solid rgba(39, 174, 96, 0.25);
}

.alert-error {
  background: rgba(231, 76, 60, 0.1);
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, 0.25);
}

/* ============================================
   Job Seeker Dashboard
   ============================================ */
.dashboard-section {
  background: var(--bg-light);
  padding: 48px 0 80px;
  min-height: calc(100vh - 200px);
}

.jobseeker-dashboard-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  transition: grid-template-columns 0.25s ease;
}

.jobseeker-dashboard-layout.jobseeker-sidebar-collapsed {
  grid-template-columns: 72px minmax(0, 1fr);
}

.jobseeker-sidebar {
  position: sticky;
  top: 96px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.jobseeker-sidebar-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border-color);
}

.jobseeker-sidebar-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--white);
  background: var(--primary-color);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
}

.jobseeker-sidebar-heading strong,
.jobseeker-sidebar-heading span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jobseeker-sidebar-heading strong {
  color: var(--text-dark);
  font-size: 0.82rem;
}

.jobseeker-sidebar-heading div span {
  margin-top: 2px;
  color: var(--text-light);
  font-size: 0.7rem;
}

.jobseeker-sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-left: auto;
  color: var(--text-medium);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.jobseeker-sidebar-toggle:hover,
.jobseeker-sidebar-toggle:focus-visible {
  color: var(--primary-color);
  border-color: var(--primary-color);
  outline: 0;
}

.jobseeker-sidebar.is-collapsed .jobseeker-sidebar-heading {
  justify-content: center;
  padding: 14px 8px;
}

.jobseeker-sidebar.is-collapsed .jobseeker-sidebar-heading > div,
.jobseeker-sidebar.is-collapsed .jobseeker-sidebar-link-label {
  display: none;
}

.jobseeker-sidebar.is-collapsed
  .jobseeker-sidebar-heading
  .jobseeker-sidebar-toggle {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  font-size: 1rem;
}

.jobseeker-sidebar.is-collapsed .jobseeker-sidebar-link {
  justify-content: center;
  padding: 11px 6px;
  font-size: 0;
}

.jobseeker-sidebar.is-collapsed .jobseeker-sidebar-link span {
  width: auto;
  font-size: 1rem;
}

.jobseeker-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.jobseeker-dashboard-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.jobseeker-stat-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.jobseeker-stat-icon {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.jobseeker-stat-link small {
  display: block;
  margin-top: 8px;
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 600;
}

.jobseeker-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
}

.jobseeker-dashboard-panel {
  min-width: 0;
  margin-bottom: 24px;
  padding: 24px;
}

.jobseeker-chart-filter {
  width: auto;
  min-width: 130px;
}

.jobseeker-status-chart {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.jobseeker-status-chart > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
  color: var(--text-medium);
  font-size: 0.78rem;
}

.jobseeker-status-chart i {
  display: block;
  height: 8px;
  overflow: hidden;
  background: var(--bg-light);
  border-radius: 99px;
}

.jobseeker-status-chart b {
  display: block;
  height: 100%;
  background: var(--primary-color);
  border-radius: inherit;
}

.jobseeker-status-chart strong {
  color: var(--text-dark);
  text-align: right;
}

.jobseeker-profile-progress {
  height: 10px;
  margin: 22px 0 16px;
  overflow: hidden;
  background: var(--bg-light);
  border-radius: 99px;
}

.jobseeker-profile-progress i {
  display: block;
  height: 100%;
  background: var(--accent-color);
  border-radius: inherit;
}

.jobseeker-missing-list {
  display: grid;
  gap: 9px;
  color: var(--text-medium);
  font-size: 0.8rem;
}

.jobseeker-missing-list li::before {
  content: "!";
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  place-items: center;
  color: var(--white);
  background: var(--accent-color);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
}

.jobseeker-missing-list li.complete::before {
  content: "✓";
  background: #27ae60;
}

.jobseeker-recommended-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.jobseeker-recommended-card {
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.jobseeker-recommended-top,
.jobseeker-recommended-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jobseeker-recommended-top strong {
  color: #1e7e44;
  font-size: 0.75rem;
}

.jobseeker-recommended-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--primary-dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.jobseeker-recommended-card h3 {
  margin-top: 14px;
  font-size: 1rem;
}

.jobseeker-recommended-card p,
.jobseeker-recommended-card small {
  display: block;
  margin-top: 7px;
  color: var(--text-medium);
  font-size: 0.76rem;
}

.jobseeker-recommended-card small {
  color: var(--primary-color);
}

.jobseeker-recommended-actions {
  justify-content: flex-start;
  margin-top: 14px;
}

.jobseeker-notification-list {
  display: grid;
  gap: 12px;
}

.jobseeker-notification-list > div {
  display: flex;
  gap: 10px;
  color: var(--text-medium);
  font-size: 0.8rem;
}

.jobseeker-notification-list b {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: var(--white);
  background: var(--primary-color);
  border-radius: 50%;
  font-size: 0.72rem;
}

.jobseeker-sidebar-nav {
  display: grid;
  gap: 4px;
  padding: 10px;
}

.jobseeker-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: var(--text-medium);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.jobseeker-sidebar-link span {
  width: 20px;
  color: var(--primary-color);
  font-size: 1rem;
  text-align: center;
}

.jobseeker-sidebar-link:hover,
.jobseeker-sidebar-link.active {
  color: var(--primary-color);
  background: rgba(246, 67, 44, 0.08);
}

.jobseeker-sidebar-link-danger {
  margin-top: 6px;
  color: #c0392b;
  border-top: 1px solid var(--border-color);
  border-radius: 0;
}

.jobseeker-sidebar-link-danger:hover {
  color: #a93226;
  background: rgba(192, 57, 43, 0.08);
}

.jobseeker-dashboard-content {
  min-width: 0;
}

.jobseeker-section-header,
.jobseeker-section-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.jobseeker-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jobseeker-section-card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.jobseeker-section-card-copy h2 {
  margin: 6px 0 8px;
  font-size: 1.45rem;
}

.jobseeker-section-card-copy p {
  max-width: 480px;
  margin-bottom: 18px;
  color: var(--text-medium);
  font-size: 0.88rem;
}

.jobseeker-section-card-row .jobseeker-card {
  width: 100%;
}

.jobseeker-section-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.jobseeker-section-stats .ds-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.jobseeker-section-stat-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.jobseeker-section-stats strong {
  color: var(--text-dark);
  font-size: 1.6rem;
}

.jobseeker-section-stats span:not(.jobseeker-section-stat-icon) {
  color: var(--text-medium);
  font-size: 0.82rem;
}

.jobseeker-section-stats a {
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 600;
}

.jobseeker-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
}

.jobseeker-section-panel > p,
.jobseeker-section-panel .dash-empty p {
  color: var(--text-medium);
}

.jobseeker-progress {
  height: 9px;
  margin: 18px 0 12px;
  overflow: hidden;
  background: var(--bg-light);
  border-radius: 99px;
}

.jobseeker-progress i {
  display: block;
  height: 100%;
  background: var(--primary-color);
  border-radius: inherit;
}

.jobseeker-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.jobseeker-quick-links a {
  padding: 12px;
  color: var(--primary-color);
  background: rgba(246, 67, 44, 0.07);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
}

.jobseeker-section-table {
  overflow-x: auto;
}

.jobseeker-section-row {
  display: grid;
  grid-template-columns:
    minmax(160px, 1.2fr) minmax(140px, 1fr)
    130px 120px 70px;
  align-items: center;
  gap: 14px;
  min-width: 680px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-medium);
  font-size: 0.82rem;
}

.jobseeker-section-row.heading {
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.jobseeker-section-row strong {
  color: var(--text-dark);
}

.jobseeker-section-row small,
.resume-file-card small {
  display: block;
  margin-top: 3px;
  color: var(--text-light);
  font-size: 0.72rem;
}

.jobseeker-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
  gap: 10px;
  margin-bottom: 24px;
}

.jobseeker-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.jobseeker-result-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.jobseeker-result-card-top,
.jobseeker-result-actions,
.resume-file-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jobseeker-result-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--primary-dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.jobseeker-result-card h2 {
  margin-top: 18px;
  font-size: 1.1rem;
}

.jobseeker-result-card p {
  margin-top: 6px;
  color: var(--text-medium);
  font-size: 0.82rem;
}

.jobseeker-result-company {
  color: var(--text-dark) !important;
  font-weight: 600;
}

.jobseeker-result-tags {
  margin: 14px 0;
  color: var(--primary-color);
  font-size: 0.78rem;
}

.jobseeker-result-actions {
  justify-content: flex-start;
}

.jobseeker-section-form {
  max-width: 820px;
  margin-top: 20px;
}

.jobseeker-application-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px auto auto;
  gap: 10px;
  margin-bottom: 20px;
}

.application-status-card {
  margin-bottom: 24px;
  padding: 24px;
}

.application-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 24px;
  color: var(--text-medium);
  font-size: 0.8rem;
}

.application-meta strong {
  color: var(--text-dark);
}

.application-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.application-timeline > div {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.72rem;
  text-align: center;
}

.application-timeline > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

.application-timeline i {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 3px solid var(--border-color);
  border-radius: 50%;
  background: var(--white);
}

.application-timeline .done,
.application-timeline .current {
  color: var(--primary-color);
}

.application-timeline .done i,
.application-timeline .current i {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.application-recruiter-note {
  margin-bottom: 20px;
  padding: 14px;
  border-left: 3px solid var(--primary-color);
  background: var(--bg-light);
}

.application-recruiter-note p {
  margin-top: 5px;
  color: var(--text-medium);
  font-size: 0.82rem;
}

.message-compose-form,
.message-inbox {
  max-width: 900px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.message-compose-form h3,
.message-inbox h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.message-inbox {
  border-bottom: 0;
}

.message-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.message-row-main {
  min-width: 0;
}

.message-row-main strong,
.message-row-main span,
.message-row-main p {
  display: block;
}

.message-row-main strong {
  color: var(--text-dark);
}

.message-row-main span {
  margin-top: 4px;
  color: var(--text-light);
  font-size: 0.75rem;
}

.message-row-main p {
  margin-top: 8px;
  color: var(--text-medium);
  font-size: 0.82rem;
}

.message-unread {
  padding-left: 10px;
  border-left: 3px solid var(--primary-color);
  background: rgba(246, 67, 44, 0.04);
}

.message-row-action {
  flex: 0 0 auto;
  align-self: center;
}

.message-read-label {
  color: var(--text-light);
  font-size: 0.72rem;
}

.jobseeker-profile-page {
  padding: 24px;
  margin-bottom: 24px;
}

.jobseeker-profile-page > .dash-card-title {
  display: none;
}

.jobseeker-profile-header {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.jobseeker-profile-avatar {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--primary-color);
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 700;
}

.jobseeker-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jobseeker-profile-header h2 {
  font-size: 1.45rem;
}

.jobseeker-profile-header p,
.jobseeker-profile-header span {
  display: block;
  margin-top: 4px;
  color: var(--text-medium);
  font-size: 0.82rem;
}

.jobseeker-profile-header-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.jobseeker-profile-header-actions strong {
  color: var(--primary-color);
  font-size: 0.85rem;
}

.jobseeker-profile-editor {
  max-width: 980px;
}

.jobseeker-profile-editor .form-row {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  align-items: start;
}

.jobseeker-profile-editor .form-group {
  min-width: 0;
}

.jobseeker-profile-editor .form-input {
  width: 100%;
}

.jobseeker-profile-editor .form-submit {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 24px;
}

.jobseeker-profile-editor .form-section {
  padding: 24px 0;
  margin: 0;
  border-bottom: 1px solid var(--border-color);
}

.jobseeker-profile-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0;
  color: var(--text-medium);
  font-size: 0.82rem;
}

.jobseeker-profile-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--primary-color);
}

.resume-file-card {
  justify-content: flex-start;
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.resume-file-card > span {
  color: var(--primary-color);
  font-size: 1.7rem;
}

.resume-file-card .btn {
  margin-left: auto;
}

.resume-builder-panel {
  padding: 24px;
}

.resume-builder-form {
  max-width: 980px;
  margin-top: 20px;
}

.resume-builder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.resume-builder-grid > div {
  min-width: 0;
}

.resume-builder-form .form-submit {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
}

@media (max-width: 700px) {
  .jobseeker-application-filter {
    grid-template-columns: 1fr;
  }

  .jobseeker-profile-page {
    padding: 18px;
  }

  .jobseeker-profile-header {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
  }

  .jobseeker-profile-avatar {
    width: 64px;
    height: 64px;
  }

  .jobseeker-profile-header-actions {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .jobseeker-profile-editor .form-row {
    grid-template-columns: 1fr;
  }

  .jobseeker-profile-editor .form-submit {
    justify-content: stretch;
  }

  .jobseeker-profile-editor .form-submit .btn {
    flex: 1;
  }

  .resume-builder-grid {
    grid-template-columns: 1fr;
  }

  .resume-builder-form .form-submit {
    justify-content: stretch;
  }

  .resume-builder-form .form-submit .btn {
    flex: 1;
  }
}

@media (max-width: 900px) {
  .jobseeker-section-card-row {
    grid-template-columns: 1fr;
  }

  .jobseeker-section-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobseeker-result-grid,
  .jobseeker-section-grid {
    grid-template-columns: 1fr;
  }

  .jobseeker-search-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .jobseeker-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .jobseeker-section-stats,
  .jobseeker-search-form {
    grid-template-columns: 1fr;
  }

  .resume-file-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .resume-file-card .btn {
    width: 100%;
    margin-left: 0;
  }
}

.job-alert-card,
.job-alert-list-card {
  margin-bottom: 24px;
}

.job-alert-form {
  padding: 24px;
}

.job-alert-checks {
  display: grid;
  align-content: center;
  gap: 9px;
  padding-top: 8px;
}

.job-alert-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  font-size: 0.8rem;
}

.job-alert-checks input {
  accent-color: var(--primary-color);
}

.job-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-alert-table {
  overflow-x: auto;
  padding: 0 24px 24px;
}

.job-alert-table-heading,
.job-alert-table-row {
  display: grid;
  grid-template-columns:
    minmax(150px, 1.2fr) minmax(150px, 1.2fr)
    120px 100px 90px 80px minmax(190px, 1.4fr);
  align-items: center;
  gap: 12px;
  min-width: 980px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.76rem;
}

.job-alert-table-heading {
  color: var(--text-light);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.job-alert-table-row:last-child {
  border-bottom: 0;
}

.job-alert-table-row strong,
.job-alert-table-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-alert-table-row small {
  display: block;
  margin-top: 3px;
  color: var(--text-light);
  font-size: 0.68rem;
  font-weight: 400;
}

.job-alert-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-alert-row-actions a {
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 600;
}

.employer-dashboard-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  transition: grid-template-columns 0.25s ease;
}

.employer-dashboard-layout.employer-sidebar-collapsed {
  grid-template-columns: 72px minmax(0, 1fr);
}

.employer-sidebar {
  position: sticky;
  top: 96px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.employer-sidebar-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border-color);
}

.employer-sidebar-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  overflow: hidden;
  color: var(--white);
  background: var(--primary-color);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 3;
  text-align: center;
  white-space: normal;
  text-transform: uppercase;
}

.employer-sidebar-heading strong,
.employer-sidebar-heading span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employer-sidebar-heading strong {
  color: var(--text-dark);
  font-size: 0.82rem;
}

.employer-sidebar-heading div span {
  margin-top: 2px;
  color: var(--text-light);
  font-size: 0.7rem;
}

.employer-sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-left: auto;
  color: var(--text-medium);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.employer-sidebar-toggle:hover,
.employer-sidebar-toggle:focus-visible {
  color: var(--primary-color);
  border-color: var(--primary-color);
  outline: 0;
}

.employer-sidebar.is-collapsed .employer-sidebar-heading {
  justify-content: center;
  padding: 14px 8px;
}

.employer-sidebar.is-collapsed .employer-sidebar-heading > div,
.employer-sidebar.is-collapsed .employer-sidebar-label,
.employer-sidebar.is-collapsed .employer-sidebar-link-label,
.employer-sidebar.is-collapsed
  .employer-sidebar-parent
  .employer-sidebar-link-label,
.employer-sidebar.is-collapsed
  .employer-sidebar-parent
  .employer-sidebar-chevron,
.employer-sidebar.is-collapsed .employer-sidebar-submenu,
.employer-sidebar.is-collapsed
  .employer-sidebar-link:not(.employer-sidebar-link-danger)::after {
  display: none;
}

.employer-sidebar.is-collapsed
  .employer-sidebar-heading
  .employer-sidebar-toggle {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 20px;
  height: 20px;
  font-size: 1rem;
}

.employer-sidebar.is-collapsed .employer-sidebar-nav {
  padding: 8px;
}

.employer-sidebar.is-collapsed .employer-sidebar-link {
  justify-content: center;
  padding: 11px 6px;
}

.employer-sidebar.is-collapsed .employer-sidebar-link span {
  width: auto;
}

.employer-sidebar.is-collapsed .employer-sidebar-parent {
  justify-content: center;
  padding: 11px 6px;
}

.employer-sidebar.is-collapsed .employer-sidebar-parent > span:first-child {
  width: auto;
}

.employer-sidebar.is-collapsed .employer-sidebar-link {
  font-size: 0;
}

.employer-sidebar.is-collapsed .employer-sidebar-link span {
  font-size: 1rem;
}

.employer-sidebar.is-collapsed .employer-sidebar-link-danger {
  font-size: 0;
}

.employer-sidebar-nav {
  display: grid;
  gap: 4px;
  padding: 10px;
}

.employer-sidebar-label {
  padding: 10px 12px 4px;
  color: var(--text-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.employer-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: var(--text-medium);
  border-radius: var(--radius-sm);
  font-size: 0.875rem !important;
}

.employer-sidebar-link span {
  color: var(--primary-color);
  font-size: 13px !important;
  text-align: center;
}

.employer-sidebar-link:hover,
.employer-sidebar-link.active {
  color: var(--primary-color);
  background: rgba(246, 67, 44, 0.08);
}

.employer-sidebar-link-danger {
  margin-top: 6px;
  color: #c0392b;
  border-top: 1px solid var(--border-color);
  border-radius: 0;
}

.employer-sidebar-link-danger:hover {
  color: #a93226;
  background: rgba(192, 57, 43, 0.08);
}

.employer-sidebar-group {
  display: grid;
}

.employer-sidebar-parent {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  color: var(--text-medium);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  text-align: left;
}

.employer-sidebar-parent:hover,
.employer-sidebar-group.is-expanded > .employer-sidebar-parent {
  color: var(--primary-color);
  background: rgba(246, 67, 44, 0.08);
}

.employer-sidebar-parent > span:first-child {
  width: 20px;
  color: var(--primary-color);
  font-size: 1rem;
  text-align: center;
}

.employer-sidebar-chevron {
  margin-left: auto;
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.employer-sidebar-group.is-expanded .employer-sidebar-chevron {
  transform: rotate(90deg);
}

.employer-sidebar-submenu {
  display: grid;
  gap: 2px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-left: 12px;
  transition:
    max-height 0.25s ease,
    opacity 0.2s ease;
}

.employer-sidebar-group.is-expanded .employer-sidebar-submenu {
  max-height: 400px;
  opacity: 1;
}

.employer-sidebar-submenu .employer-sidebar-link {
  padding: 9px 10px;
  font-size: 0.8rem;
}

.employer-dashboard-content {
  min-width: 0;
}

.employer-post-job-form {
  padding: 28px 24px 24px;
}

.employer-post-job-alert {
  margin: 24px 24px 0;
}

.employer-post-job-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 8px;
}

.employer-overview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.employer-eyebrow {
  margin-bottom: 6px;
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.employer-overview-header h1 {
  margin-bottom: 5px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.employer-quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.employer-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.employer-stat-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.employer-stat-card span,
.employer-subscription-list span,
.employer-completion span {
  display: block;
  color: var(--text-light);
  font-size: 0.75rem;
}

.employer-stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--secondary-color);
  font-size: 1.75rem;
  line-height: 1;
}

.employer-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.employer-dashboard-grid-wide {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
}

.employer-panel {
  min-width: 0;
  padding: 20px;
}

.employer-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.employer-panel-header h2 {
  margin-bottom: 3px;
  font-size: 1.05rem;
}

.employer-panel-header p {
  color: var(--text-light);
  font-size: 0.78rem;
}

.employer-period-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.employer-period-filter a {
  padding: 5px 8px;
  color: var(--text-medium);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
}

.employer-period-filter a.active,
.employer-period-filter a:hover {
  color: var(--white);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.employer-chart {
  display: grid;
  gap: 15px;
}

.employer-chart-row {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  color: var(--text-medium);
  font-size: 0.78rem;
}

.employer-chart-row > div {
  height: 10px;
  overflow: hidden;
  background: var(--bg-light);
  border-radius: 5px;
}

.employer-chart-row i {
  display: block;
  height: 100%;
  background: var(--primary-color);
  border-radius: inherit;
}

.employer-chart-row strong {
  color: var(--text-dark);
  text-align: right;
}

.employer-subscription-list {
  display: grid;
  gap: 14px;
}

.employer-subscription-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.employer-subscription-list strong {
  color: var(--text-dark);
  font-size: 0.78rem;
  text-align: right;
}

.employer-list-table {
  overflow-x: auto;
}

.employer-list-heading,
.employer-list-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.5fr) 80px 90px 90px;
  align-items: center;
  gap: 12px;
  min-width: 520px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.76rem;
}

.employer-list-heading {
  padding-top: 0;
  color: var(--text-light);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.employer-list-row:last-child {
  border-bottom: 0;
}

.employer-list-row strong small,
.employer-application-row small,
.employer-profile-summary div span,
.employer-profile-summary div small {
  display: block;
  margin-top: 3px;
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 400;
}

.employer-status {
  color: var(--text-medium);
  font-size: 0.68rem;
  text-transform: capitalize;
}

.employer-status-active,
.employer-status-shortlisted,
.employer-status-hired {
  color: #218c52;
}

.employer-status-pending,
.employer-status-reviewed,
.employer-status-draft {
  color: #b27800;
}

.employer-application-list {
  display: grid;
}

.employer-application-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-color);
}

.employer-application-row:last-child {
  border-bottom: 0;
}

.employer-candidate-avatar,
.employer-profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--primary-color);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

.employer-empty {
  padding: 24px 0;
  color: var(--text-light);
  font-size: 0.84rem;
  text-align: center;
}

.employer-funnel {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.employer-funnel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 25%;
  padding: 9px 14px;
  color: var(--white);
  background: var(--primary-color);
  border-radius: 3px;
  font-size: 0.75rem;
}

.employer-funnel div:nth-child(even) {
  background: var(--primary-light);
}

.employer-funnel strong {
  margin-left: 12px;
}

.employer-notifications {
  display: grid;
  gap: 12px;
}

.employer-notifications div {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: var(--text-medium);
  font-size: 0.78rem;
}

.employer-notifications b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--white);
  background: var(--accent-color);
  border-radius: 50%;
}

.employer-notifications small {
  color: var(--text-light);
  font-size: 0.68rem;
}

.employer-notifications-page {
  gap: 0;
}

.employer-notifications-page > div {
  grid-template-columns: 30px minmax(0, 1fr) 100px;
  align-items: start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.employer-notifications-page > div:first-child {
  padding-top: 0;
}

.employer-notifications-page > div:last-child {
  border-bottom: 0;
}

.employer-notifications-page span {
  line-height: 1.45;
}

.employer-notifications-page small {
  padding-top: 4px;
  text-align: right;
  white-space: nowrap;
}

.employer-reports-body {
  padding: 24px;
}

.employer-report-stat-grid {
  margin-bottom: 24px;
}

.employer-reports-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.employer-report-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.employer-report-panel .employer-panel-header {
  margin-bottom: 18px;
}

.employer-report-jobs {
  display: grid;
  gap: 0;
}

.employer-report-jobs > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
}

.employer-report-jobs > div:last-child {
  border-bottom: 0;
}

.employer-report-jobs span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employer-report-jobs small {
  display: block;
  margin-top: 3px;
  color: var(--text-light);
  font-size: 0.68rem;
}

.employer-report-jobs strong {
  flex: 0 0 auto;
  color: var(--primary-color);
}

.employer-profile-summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.employer-profile-avatar {
  width: 44px;
  height: 44px;
}

.employer-profile-summary b {
  color: #218c52;
  font-size: 0.7rem;
}

.employer-completion {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
  margin-top: 20px;
}

.employer-completion strong {
  color: var(--primary-color);
  font-size: 0.78rem;
}

.employer-completion i {
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  background: var(--bg-light);
  border-radius: 4px;
}

.employer-completion em {
  display: block;
  height: 100%;
  background: var(--primary-color);
  border-radius: inherit;
}

.employer-billing-body {
  padding: 24px;
}

.employer-current-plan {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  color: var(--white);
  background: var(--secondary-color);
  border-radius: var(--radius-md);
}

.employer-current-plan .employer-eyebrow {
  margin-bottom: 4px;
  color: #f0c040;
}

.employer-current-plan h2 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.employer-current-plan p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.employer-plan-status {
  padding: 5px 10px;
  color: #1e7e44;
  background: #d9f3e3;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.employer-billing-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.employer-billing-stats > div {
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.employer-billing-stats span,
.employer-billing-stats small {
  display: block;
  color: var(--text-light);
  font-size: 0.72rem;
}

.employer-billing-stats strong {
  display: block;
  margin: 7px 0 3px;
  color: var(--text-dark);
  font-size: 1rem;
}

.employer-billing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.employer-billing-history {
  padding-top: 22px;
}

.employer-profile-body {
  padding: 24px;
}

.employer-job-form-body {
  padding: 24px;
}

.employer-job-form {
  max-width: 980px;
}

.employer-job-form .form-section {
  padding: 24px 0;
  margin-bottom: 0;
}

.employer-job-form fieldset {
  min-width: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.employer-job-form .form-section-title {
  margin-bottom: 20px;
}

.employer-wizard-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
}

.employer-wizard-progress span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-light);
  font-size: 0.78rem;
  white-space: nowrap;
}

.employer-wizard-progress span:first-child,
.employer-wizard-progress span.active {
  color: var(--primary-color);
}

.employer-wizard-progress span::first-letter {
  font-weight: 700;
}

.employer-wizard-progress i {
  width: 36px;
  height: 1px;
  flex: 0 0 36px;
  background: var(--border-color);
}

.rich-text-toolbar {
  display: flex;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--border-color);
  border-bottom: 0;
  background: var(--bg-light);
}

.rich-text-toolbar button {
  min-width: 32px;
  height: 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
}

.rich-text-toolbar button:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.rich-text-editor {
  min-height: 130px;
  padding: 12px;
  border: 1px solid var(--border-color);
  background: var(--white);
  outline: 0;
}

.rich-text-editor:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(246, 67, 44, 0.12);
}

.rich-text-source {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.screening-question-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.screening-question-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px auto auto;
  align-items: center;
  gap: 8px;
}

.employer-confirm-modal {
  max-width: 430px;
  border: 0;
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-xl);
}

.employer-confirm-modal::backdrop {
  background: rgba(13, 27, 42, 0.45);
}

.employer-confirm-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.employer-confirm-modal p {
  color: var(--text-medium);
  margin-bottom: 20px;
}

.employer-confirm-modal form > div {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 640px) {
  .employer-job-form-body {
    padding: 16px;
  }

  .screening-question-item {
    grid-template-columns: 1fr;
  }

  .employer-post-job-actions,
  .employer-confirm-modal form > div {
    flex-wrap: wrap;
  }
}

.employer-profile-form {
  max-width: 820px;
}

.employer-settings-body {
  padding: 24px;
}

.employer-settings-form {
  max-width: 820px;
}

.employer-setting-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.employer-setting-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--primary-color);
}

.employer-setting-option span {
  display: grid;
  gap: 4px;
}

.employer-setting-option small {
  color: var(--text-light);
  font-size: 0.75rem;
  line-height: 1.45;
}

.employer-billing-history h2 {
  font-size: 1rem;
}

.employer-schedule-body {
  padding: 24px;
}

.employer-schedule-form {
  max-width: 720px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.employer-schedule-list {
  padding-top: 24px;
}

.employer-schedule-list h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.employer-schedule-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.8fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
}

.employer-schedule-item div span {
  display: block;
  margin-top: 3px;
  color: var(--text-light);
  font-size: 0.72rem;
}

.employer-candidates-body {
  padding: 24px;
}

.employer-candidates-table {
  overflow-x: auto;
}

.employer-candidates-heading,
.employer-candidate-row {
  display: grid;
  grid-template-columns:
    minmax(150px, 1.2fr) minmax(130px, 1fr) 110px minmax(130px, 1fr)
    90px 70px 90px;
  align-items: center;
  gap: 12px;
  min-width: 900px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.75rem;
}

.employer-candidates-heading {
  color: var(--text-light);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.employer-candidate-row:last-child {
  border-bottom: 0;
}

.employer-candidate-row small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--text-light);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employer-candidate-row > span:not(.employer-status) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.employer-all-candidates-heading,
.employer-all-candidate-row {
  display: grid;
  grid-template-columns:
    minmax(190px, 1.3fr) minmax(130px, 1fr) 110px minmax(130px, 1fr)
    90px 80px;
  align-items: center;
  gap: 12px;
  min-width: 760px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.75rem;
}

.employer-all-candidates-heading {
  color: var(--text-light);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.employer-all-candidate-row:last-child {
  border-bottom: 0;
}

.employer-candidate-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.employer-candidate-identity img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: cover;
  border-radius: 50%;
}

.employer-candidate-identity > span:last-child {
  min-width: 0;
}

.employer-jobs-body {
  padding: 24px;
}

.employer-jobs-table {
  overflow-x: auto;
}

.employer-jobs-heading,
.employer-job-row {
  display: grid;
  grid-template-columns:
    minmax(180px, 1.3fr) minmax(130px, 0.9fr)
    95px 80px 95px minmax(245px, 1.6fr);
  align-items: center;
  gap: 12px;
  min-width: 900px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.75rem;
}

.employer-jobs-heading {
  color: var(--text-light);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.employer-job-row:last-child {
  border-bottom: 0;
}

.employer-job-row small {
  display: block;
  margin-top: 3px;
  color: var(--text-light);
  font-size: 0.68rem;
}

.employer-job-row > span:not(.employer-status) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.employer-job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.employer-job-actions .btn-sm:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.employer-job-actions .btn-sm {
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 0.85rem;
}

.employer-active-jobs-heading,
.employer-active-job-row {
  display: grid;
  grid-template-columns:
    minmax(180px, 1.3fr) minmax(130px, 0.9fr)
    95px 90px 80px 95px 100px;
  align-items: center;
  gap: 12px;
  min-width: 820px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.75rem;
}

.employer-active-jobs-heading {
  color: var(--text-light);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.employer-active-job-row:last-child {
  border-bottom: 0;
}

.employer-draft-jobs-heading,
.employer-draft-job-row {
  display: grid;
  grid-template-columns:
    minmax(180px, 1.3fr) minmax(130px, 0.9fr)
    80px 95px 100px;
  align-items: center;
  gap: 12px;
  min-width: 700px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.75rem;
}

.employer-draft-jobs-heading {
  color: var(--text-light);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.employer-draft-job-row:last-child {
  border-bottom: 0;
}

.employer-expired-jobs-heading,
.employer-expired-job-row {
  display: grid;
  grid-template-columns:
    minmax(180px, 1.3fr) minmax(130px, 0.9fr)
    95px 80px 95px 100px;
  align-items: center;
  gap: 12px;
  min-width: 760px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.75rem;
}

.employer-expired-jobs-heading {
  color: var(--text-light);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.employer-expired-job-row:last-child {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .employer-schedule-body {
    padding: 18px;
  }

  .employer-schedule-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .jobseeker-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .jobseeker-dashboard-layout.jobseeker-sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .jobseeker-dashboard-stats,
  .jobseeker-recommended-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobseeker-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .jobseeker-sidebar {
    position: static;
  }

  .jobseeker-sidebar.is-collapsed .jobseeker-sidebar-nav {
    display: none;
  }

  .jobseeker-sidebar.is-collapsed .jobseeker-sidebar-heading {
    justify-content: flex-start;
  }

  .jobseeker-sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-alert-form,
  .job-alert-table {
    padding: 18px;
  }

  .employer-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .employer-sidebar {
    position: static;
  }

  .employer-sidebar.is-collapsed .employer-sidebar-nav {
    display: none;
  }

  .employer-sidebar.is-collapsed .employer-sidebar-heading {
    justify-content: flex-start;
  }

  .employer-sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employer-overview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .employer-quick-actions {
    justify-content: flex-start;
  }

  .employer-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employer-dashboard-grid,
  .employer-dashboard-grid-wide {
    grid-template-columns: 1fr;
  }

  .employer-panel-header {
    flex-direction: column;
  }

  .employer-period-filter {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .jobseeker-dashboard-stats,
  .jobseeker-recommended-grid {
    grid-template-columns: 1fr;
  }

  .jobseeker-status-chart > div {
    grid-template-columns: 86px minmax(0, 1fr) 24px;
  }
}

@media (max-width: 480px) {
  .employer-panel {
    padding: 16px;
  }

  .employer-chart-row {
    grid-template-columns: 118px minmax(0, 1fr) 24px;
    gap: 7px;
    font-size: 0.7rem;
  }

  .employer-quick-actions .btn {
    width: 100%;
  }

  .employer-billing-body {
    padding: 18px;
  }

  .employer-profile-body {
    padding: 18px;
  }

  .employer-settings-body {
    padding: 18px;
  }

  .employer-current-plan {
    flex-direction: column;
  }

  .employer-billing-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employer-reports-body {
    padding: 18px;
  }

  .employer-reports-grid {
    grid-template-columns: 1fr;
  }

  .employer-report-panel {
    padding: 16px;
  }

  .employer-notifications-page > div {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .employer-notifications-page small {
    grid-column: 2;
    padding-top: 0;
    text-align: left;
  }

  .employer-billing-actions .btn {
    width: 100%;
  }
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-welcome {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.dashboard-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 4px;
}

.dashboard-subtitle {
  color: var(--text-medium);
  font-size: 0.875rem;
}

/* Job seeker visiting card */
.create-job-card {
  display: block;
  flex: 0 1 294px;
  min-width: 320px;
  width: 490px;
}

.jobseeker-card {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 164px;
  overflow: hidden;
  color: #fff;
  background: #10233f;
  border: 1px solid rgba(212, 160, 23, 0.65);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.jobseeker-card-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px 15px 10px;
}

.jobseeker-card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.jobseeker-card-kicker {
  color: #f0c040;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jobseeker-card-heading strong {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.jobseeker-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: 9px 0;
}

.jobseeker-card-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 58px;
  flex: 0 0 48px;
  color: #10233f;
  background: #eef2f6;
  border: 2px solid #f0c040;
  border-radius: 3px;
  font-size: 1.35rem;
  font-weight: 700;
  overflow: hidden;
}

.jobseeker-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jobseeker-card-info {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.jobseeker-card-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.jobseeker-card-info strong {
  overflow: hidden;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jobseeker-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.66rem;
}

.jobseeker-card-footer strong {
  color: #f0c040;
  font-size: 0.7rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .create-job-card {
    width: 100%;
    min-width: 0;
    order: 3;
  }

  .jobseeker-card {
    max-width: 490px;
  }
}

@media (max-width: 420px) {
  .jobseeker-card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}

/* Dashboard Stats */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .dashboard-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.ds-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
  transition: var(--transition);
}

.ds-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ds-card-blue {
  border-top-color: var(--primary-color);
}
.ds-card-gold {
  border-top-color: var(--accent-color);
}
.ds-card-green {
  border-top-color: #27ae60;
}
.ds-card-purple {
  border-top-color: #8e44ad;
}

.ds-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.ds-label {
  font-size: 0.8125rem;
  color: var(--text-medium);
  font-weight: 500;
}

/* Dashboard Tabs */
.dashboard-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--white);
  padding: 6px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.dash-tab {
  padding: 10px 24px;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.dash-tab:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.dash-tab.active {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Tab Content */
.dash-tab-content {
  display: none;
}

.dash-tab-content.active {
  display: block;
}

/* Dashboard Card */
.dash-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-light);
}

.dash-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Dashboard Table */
.table-responsive {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dash-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.dash-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
  vertical-align: middle;
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.dash-table tr:hover td {
  background: var(--bg-light);
}

.td-job-title {
  font-weight: 600;
  color: var(--secondary-color);
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending {
  background: rgba(243, 156, 18, 0.12);
  color: #d68910;
}
.status-reviewed {
  background: rgba(52, 152, 219, 0.12);
  color: #1a6fa8;
}
.status-shortlisted {
  background: rgba(39, 174, 96, 0.12);
  color: #1e7e44;
}
.status-rejected {
  background: rgba(231, 76, 60, 0.12);
  color: #c0392b;
}
.status-hired {
  background: rgba(142, 68, 173, 0.12);
  color: #6c3483;
}

/* Status Legend */
.status-legend {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  font-size: 0.8125rem;
  color: var(--text-medium);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.legend-title {
  font-weight: 600;
  color: var(--text-dark);
}

/* Empty State */
.dash-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.dash-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.dash-empty h3 {
  font-size: 1.25rem;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.dash-empty p {
  color: var(--text-light);
  max-width: 400px;
  margin: 0 auto;
}

/* btn-sm for tables */
.btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm:hover {
  background: var(--primary-dark);
  color: var(--white);
}
