/* ROOT VARIABLES */
:root {
  /* Brand Colors */
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --primary-light: #6ea8fe;
  --secondary: #198754;
  --secondary-dark: #146c43;
  --accent: #8f94fb;

  /* Background */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0b0f14;
  --bg-dark-soft: #121821;

  /* Text Colors */
  --text-dark: #212529;
  --text-muted: #6c757d;
  --text-light: #ffffff;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-hover: 0 12px 40px rgba(13, 110, 253, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.4s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;

  /* Fonts */
  --font-main: "Poppins", system-ui, -apple-system, sans-serif;
}

/* GLOBLE CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding-top: 76px; /* Account for fixed navbar */
}

/* HEADER CSS */
.custom-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: all var(--transition-base);
}

.custom-navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.custom-navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.8;
}

.custom-navbar .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex !important;
  align-items: center !important;
  white-space: nowrap;
  transition: transform var(--transition-base);
}

.custom-navbar .navbar-brand:hover {
  transform: scale(1.05);
}

.custom-navbar .navbar-brand i {
  font-size: 1.8rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s ease-in-out infinite;
}

.custom-navbar .navbar-brand span.text-success {
  color: var(--secondary) !important;
}

.custom-navbar .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  position: relative;
  transition: color var(--transition-base);
}

.custom-navbar .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.custom-navbar .nav-link:hover {
  color: var(--primary);
}

.custom-navbar .nav-link:hover::before {
  width: 80%;
}

.custom-navbar .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.custom-navbar .nav-link.active::before {
  width: 80%;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  transition: transform var(--transition-base);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler:hover {
  transform: scale(1.1);
}

.navbar-toggler i {
  color: var(--primary);
  font-size: 1.8rem;
}

.btn {
  font-weight: 600;
  padding: 0.65rem 1.8rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: width var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-login {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-login:hover {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

.btn-register {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
}

.btn-register:hover {
  background: var(--secondary);
  color: var(--bg-white);
  border-color: var(--secondary);
  box-shadow: 0 6px 20px rgba(25, 135, 84, 0.3);
}

.btn-role {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-role:hover {
  background: var(--primary);
  color: var(--bg-white);
}

.btn-outline-danger {
  font-weight: 600;
  transition: all var(--transition-base);
}

.btn-outline-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

@media (max-width: 991px) {
  .custom-navbar {
    padding: 0.6rem 0;
  }

  .navbar-collapse {
    background: var(--bg-white);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
  }

  .custom-navbar .nav-link {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
  }

  .custom-navbar .nav-link:hover,
  .custom-navbar .nav-link.active {
    background: rgba(13, 110, 253, 0.08);
  }

  .custom-navbar .nav-link::before {
    display: none;
  }

  .custom-navbar .d-flex {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .custom-navbar .btn {
    width: 100%;
  }

  .footer-section {
    padding: 60px 0 30px;
    text-align: center;
  }

  .footer-section h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .example-2 {
    justify-content: center;
  }

  .footer-link {
    display: block;
  }

  .footer-contact {
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-contact li {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 576px) {
  .custom-navbar {
    padding: 0.5rem 0;
  }

  .custom-navbar .navbar-brand {
    font-size: 1.3rem;
  }

  .custom-navbar .navbar-brand i {
    font-size: 1.5rem;
  }

  .navbar-collapse {
    left: 0.5rem;
    right: 0.5rem;
    padding: 1.2rem;
  }

  .section-hero {
    padding: 100px 15px 60px;
  }

  .example-2 a {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .footer-section {
    padding: 50px 0 25px;
  }
}

/* Add Job Modal Fix */
#addJobModal .modal-dialog {
  max-height: 90vh;
}

#addJobModal .modal-content {
  max-height: 90vh;
}

#addJobModal .modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

/* Edit Job Modal Fix */
#editJobModal .modal-dialog {
  max-height: 90vh;
}

#editJobModal .modal-content {
  max-height: 90vh;
}

#editJobModal .modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

/* LOGIN & REGISTER PAGE STYLES */
.modal-content {
  border: none;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.modal-header {
  border: none;
  padding: 2rem 2rem 1rem 2rem;
}

.modal-title {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  background-clip: text;
}

.btn-close {
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.modal-body {
  padding: 1rem 2rem 2rem 2rem;
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control,
.form-select {
  border: 2px solid #e9ecef;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  background: var(--bg-light);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
  background: var(--bg-white);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-check-input {
  border: 2px solid #dee2e6;
  transition: all var(--transition-fast);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.form-check-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border: none;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  color: var(--text-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
}

.btn-success {
  background: linear-gradient(135deg, var(--secondary) 0%, #20c997 100%);
  border: none;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  color: var(--text-light);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(25, 135, 84, 0.25);
  background: linear-gradient(
    135deg,
    var(--secondary-dark) 0%,
    var(--secondary) 100%
  );
}

.text-decoration-none {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.text-decoration-none:hover {
  color: var(--primary-dark);
}

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

.text-center a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.text-center a:hover {
  color: var(--primary-dark);
}

.mb-3 {
  margin-bottom: 1.25rem !important;
}

@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }

  .modal-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }
}

/* FOOTER SECTION CSS */
.footer-section {
  background: linear-gradient(
    135deg,
    var(--bg-dark) 0%,
    var(--bg-dark-soft) 100%
  );
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--accent) 50%,
    var(--secondary) 100%
  );
}

.footer-section::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(13, 110, 253, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.brand-logo {
  font-size: 1.75rem;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.brand-logo i {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.brand-logo .text-success {
  color: var(--secondary) !important;
}

/* Footer Text */
.footer-section p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-section h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-section h5::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.example-2 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.example-2 li {
  display: inline-block;
}

.example-2 li a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-size: 1.1rem;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.example-2 li:nth-child(1) a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
}

.example-2 li:nth-child(2) a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
}

.example-2 li:nth-child(3) a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
}

.footer-section .list-unstyled {
  padding: 0;
  margin: 0;
}

.footer-section .list-unstyled li {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: inline-block;
  position: relative;
}

.footer-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transition: width var(--transition-base);
}

.footer-link:hover {
  color: var(--text-light);
  padding-left: 8px;
}

.footer-link:hover::before {
  width: 100%;
}

.footer-contact li {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact li i {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--primary-light);
  font-size: 1rem;
  margin-top: 2px;
  transition: all var(--transition-base);
}

.footer-contact li:hover i {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-light);
  transform: scale(1.1);
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact li a:hover {
  color: var(--text-light);
}

.footer-section hr {
  border-color: rgba(255, 255, 255, 0.15);
  opacity: 1;
  margin: 3rem 0 1.5rem;
}

.footer-section .small {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-section {
    padding: 3rem 0 1.5rem;
  }

  .footer-section .col-md-4 {
    margin-bottom: 2rem;
  }

  .footer-section .col-md-4:last-child {
    margin-bottom: 0;
  }

  .footer-section h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .brand-logo {
    font-size: 1.5rem;
  }

  .example-2 {
    justify-content: center !important;
  }

  .footer-contact {
    text-align: left !important;
  }

  .footer-contact li {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-contact li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* TOAST NOTIFICATION CSS */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
}

#appToast {
  min-width: 350px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: none !important;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#appToast.hiding {
  animation: slideOutRight 0.3s ease-in forwards;
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

#appToast .d-flex {
  position: relative;
  padding: 0;
}

#appToast::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

#appToast.toast-success::before {
  background: linear-gradient(135deg, var(--secondary) 0%, #10b981 100%);
}

#appToast.toast-error::before {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

#appToast.toast-warning::before {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

#appToast.toast-info::before {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

#appToast .toast-body {
  padding: 1.25rem 1.25rem 1.25rem 1.75rem;
  color: #212529;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
}

#appToast .btn-close {
  filter: none;
  opacity: 0.6;
  transition: all var(--transition-fast);
  margin: auto 1rem auto 0;
  background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
    center/1em auto no-repeat;
}

#appToast .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

#appToast::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0.3;
  animation: progressBar 3s linear forwards;
}

#appToast.toast-success::after {
  background: linear-gradient(135deg, var(--secondary) 0%, #10b981 100%);
}

#appToast.toast-error::after {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

#appToast.toast-warning::after {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

#appToast.toast-info::after {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

@keyframes progressBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

@media (max-width: 576px) {
  .toast-container {
    top: 1rem;
    right: 1rem;
    left: 1rem;
  }

  #appToast {
    min-width: auto;
    width: 100%;
  }
}

/* SEARCH SECTION CSS */
.search-hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 50%,
    var(--accent) 100%
  );
  overflow: hidden;
}

.search-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(143, 148, 251, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(25, 135, 84, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.search-header {
  margin-bottom: 50px;
  animation: fadeInDown 0.6s ease;
}

.search-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.search-icon-badge i {
  font-size: 28px;
  color: var(--text-light);
}

.search-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.search-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.search-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 35px;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 15px;
  align-items: center;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 18px;
  color: var(--text-muted);
  font-size: 18px;
  pointer-events: none;
  z-index: 1;
  transition: color var(--transition-fast);
}

.search-input-wrapper:focus-within .search-input-icon {
  color: var(--primary);
}

.search-input,
.search-select {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border: 2px solid #e9ecef;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-white);
  transition: all var(--transition-base);
  outline: none;
}

.search-input::placeholder {
  color: #adb5bd;
}

.search-input:focus,
.search-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.search-select {
  appearance: none;
  cursor: pointer;
  padding-right: 45px;
}

.search-select-arrow {
  position: absolute;
  right: 18px;
  color: var(--text-muted);
  font-size: 12px;
  pointer-events: none;
  transition: transform var(--transition-fast);
}

.search-input-wrapper:focus-within .search-select-arrow {
  transform: translateY(-2px);
  color: var(--primary);
}

.search-btn-wrapper {
  min-width: 180px;
}

.search-btn {
  width: 100%;
  padding: 16px 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-light);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.search-btn:active {
  transform: translateY(0);
}

.search-btn-icon {
  font-size: 14px;
  transition: transform var(--transition-fast);
}

.search-btn:hover .search-btn-icon {
  transform: translateX(4px);
}

.search-quick-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  animation: fadeInUp 0.6s ease 0.4s backwards;
}

.quick-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 500;
}

.quick-stat i {
  font-size: 18px;
  opacity: 0.9;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1200px) {
  .search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-btn-wrapper {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .search-hero {
    padding: 60px 0 80px;
  }

  .search-title {
    font-size: 2rem;
  }

  .search-card {
    padding: 25px;
  }

  .search-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .search-quick-info {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .quick-stat {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .search-title {
    font-size: 1.75rem;
  }

  .search-subtitle {
    font-size: 1rem;
  }

  .search-input,
  .search-select {
    padding: 14px 18px 14px 48px;
    font-size: 14px;
  }

  .search-btn {
    padding: 14px 25px;
    font-size: 15px;
  }
}

/* CATEGORY SECTION CSS */
.category-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.category-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: radial-gradient(
    ellipse at top,
    rgba(13, 110, 253, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.category-header {
  position: relative;
  z-index: 1;
  margin-bottom: 3.5rem;
}

.category-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.category-main-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}

.category-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.category-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(13, 110, 253, 0.03) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.category-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover::after {
  transform: scaleX(1);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  position: relative;
  transition: all var(--transition-base);
  background: rgba(13, 110, 253, 0.08);
}

.icon-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.3;
  transition: all var(--transition-slow);
}

.category-card:hover .icon-wrapper {
  transform: scale(1.1);
}

.category-card:hover .icon-wrapper::before {
  width: 120%;
  height: 120%;
  opacity: 0;
}

.icon-wrapper i {
  font-size: 2rem;
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.category-card:hover .icon-wrapper i {
  transform: scale(1.15);
}

.category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.category-card:hover .category-title {
  color: var(--primary);
}

.category-job-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.category-job-count::before {
  content: "📊";
  font-size: 1rem;
}

.category-card:hover .category-job-count {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  transform: scale(1.05);
}

.category-card[data-color] .icon-wrapper {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--card-color) 15%, transparent) 0%,
    color-mix(in srgb, var(--card-color) 8%, transparent) 100%
  );
}

.category-card[data-color]:hover::after {
  background: var(--card-color);
}

.category-card[data-color]:hover .category-title {
  color: var(--card-color);
}

.category-card[data-color] .icon-wrapper i {
  color: var(--card-color);
}

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

.category-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.category-card:nth-child(1) {
  animation-delay: 0.1s;
}
.category-card:nth-child(2) {
  animation-delay: 0.2s;
}
.category-card:nth-child(3) {
  animation-delay: 0.3s;
}
.category-card:nth-child(4) {
  animation-delay: 0.4s;
}
.category-card:nth-child(5) {
  animation-delay: 0.5s;
}
.category-card:nth-child(6) {
  animation-delay: 0.6s;
}
.category-card:nth-child(7) {
  animation-delay: 0.7s;
}
.category-card:nth-child(8) {
  animation-delay: 0.8s;
}

.explore-more-btn {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  margin-top: 3rem;
}

.explore-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

@media (max-width: 768px) {
  .category-main-title {
    font-size: 2rem;
  }

  .category-subtitle {
    font-size: 1rem;
  }

  .icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .icon-wrapper i {
    font-size: 1.75rem;
  }
}

/* FEATURED JOBS SECTION CSS */
.featured-jobs-section {
  position: relative;
  overflow: hidden;
}

.featured-jobs-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.featured-jobs-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(30px, 30px) rotate(5deg);
  }
}

.featured-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.featured-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #ffc107, #ff6b6b);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
}

.featured-job-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.featured-job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 193, 7, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.featured-job-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border-color: #ffc107;
}

.featured-job-card:hover::before {
  left: 100%;
}

.featured-ribbon {
  position: absolute;
  top: 15px;
  right: -35px;
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #000;
  padding: 8px 40px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
  z-index: 10;
}

.featured-ribbon::before {
  content: "★";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #000;
}

.featured-card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.featured-job-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color var(--transition-fast);
  background: linear-gradient(135deg, #0d6efd, #198754);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-job-card:hover .featured-job-title {
  transform: translateX(5px);
}

.featured-job-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.featured-job-meta {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.featured-meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.875rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.featured-meta-item:last-child {
  margin-bottom: 0;
}

.featured-meta-item i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-right: 0.875rem;
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.featured-icon-briefcase {
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.15),
    rgba(13, 110, 253, 0.25)
  );
  color: var(--primary);
}

.featured-icon-users {
  background: linear-gradient(
    135deg,
    rgba(25, 135, 84, 0.15),
    rgba(25, 135, 84, 0.25)
  );
  color: var(--secondary);
}

.featured-icon-salary {
  background: linear-gradient(
    135deg,
    rgba(143, 148, 251, 0.15),
    rgba(143, 148, 251, 0.25)
  );
  color: var(--accent);
}

.btn-featured-details {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #000;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-featured-details::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-featured-details:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
  color: #000;
}

.btn-featured-details:hover::before {
  width: 300px;
  height: 300px;
}

.btn-featured-details span {
  position: relative;
  z-index: 1;
}

.featured-no-jobs-alert {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 193, 7, 0.3);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.featured-no-jobs-alert i {
  color: #ffc107;
  filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.featured-no-jobs-alert p {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.1rem;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .featured-section-title {
    font-size: 2rem;
  }

  .featured-job-card {
    margin-bottom: 1.5rem;
  }

  .featured-ribbon {
    font-size: 0.65rem;
    padding: 6px 35px;
  }
}

/* LATEST JOBS SECTION CSS */
.latest-jobs-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.latest-jobs-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(13, 110, 253, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 12%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}

.modern-job-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13, 110, 253, 0.1);
  transition: all var(--transition-base);
}

.modern-job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.modern-job-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.modern-job-card:hover::before {
  transform: scaleX(1);
}

.job-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.modern-job-card:hover .job-title {
  color: var(--primary);
}

.job-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--radius-md);
}

.job-meta-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-dark);
  margin: 0;
}

.job-meta-item i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-right: 0.75rem;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.meta-icon-briefcase {
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
}

.meta-icon-users {
  background: rgba(25, 135, 84, 0.1);
  color: var(--secondary);
}

.meta-icon-salary {
  background: rgba(143, 148, 251, 0.1);
  color: var(--accent);
}

.modern-job-card:hover .job-meta-item i {
  transform: scale(1.1);
}

.btn-view-details {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--text-light);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-view-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left var(--transition-slow);
}

.btn-view-details:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
  color: var(--text-light);
}

.btn-view-details:hover::before {
  left: 100%;
}

.no-jobs-alert {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 2px dashed #ffc107;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  color: #856404;
  font-weight: 500;
}

.job-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .modern-job-card {
    margin-bottom: 1rem;
  }
}

/* CONTACT SECTION CSS */
.contact-section {
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.08),
    rgba(13, 110, 253, 0.02)
  );
  font-family: var(--font-main);
}

.contact-info-card,
.contact-form-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 110, 253, 0.1);
  transition: var(--transition-base);
}

.contact-info-card:hover,
.contact-form-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.contact-info-item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-info-item .icon {
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.bg-accent {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.form-control-theme {
  border-radius: var(--radius-md);
  border: 1px solid #dee2e6;
  padding: 12px 14px;
  transition: var(--transition-fast);
}

.form-control-theme:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.btn-theme-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-light);
  border-radius: var(--radius-full);
  font-weight: 500;
  border: none;
  transition: var(--transition-base);
}

.btn-theme-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* JOB LISTING SECTION CSS */
.job-listing-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  position: relative;
  min-height: 100vh;
}

.job-listing-header {
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.05) 0%,
    rgba(25, 135, 84, 0.05) 100%
  );
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(13, 110, 253, 0.1);
  box-shadow: var(--shadow-md);
}

.job-listing-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(13, 110, 253, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.header-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.header-title {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.header-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sort-container {
  background: white;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(13, 110, 253, 0.1);
  transition: all var(--transition-base);
}

.sort-container:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.sort-container select {
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
}

.sort-container select:focus {
  outline: none;
  box-shadow: none;
}

.filter-sidebar {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(13, 110, 253, 0.08);
  position: sticky;
  top: 20px;
}

.filter-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-title::before {
  content: "🔍";
  font-size: 1.5rem;
}

.filter-input,
.filter-select {
  border: 2px solid #e9ecef;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  transition: all var(--transition-base);
  font-size: 0.9rem;
}

.filter-input:focus,
.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  outline: none;
}

.filter-section-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}

.filter-checkbox-group {
  background: #f8f9fa;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.form-check {
  margin-bottom: 0.75rem;
  padding-left: 0;
}

.form-check:last-child {
  margin-bottom: 0;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  border: 2px solid #dee2e6;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-label {
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.btn-search-filter {
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--secondary-dark) 100%
  );
  color: white;
  border: none;
  padding: 0.875rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.btn-search-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25, 135, 84, 0.4);
}

.job-card {
  background: white;
  border-radius: var(--radius-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid rgba(13, 110, 253, 0.08);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid rgba(13, 110, 253, 0.08);
  padding: 1rem 1.5rem;
}

.category-badge {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
}

.job-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.job-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.job-card:hover .job-title {
  color: var(--primary);
}

.job-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

.job-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.job-meta-item i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.icon-location {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.icon-clock {
  background: rgba(13, 202, 240, 0.1);
  color: #0dcaf0;
}

.icon-briefcase {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.icon-salary {
  background: rgba(25, 135, 84, 0.1);
  color: var(--secondary);
}

.btn-view-job {
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-view-job:hover {
  transform: translateY(-2px);
}

.no-jobs-alert {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 2px dashed #ffc107;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.no-jobs-alert i {
  color: #ffc107;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.no-jobs-alert p {
  color: #856404;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

@media (max-width: 991px) {
  .filter-sidebar {
    position: static;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .header-title {
    font-size: 1.5rem;
  }

  .job-listing-header {
    padding: 1.5rem;
  }

  .filter-sidebar {
    padding: 1.5rem;
  }
}

/* JOB DETAILS SECTION CSS */
.job-details-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  min-height: 100vh;
  padding: 2rem 0;
}

.breadcrumb-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(13, 110, 253, 0.08);
  margin-bottom: 2rem;
}

.breadcrumb {
  margin: 0;
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item a:hover {
  color: var(--primary-dark);
  transform: translateX(-3px);
}

.job-details-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(13, 110, 253, 0.08);
  margin-bottom: 2rem;
}

.job-details-header {
  background: var(--primary);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.job-details-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  ) !important;
  border-radius: 50%;
}

.job-details-header::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  ) !important;
  border-radius: 50%;
}

.job-title-main {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.job-meta-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.job-meta-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-favorite {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.btn-favorite:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.btn-favorite.active {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  border-color: #ff6b6b;
  animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.job-content-wrapper {
  padding: 2.5rem;
}

.job-content {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1rem;
}

.job-content h1,
.job-content h2,
.job-content h3,
.job-content h4 {
  color: var(--primary);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.job-content p {
  margin-bottom: 1rem;
}

.job-content ul,
.job-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.job-content li {
  margin-bottom: 0.5rem;
}

.job-section {
  margin-bottom: 2rem;
}

.job-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.job-section-title::before {
  content: "";
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}

.job-section-content {
  color: var(--text-dark);
  line-height: 1.8;
}

.job-actions {
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 2px solid rgba(13, 110, 253, 0.08);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-save {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
  margin: 0;
}

.btn-save:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.btn-unsave {
  background: white;
  color: #dc3545;
  border: 2px solid #dc3545;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
  margin: 0;
}

.btn-unsave:hover {
  background: #dc3545;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.btn-apply {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.5);
}

.btn-applied {
  background: #6c757d;
  color: white;
  border: 2px solid var(--primary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-login {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.btn-login:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.sidebar-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(13, 110, 253, 0.08);
  margin-bottom: 1.5rem;
  transition: all var(--transition-base);
}

.sidebar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-title i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.1),
    rgba(13, 110, 253, 0.2)
  );
  border-radius: var(--radius-sm);
  color: var(--primary);
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: start;
  font-size: 0.95rem;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list strong {
  color: var(--text-dark);
  font-weight: 600;
  min-width: 100px;
}

.sidebar-list span,
.sidebar-list a {
  color: var(--text-muted);
  flex: 1;
  text-align: right;
}

.sidebar-list a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  word-break: break-all;
}

.sidebar-list a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.content-divider {
  border: none;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(13, 110, 253, 0.2),
    transparent
  );
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .job-title-main {
    font-size: 1.5rem;
  }

  .job-details-header {
    padding: 2rem 1.5rem;
  }

  .job-content-wrapper {
    padding: 1.5rem;
  }

  .job-actions {
    padding: 1.5rem;
    justify-content: space-between;
  }

  .job-actions .btn-save,
  .job-actions .btn-unsave,
  .job-actions .btn-apply,
  .job-actions .btn-applied,
  .job-actions .btn-login {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .sidebar-card {
    padding: 1.5rem;
  }
}

/* USER DASHBOARD SECTION CSS */
.account-dashboard-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  min-height: 100vh;
  padding: 3rem 0;
}

.profile-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(13, 110, 253, 0.08);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.profile-card-body {
  padding: 2rem;
  text-align: center;
  position: relative;
}

.profile-card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.profile-img-wrapper {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-base);
}

.profile-img:hover {
  transform: scale(1.05);
}

.camera-btn {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border: 3px solid white;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.camera-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.profile-role-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.1),
    rgba(25, 135, 84, 0.1)
  );
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  border: 2px solid rgba(13, 110, 253, 0.2);
}

.sidebar-menu-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(13, 110, 253, 0.08);
  overflow: hidden;
}

.account-sidebar {
  list-style: none;
  padding: 0;
  margin: 0;
}

.account-sidebar .list-group-item {
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 0.25rem 0;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
}

.account-sidebar .list-group-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: height var(--transition-base);
}

.account-sidebar .list-group-item:hover {
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.05),
    rgba(25, 135, 84, 0.05)
  );
  padding-left: 1.5rem;
}

.account-sidebar .list-group-item:hover::before {
  height: 100%;
}

.account-sidebar .list-group-item.active {
  background: var(--primary);
  color: white;
  padding-left: 1.5rem;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.account-sidebar .list-group-item.active::before {
  height: 100%;
  background: white;
  width: 3px;
}

.account-sidebar .list-group-item i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  font-size: 1rem;
}

.account-sidebar .list-group-item.text-danger {
  color: #dc3545;
}

.account-sidebar .list-group-item.text-danger:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.account-sidebar .list-group-item.text-danger:hover::before {
  background: #dc3545;
}

.content-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(13, 110, 253, 0.08);
  min-height: 500px;
}

.content-card-body {
  padding: 2.5rem;
}

.content-section {
  animation: fadeIn 0.4s ease-in-out;
}

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

.content-section.d-none {
  display: none !important;
}

.section-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.1);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.1),
    rgba(13, 110, 253, 0.2)
  );
  border-radius: var(--radius-md);
  color: var(--primary);
}

@media (max-width: 991px) {
  .profile-card {
    margin-bottom: 2rem;
  }

  .sidebar-menu-card {
    margin-bottom: 2rem;
  }

  .account-sidebar .list-group-item {
    padding: 0.875rem 1rem;
  }
}

@media (max-width: 768px) {
  .account-dashboard-section {
    padding: 2rem 0;
  }

  .profile-img {
    width: 100px;
    height: 100px;
  }

  .profile-name {
    font-size: 1.25rem;
  }

  .content-card-body {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

.stat-card {
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.05),
    rgba(25, 135, 84, 0.05)
  );
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 2px solid rgba(13, 110, 253, 0.1);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* MY JOBS SECTION CSS */
.jobs-container {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e7f1ff 100%);
  padding: 2rem;
  min-height: 100vh;
}

.jobs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  animation: slideDown 0.5s ease;
}

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

.jobs-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jobs-title i {
  color: var(--primary);
  font-size: 1.75rem;
}

.btn-add-job {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-light);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-add-job:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.table-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: fadeIn 0.6s ease;
}

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

.jobs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.jobs-table thead {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--text-light);
}

.jobs-table thead th {
  padding: 1.25rem 1rem;
  font-weight: 600;
  text-align: center;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.jobs-table tbody tr {
  transition: all var(--transition-fast);
  border-bottom: 1px solid #e9ecef;
}

.jobs-table tbody tr:hover {
  background: linear-gradient(90deg, #f0f7ff 0%, var(--bg-white) 100%);
  transform: scale(1.01);
  box-shadow: var(--shadow-sm);
}

.jobs-table tbody td {
  padding: 1.25rem 1rem;
  vertical-align: middle;
  text-align: center;
}

.job-name {
  text-align: left !important;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.badge-custom {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-block;
  transition: all var(--transition-fast);
}

.badge-type {
  background: linear-gradient(135deg, #667eea 0%, var(--accent) 100%);
  color: var(--text-light);
}

.badge-salary {
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--secondary-dark) 100%
  );
  color: var(--text-light);
  font-weight: 600;
}

.badge-positions {
  background: var(--bg-dark-soft);
  color: var(--text-light);
}

.badge-expiry {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid #dee2e6;
}

.badge-featured-yes {
  background: linear-gradient(135deg, #10b981 0%, var(--secondary) 100%);
  color: var(--text-light);
}

.badge-featured-no {
  background: #6c757d;
  color: var(--text-light);
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.btn-action {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.875rem;
}

.btn-edit {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary) 100%
  );
  color: var(--text-light);
}

.btn-edit:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

.btn-delete {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: var(--text-light);
}

.btn-delete:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(238, 90, 111, 0.4);
}

.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 4rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state p {
  font-size: 1.125rem;
  margin: 0;
}

.row-number {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .jobs-table {
    font-size: 0.875rem;
  }

  .jobs-table thead th,
  .jobs-table tbody td {
    padding: 1rem 0.75rem;
  }
}

@media (max-width: 768px) {
  .jobs-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .btn-add-job {
    justify-content: center;
  }

  .table-card {
    overflow-x: auto;
  }

  .jobs-table {
    min-width: 800px;
  }
}

/* MY SAVED JOBS SECTION CSS */
.saved-jobs-header {
  margin-bottom: 2rem;
  animation: slideDown 0.5s ease;
}

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

.saved-jobs-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.saved-jobs-title i {
  color: #e74c3c;
  font-size: 1.75rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  10%,
  30% {
    transform: scale(1.1);
  }
  20% {
    transform: scale(0.95);
  }
}

.saved-table-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: fadeIn 0.6s ease;
}

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

.saved-jobs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.saved-jobs-table thead {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: var(--text-light);
}

.saved-jobs-table thead th {
  padding: 1.25rem 1rem;
  font-weight: 600;
  text-align: center;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.saved-jobs-table thead th.text-start {
  text-align: left !important;
}

.saved-jobs-table tbody tr {
  transition: all var(--transition-fast);
  border-bottom: 1px solid #e9ecef;
}

.saved-jobs-table tbody tr:hover {
  background: linear-gradient(90deg, #fff5f5 0%, var(--bg-white) 100%);
  transform: scale(1.01);
  box-shadow: var(--shadow-sm);
}

.saved-jobs-table tbody td {
  padding: 1.25rem 1rem;
  vertical-align: middle;
}

.saved-row-number {
  font-weight: 700;
  color: #e74c3c;
  font-size: 0.95rem;
  text-align: center;
}

.job-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.job-title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.4;
}

.job-location {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.job-location i {
  color: #e74c3c;
  font-size: 0.8rem;
}

.saved-date-badge {
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff5f5 100%);
  color: var(--text-dark);
  border: 1px solid #ffdddd;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-block;
}

.saved-action-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.saved-btn-action {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.875rem;
  text-decoration: none;
}

.saved-btn-view {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary) 100%
  );
  color: var(--text-light);
}

.saved-btn-view:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
  color: var(--text-light);
}

.saved-btn-remove {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: var(--text-light);
}

.saved-btn-remove:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(238, 90, 111, 0.4);
}

.saved-empty-state {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

.saved-empty-state i {
  font-size: 4rem;
  color: #ffb3b3;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.saved-empty-state p {
  font-size: 1.125rem;
  margin: 0;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
  .saved-jobs-table {
    font-size: 0.875rem;
  }

  .saved-jobs-table thead th,
  .saved-jobs-table tbody td {
    padding: 1rem 0.75rem;
  }
}

@media (max-width: 768px) {
  .saved-jobs-title {
    font-size: 1.5rem;
  }

  .saved-table-card {
    overflow-x: auto;
  }

  .saved-jobs-table {
    min-width: 600px;
  }

  .job-info {
    gap: 0.375rem;
  }

  .job-title {
    font-size: 0.9rem;
  }

  .job-location {
    font-size: 0.8rem;
  }
}

/* MODAL BACKDROP CSS */
.modal-backdrop.show {
  opacity: 0.6;
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.3) 0%,
    rgba(11, 15, 20, 0.6) 100%
  );
}

.modern-modal .modal-dialog {
  animation: modalSlideDown 0.4s ease-out;
}

@keyframes modalSlideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-modal .modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modern-modal .modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-light);
  padding: 1.5rem 2rem;
  border: none;
}

.modern-modal .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  color: white;
  align-items: center;
  gap: 0.75rem;
}

.modern-modal .modal-title i {
  font-size: 1.25rem;
}

.modern-modal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.modern-modal .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.modern-modal .modal-body {
  padding: 2rem;
  background: var(--bg-light);
}

.modern-modal .form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.modern-modal .form-label i {
  color: var(--primary);
  font-size: 0.75rem;
}

.modern-modal .form-control,
.modern-modal .form-select {
  border-radius: var(--radius-sm);
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  background: var(--bg-white);
}

.modern-modal .form-control:focus,
.modern-modal .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  background: var(--bg-white);
}

.modern-modal .form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.modern-modal textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.modern-modal .form-check {
  padding: 1rem;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 2px dashed #e9ecef;
  margin-top: 0.5rem;
  margin-bottom: 20px;
}

.modern-modal .form-check-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
  border: 2px solid #dee2e6;
  background-color: #f8f9fa;
}

.modern-modal .form-check-input:checked {
  background-color: var(--secondary);
  border-color: var(--secondary);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.modern-modal .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.modern-modal .form-check-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-left: 0.5rem;
  cursor: pointer;
}

.modern-modal .invalid-feedback {
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.375rem;
}

.modern-modal .form-control.is-invalid,
.modern-modal .form-select.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.5rem) center;
  background-size: calc(0.75em + 1rem) calc(0.75em + 1rem);
}

.modern-modal .modal-footer {
  background: var(--bg-white);
  border: none;
  border-top: 2px solid #e9ecef;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.modern-modal .modal-footer .btn {
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  border: none;
}

.modern-modal .modal-footer .btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.modern-modal .modal-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.modern-modal .modal-footer .btn-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.modern-modal .modal-footer .btn-light:hover {
  background: #e2e6ea;
}

.delete-modal .modal-header {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.delete-modal .modal-body {
  padding: 2.5rem;
  background: var(--bg-white);
}

.delete-modal .modal-body i {
  font-size: 4rem;
  color: #dc3545;
  margin-bottom: 1.5rem;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

.delete-modal .modal-body p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.delete-modal .modal-body small {
  font-size: 0.875rem;
}

.delete-modal .modal-footer {
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 2rem 2rem;
}

.delete-modal .btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.delete-modal .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

.modern-modal .row.g-3 {
  row-gap: 1.25rem;
}

@media (max-width: 768px) {
  .modern-modal .modal-header {
    padding: 1.25rem 1.5rem;
  }

  .modern-modal .modal-title {
    font-size: 1.25rem;
  }

  .modern-modal .modal-body {
    padding: 1.5rem;
  }

  .modern-modal .modal-footer {
    padding: 1.25rem 1.5rem;
  }

  .modern-modal .modal-footer .btn {
    width: 100%;
  }

  .delete-modal .modal-body {
    padding: 2rem 1.5rem;
  }
}
