/**
 * Custom Job Platform Styles
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Top Bar */
.top-bar {
  display: flex;
  padding: 20px;
  background-color: white;
  border-bottom: 1px solid #ddd;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
}

.search-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex: 1;
  width: 100%;
}

.search-bar input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 30%;
}

.search-bar select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 30%;
}

.search-bar button {
  background-color: #013171;
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

/* Main content */
.job-page {
  font-family: "Poppins", sans-serif;
  background: #f9f9f9;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  align-items: flex-start;
}

/* Filter Sidebar */
.filter-sidebar {
  margin: 20px 5px auto 5px;
  width: 20%;
  background: #fff;
  border-top: 4px solid #013171;
  padding: 15px 20px;
  overflow-y: auto;
  height: 100vh;
  position: sticky;
  top: 0;
  border-radius: 12px;
}

.filter-sidebar h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 5px;
}

.filter-group .toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  font-size: 14px;
}

/* Toggle Switch Styling */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 18px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 18px;
  transition: 0.4s linear;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #1a73e8;
}

.switch input:checked + .slider:before {
  transform: translateX(18px);
}

/* Filter links */
.filter-links {
  margin-top: 10px;
  list-style: none;
  padding: 0;
}

.filter-links li {
  margin: 6px 0;
}

.filter-links a {
  color: #1a73e8;
  text-decoration: none;
  font-size: 14px;
}

/* Section titles */
.section-title {
  font-size: 14px;
  font-weight: bold;
  margin: 20px 0 10px;
  border-top: 1px solid #e0e0e0;
  padding-top: 10px;
}

.filter-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-section li {
  margin: 6px 0;
}

.filter-section a {
  color: #1a73e8;
  text-decoration: none;
  font-size: 14px;
}

/* Middle section */
.jobs-listing {
  width: 70%;
  padding: 20px;
  overflow-y: auto;
  transition: width 0.3s ease;
  margin: 20px 5px auto 5px;
  flex: 1;
  background: white;
  border-radius: 16px;
}

.jobs-listing h2 {
  padding-left: 17px;
  font-size: 33px;
  font-family: "Poppins", sans-serif;
}

.job-card {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-top: 1px solid #e7e9ed;
}

.job-card:hover {
  background-color: #e7e9ed40;
}

.job-card h3 a {
  font-size: 22px;
  margin-top: 0;
  color: #1a1a1a;
  text-decoration: none;
}

.job-card button {
  background: #013171;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 2px;
  font-family: "Poppins", sans-serif;
}

/* Featured and Highlighted Job Badges */
.featured-badge,
.highlighted-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-badge {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
}

.highlighted-badge {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
  color: white;
}

.job-card.featured-job,
.job-listing-card.featured-job {
  border-left: 4px solid #FFD700;
  background: linear-gradient(to right, rgba(255, 215, 0, 0.05), #fff);
}

.job-card.highlighted-job,
.job-listing-card.highlighted-job {
  border-left: 4px solid #FF4757;
  background: linear-gradient(to right, rgba(255, 71, 87, 0.05), #fff);
}

.job-card.featured-job.highlighted-job,
.job-listing-card.featured-job.highlighted-job {
  border-left: 4px solid #FF6B6B;
  background: linear-gradient(to right, rgba(255, 107, 107, 0.08), #fff);
}

.job-info {
  font-size: 15px;
  color: #1a1a1a;
}

/* Job Detail Panel */
.job-detail {
  width: 0;
  overflow: hidden;
  padding: 0;
  background-color: #fbfcfd;
  transition: width 0.3s ease, padding 0.3s ease;
}

/* When active */
.content.show-detail .jobs-listing {
  width: 40%;
}

.content.show-detail .job-detail {
  margin: 20px 5px auto 5px;
  width: 40%;
  padding: 20px;
  background-color: white;
  border-radius: 16px;
  border-top: 4px solid #013171;
}

/* Hide menu button on desktop */
.menu-toggle {
  display: none;
  padding: 10px 15px;
  margin-bottom: 10px;
  font-size: 16px;
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.close-btn {
  display: none; /* Hidden by default (desktop) */
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 1001;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

.job-title {
  font-size: 22px;
  font-weight: bold;
  flex-grow: 1;
}

.job-company {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  font-weight: bold;
  justify-content: flex-start;
  align-items: center;
}

.job-company-info {
  align-content: center;
}

.job-location {
  color: gray;
  font-size: 12px;
  align-items: center;
  margin-block: 2px;
}

.job-type-one {
  margin-block: 0px;
  font-size: 18px;
  color: #1a1a1a;
}

.job-company img {
  width: 60px;
  height: 60px;
  border: 1px solid #e7e9ed;
}

.job-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.job-buttons {
  margin: 15px 0;
  display: flex;
  gap: 10px;
}

.job-buttons button {
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.easy-apply {
  background-color: #013171;
  color: white;
  padding: 10px 40px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

.save-btn {
  padding: 10px 20px;
  background-color: #f0f0f0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.close-btn {
  font-size: 20px;
  cursor: pointer;
  border: none;
  background: none;
  color: #666;
}

.content {
  display: flex;
  flex: 1;
  transition: all 0.3s ease;
}

.skills {
  border-top: 1px solid #e7e9ed;
  padding-top: 10px;
}

.skills li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* Additional styles for job search page */
.job-search-form {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.job-search-form input,
.job-search-form select {
  flex: 1;
}

.job-search-form button {
  white-space: nowrap;
}

/* Job meta display in cards */
.job-meta {
  display: flex;
  gap: 15px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.job-meta span {
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
}

/* Pagination styles */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding: 20px 0;
}

.pagination a,
.pagination span {
  padding: 10px 15px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #013171;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: #013171;
  color: white;
  border-color: #013171;
}

.pagination .current {
  background: #013171;
  color: white;
  border-color: #013171;
}

/* Empty state styling */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #7f8c8d;
}

.empty-state i {
  font-size: 4em;
  margin-bottom: 20px;
  color: #bdc3c7;
}

.empty-state h3 {
  margin-bottom: 10px;
  color: #2c3e50;
}

.empty-state p {
  margin-bottom: 20px;
}

/* Active filter links */
.filter-section a.active {
  color: #013171;
  font-weight: 600;
}

/* Search suggestions */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

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

.search-suggestions-list li {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}

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

.search-suggestions-list a {
  color: #333;
  text-decoration: none;
  display: block;
}

.search-suggestions-list a:hover {
  color: #013171;
}

/* ========================================
   JOB DETAILS PAGE STYLES
   ======================================== */

/* Job Detail Header */
.job-detail-header {
  background: linear-gradient(135deg, #013171 0%, #1a73e8 100%);
  color: white;
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(1, 49, 113, 0.2);
}

.job-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.job-title-section {
  flex: 1;
}

.job-detail-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.job-company-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.company-logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.company-logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.company-logo-placeholder i {
  font-size: 2em;
  color: rgba(255, 255, 255, 0.8);
}

.company-name {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 8px;
}

.job-location {
  font-size: 1.1em;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 200px;
}

.apply-btn {
  background: #27ae60;
  color: white;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.apply-btn:hover {
  background: #219a52;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.save-job-btn, .share-job-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.save-job-btn:hover, .share-job-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.save-job-btn.saved,
.save-job-btn.favorited {
  background: #e74c3c;
  border-color: #e74c3c;
}

.save-job-btn.favorited:hover {
  background: #c0392b;
  border-color: #c0392b;
}

/* Job Meta Grid */
.job-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.meta-item {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.meta-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.meta-item i {
  font-size: 1.5em;
  color: #013171;
  width: 40px;
  text-align: center;
}

.meta-content {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.9em;
  color: #666;
  font-weight: 500;
  margin-bottom: 5px;
}

.meta-value {
  font-size: 1.1em;
  color: #333;
  font-weight: 600;
}

/* Job Categories */
.job-categories {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.job-categories h4 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.2em;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-tag {
  background: linear-gradient(135deg, #013171, #1a73e8);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.3s ease;
}

.category-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(1, 49, 113, 0.3);
}

/* Job Description Section */
.job-description-section,
.job-requirements-section,
.job-contact-section,
.similar-jobs-section {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.job-description-section h3,
.job-requirements-section h3,
.job-contact-section h3,
.similar-jobs-section h3 {
  color: #333;
  font-size: 1.4em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.job-content,
.requirements-content {
  line-height: 1.8;
  color: #555;
  font-size: 1.1em;
}

.job-content h1, .job-content h2, .job-content h3,
.requirements-content h1, .requirements-content h2, .requirements-content h3 {
  color: #333;
  margin-top: 25px;
  margin-bottom: 15px;
}

.job-content ul, .job-content ol,
.requirements-content ul, .requirements-content ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.job-content li, .requirements-content li {
  margin-bottom: 8px;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.contact-item i {
  font-size: 1.3em;
  color: #013171;
  width: 30px;
  text-align: center;
}

.contact-content {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 5px;
}

.contact-value {
  font-size: 1.1em;
  color: #013171;
  text-decoration: none;
  font-weight: 500;
}

.contact-value:hover {
  text-decoration: underline;
}

/* Similar Jobs */
.similar-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.similar-job-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #013171;
  transition: all 0.3s ease;
}

.similar-job-card:hover {
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.similar-job-card h4 {
  margin-bottom: 10px;
}

.similar-job-card h4 a {
  color: #333;
  text-decoration: none;
  font-size: 1.1em;
}

.similar-job-card h4 a:hover {
  color: #013171;
}

.similar-job-location {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 8px;
}

.similar-job-salary {
  color: #013171;
  font-weight: 600;
  margin-bottom: 15px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9em;
}

/* Responsive Design for Job Details */
@media (max-width: 768px) {
  .job-header-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .job-detail-title {
    font-size: 2em;
  }
  
  .job-actions {
    flex-direction: row;
    min-width: auto;
  }
  
  .job-meta-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .similar-jobs-grid {
    grid-template-columns: 1fr;
  }
  
  .job-detail-header {
    padding: 25px;
  }
  
  .job-description-section,
  .job-requirements-section,
  .job-contact-section,
  .similar-jobs-section {
    padding: 20px;
  }
}

/* Loading States */
.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: #7f8c8d;
}

.loading-state .spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #013171;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Search Bar Enhancements */
.search-bar {
  position: relative;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.search-suggestions-list li {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

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

.search-suggestions-list li:hover {
  background-color: #f8f9fa;
}

.search-suggestions-list a {
  color: #333;
  text-decoration: none;
  display: block;
  font-size: 14px;
}

.search-suggestions-list a:hover {
  color: #013171;
}

/* Filter Enhancements */
.filter-sidebar .toggle-item {
  cursor: pointer;
  padding: 8px 0;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.filter-sidebar .toggle-item:hover {
  background-color: #f8f9fa;
}

.filter-section a {
  display: block;
  padding: 6px 0;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.filter-section a:hover {
  background-color: #f0f8ff;
  padding-left: 8px;
}

.filter-section a.active {
  background-color: #e3f2fd;
  color: #013171;
  font-weight: 600;
  padding-left: 8px;
}

/* Job Card Enhancements */
.job-card {
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #013171, #1a73e8);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.job-card h3 a {
  position: relative;
  transition: color 0.3s ease;
}

.job-card:hover h3 a {
  color: #013171;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .search-bar {
    flex-direction: column;
    gap: 15px;
  }
  
  .search-bar input,
  .search-bar select {
    width: 100%;
  }
  
  .job-meta-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .similar-jobs-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   DASHBOARD STYLES - SIMPLIFIED & EFFICIENT
   ======================================== */

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  background: #013171;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2em;
}

.user-details h3 {
  margin: 0;
  color: #333;
  font-size: 1.2em;
}

.user-role {
  color: #666;
  font-size: 0.9em;
}

.logout-btn {
  background: #f8f9fa;
  color: #dc3545;
  border: 1px solid #dc3545;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: #dc3545;
  color: white;
}

/* Dashboard Content */
.dashboard-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
}

/* Sidebar */
.dashboard-sidebar {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  height: fit-content;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: #666;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 0.95em;
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-item:hover {
  background: #f8f9fa;
  color: #013171;
  border-color: #e9ecef;
}

.nav-item.active {
  background: #013171;
  color: white;
  border-color: #013171;
  box-shadow: 0 2px 4px rgba(1, 49, 113, 0.2);
}

.nav-item i {
  width: 20px;
  text-align: center;
  font-size: 1.1em;
}

.nav-item span {
  font-weight: 500;
}

/* Main Content */
.dashboard-main {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.dashboard-section {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dashboard-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 1.5em;
}

.section-header p {
  margin: 0;
  color: #666;
  font-size: 0.95em;
}

/* Forms */
.profile-form, .post-job-form {
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: 500;
  font-size: 0.9em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9em;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #013171;
}

.char-counter {
  display: block;
  text-align: right;
  font-size: 0.8em;
  color: #666;
  margin-top: 5px;
}

/* Cards */
.application-card,
.saved-job-card,
.referral-card,
.job-listing-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.2s ease;
}

.application-card:hover,
.saved-job-card:hover,
.referral-card:hover,
.job-listing-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.application-header,
.referral-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.application-header h4,
.referral-header h4 {
  margin: 0;
  font-size: 1.1em;
}

.application-header h4 a,
.referral-header h4 a {
  color: #333;
  text-decoration: none;
}

.application-header h4 a:hover,
.referral-header h4 a:hover {
  color: #013171;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-pending-approval { background: #fff3cd; color: #856404; }
.status-reviewed { background: #d1ecf1; color: #0c5460; }
.status-shortlisted { background: #d4edda; color: #155724; }
.status-rejected { background: #f8d7da; color: #721c24; }
.status-publish { background: #d4edda; color: #155724; }
.status-draft { background: #e2e3e5; color: #383d41; }
.status-private { background: #d1ecf1; color: #0c5460; }
.status-hired { background: #d1e7dd; color: #0f5132; }

.match-badge {
  background: #013171;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 500;
}

.application-meta,
.job-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.85em;
  color: #666;
}

.application-meta span,
.job-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.company-name {
  color: #013171;
  font-weight: 500;
  margin: 5px 0;
}

.job-info h4 {
  margin: 0 0 10px 0;
}

.job-info h4 a {
  color: #333;
  text-decoration: none;
}

.job-info h4 a:hover {
  color: #013171;
}

.job-actions,
.application-actions,
.referral-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.status-select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85em;
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.empty-state i {
  font-size: 3em;
  color: #ddd;
  margin-bottom: 15px;
}

.empty-state h3 {
  margin: 0 0 10px 0;
  color: #333;
}

.empty-state p {
  margin: 0 0 20px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: #013171;
  color: white;
}

.btn-primary:hover {
  background: #012a5e;
}

.btn-outline {
  background: transparent;
  color: #013171;
  border: 1px solid #013171;
}

.btn-outline:hover {
  background: #013171;
  color: white;
}

.btn-danger {
  background: #dc3545;
  color: white;
}

.btn-danger:hover {
  background: #c82333;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dashboard-content {
    grid-template-columns: 1fr;
  }
  
  .dashboard-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .application-meta,
  .job-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .job-actions,
  .application-actions,
  .referral-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Responsive for tablets and mobile */
@media (max-width: 991px) {
  .job-page {
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
  }

  .filter-sidebar {
    position: fixed;
    top: 30px;
    left: -320px;
    height: 100%;
    width: 100%;
    z-index: 999;
    background-color: white;
    width: 260px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .filter-sidebar.show {
    left: 0;
  }

  .jobs-listing {
    width: 100%;
  }
}

/* Show close button only on mobile/tablet */
@media (max-width: 991px) {
  .close-btn {
    display: block;
  }
}

@media (max-width: 991px) {
  .job-detail {
    display: none;
    width: 100% !important;
    padding: 20px;
  }

  .content.mobile-show-detail .jobs-listing {
    display: none;
  }

  .content.mobile-show-detail .job-detail {
    display: block;
  }
}

/* Job Platform Container */
.job-platform-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Job Listing Cards */
.job-listing-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.job-listing-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.job-listing-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.job-listing-company {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.job-listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    font-size: 0.85em;
    color: #5a6c7d;
}

.job-meta-item i {
    margin-right: 5px;
    color: #3498db;
}

.job-listing-description {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.job-listing-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    color: white;
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #229954;
    color: white;
}

.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-warning:hover {
    background: #e67e22;
    color: white;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

/* Forms */
.job-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-control.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85em;
    margin-top: 5px;
}

/* Dashboard */
.dashboard-container {
    display: flex;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 20px;
    flex-direction: column;
}

.dashboard-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

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

.dashboard-nav li {
    margin-bottom: 10px;
}

.dashboard-nav a {
    display: block;
    padding: 12px 15px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: #3498db;
    color: white;
}

.dashboard-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dashboard-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e5e9;
}

.dashboard-title {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.dashboard-subtitle {
    color: #7f8c8d;
    font-size: 1em;
}

/* Search and Filters */
.job-search-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}

.search-form .form-group {
    margin-bottom: 0;
}

.search-btn {
    padding: 12px 25px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.search-btn:hover {
    background: #2980b9;
}

/* Job Categories and Tags */
.job-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.job-category {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.job-category:hover {
    background: #3498db;
    color: white;
}

/* Favorites */
.favorite-btn {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #bdc3c7;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.favorite-btn.favorited {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.favorite-btn:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    transform: scale(1.1);
}

.favorite-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Default Avatar */
.default-avatar {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.5em;
}

.default-avatar i {
    color: #6c757d;
}

/* User Avatar in Dashboard */
.user-avatar {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.8em;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-avatar i {
    color: #6c757d;
}

/* Job Actions */
.job-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

.job-actions .btn {
    flex: 1;
}

.job-actions .favorite-btn {
    flex-shrink: 0;
}

/* Job Listing Company Info */
.job-listing-company-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.job-listing-company-info .job-company-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.job-listing-company-info .job-company-details {
    flex: 1;
}

.job-listing-company-info .job-listing-title {
    margin: 0 0 5px 0;
    font-size: 1.2em;
}

.job-listing-company-info .job-listing-company {
    color: #6c757d;
    font-size: 0.9em;
    margin: 0;
}

/* Company Logo in Single Job Listing */
.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.company-logo.default-avatar {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.8em;
}

/* Application Status */
.application-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-reviewed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-shortlisted {
    background: #d4edda;
    color: #155724;
}

.status-hired {
    background: #d1e7dd;
    color: #0f5132;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        order: 2;
    }
    
    .dashboard-content {
        order: 1;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .job-listing-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .job-listing-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.loading-state .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notifications */
.notification {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.notification.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.notification.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #3498db;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination .current {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.empty-state i {
    font-size: 4em;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.empty-state p {
    margin-bottom: 20px;
}

/* Dashboard Specific Styles */
.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.dashboard-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 0;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #013171;
    box-shadow: 0 0 0 2px rgba(1, 49, 113, 0.1);
}

.form-control[type="file"] {
    padding: 8px;
}

.form-help {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.char-counter {
    font-size: 12px;
    color: #666;
    text-align: right;
    display: block;
    margin-top: 5px;
}

.file-preview {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 14px;
}

.current-cv {
    margin-top: 15px;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 4px;
    border-left: 4px solid #013171;
}

.current-cv label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-weight: normal;
}

/* Application Status */
.application-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-reviewed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-shortlisted {
    background: #d4edda;
    color: #155724;
}

.status-hired {
    background: #d1e7dd;
    color: #0f5132;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Application Actions */
.application-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.application-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.application-status-select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.analytics-number {
    font-size: 36px;
    font-weight: bold;
    color: #013171;
    margin: 10px 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    color: #013171;
    border: 2px solid #013171;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #013171;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-danger:hover {
    background: #c82333;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-link a {
    color: #013171;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Job Meta Display */
.job-meta {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.job-meta span {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .application-actions {
        flex-direction: column;
    }
}

/* ========================================
   LOGIN PAGE STYLES
   ======================================== */

.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
}

.login-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 450px;
  animation: slideUp 0.6s ease-out;
}

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

.login-header {
  background: linear-gradient(135deg, #013171 0%, #1e4a8a 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
}

.login-header h1 {
  margin: 0 0 10px 0;
  font-size: 2.2em;
  font-weight: 600;
}

.login-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1em;
}

.login-form-container {
  padding: 40px 30px;
}

.login-form .form-group {
  margin-bottom: 25px;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 0.95em;
}

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

.input-group i {
  position: absolute;
  left: 15px;
  color: #666;
  font-size: 1.1em;
  z-index: 2;
}

.input-group input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 1em;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.input-group input:focus {
  outline: none;
  border-color: #013171;
  background: white;
  box-shadow: 0 0 0 3px rgba(1, 49, 113, 0.1);
}

.toggle-password {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 1.1em;
  z-index: 2;
}

.toggle-password:hover {
  color: #013171;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.9em;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #666;
}

.remember-me input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:checked + .checkmark {
  background: #013171;
  border-color: #013171;
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.forgot-password {
  color: #013171;
  text-decoration: none;
  font-weight: 500;
}

.forgot-password:hover {
  text-decoration: underline;
}

.form-messages {
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9em;
  display: none;
}

.form-messages.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-messages.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.form-messages .message {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #013171 0%, #1e4a8a 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 49, 113, 0.3);
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-divider {
  text-align: center;
  margin: 30px 0;
  position: relative;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e5e9;
}

.login-divider span {
  background: white;
  padding: 0 15px;
  color: #666;
  font-size: 0.9em;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  background: white;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-social:hover {
  border-color: #013171;
  background: #f8f9fa;
  transform: translateY(-1px);
}

.btn-google {
  color: #db4437;
}

.btn-linkedin {
  color: #0077b5;
}

.register-link {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e1e5e9;
}

.register-link p {
  margin: 0;
  color: #666;
}

.register-link a {
  color: #013171;
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Responsive Login */
@media (max-width: 480px) {
  .login-container {
    margin: 10px;
    border-radius: 15px;
  }
  
  .login-header {
    padding: 30px 20px;
  }
  
  .login-header h1 {
    font-size: 1.8em;
  }
  
  .login-form-container {
    padding: 30px 20px;
  }
  
     .form-options {
     flex-direction: column;
     gap: 15px;
     align-items: flex-start;
   }
 }

/* ========================================
   LOGIN/LOGOUT BUTTON SHORTCODE STYLES
   ======================================== */

/* Auth Actions Container */
.auth-actions,
.user-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.auth-actions .btn,
.user-actions .btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.auth-actions .btn-primary,
.user-actions .btn-primary {
  background: #013171;
  color: white;
  border: none;
}

.auth-actions .btn-primary:hover,
.user-actions .btn-primary:hover {
  background: #012a5e;
  transform: translateY(-1px);
}

.auth-actions .btn-outline,
.user-actions .btn-outline {
  background: transparent;
  color: #013171;
  border: 1px solid #013171;
}

.auth-actions .btn-outline:hover,
.user-actions .btn-outline:hover {
  background: #013171;
  color: white;
}

/* Dropdown Menu Styles */
.user-menu-dropdown,
.auth-menu-dropdown {
  position: relative;
  display: inline-block;
}

.user-menu-toggle,
.auth-menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #013171;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.user-menu-toggle:hover,
.auth-menu-toggle:hover {
  background: #012a5e;
}

.user-menu-dropdown-content,
.auth-menu-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  z-index: 1000;
  margin-top: 5px;
  border: 1px solid #e1e5e9;
}

.user-menu-dropdown:hover .user-menu-dropdown-content,
.auth-menu-dropdown:hover .auth-menu-dropdown-content {
  display: block;
}

.user-info {
  padding: 15px;
  border-bottom: 1px solid #e1e5e9;
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.user-info strong {
  display: block;
  color: #333;
  font-size: 0.95em;
  margin-bottom: 3px;
}

.user-info .user-role {
  color: #666;
  font-size: 0.85em;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.dropdown-item:hover {
  background: #f8f9fa;
  color: #013171;
}

.dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .auth-actions,
  .user-actions {
    flex-direction: column;
    gap: 8px;
  }

  .auth-actions .btn,
  .user-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .user-menu-dropdown-content,
  .auth-menu-dropdown-content {
    right: -50px;
    min-width: 180px;
  }
}

/* ========================================
   ENHANCED SEARCH STYLES
   ======================================== */

.enhanced-search-form {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.search-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}

.search-row input[type="text"] {
  flex: 2;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.search-row input[type="text"]:focus {
  border-color: #013171;
  outline: none;
}

.search-row select {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  background: white;
  cursor: pointer;
}

.search-btn {
  padding: 12px 24px;
  background: #013171;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-btn:hover {
  background: #012a5e;
}

.advanced-filters {
  border-top: 1px solid #e1e5e9;
  padding-top: 20px;
  margin-top: 20px;
}

.filter-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-row select {
  flex: 1;
  min-width: 150px;
  padding: 10px 12px;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  font-size: 14px;
  background: white;
}

.salary-range {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 2;
  min-width: 250px;
}

.salary-range label {
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}

.salary-range input {
  width: 100px;
  padding: 8px 12px;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  font-size: 14px;
}

.salary-range span {
  color: #666;
  font-weight: 500;
}

.filter-toggles {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.filter-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #013171;
}

.search-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e1e5e9;
}

.toggle-filters,
.clear-filters {
  padding: 8px 16px;
  border: 1px solid #e1e5e9;
  background: white;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toggle-filters:hover,
.clear-filters:hover {
  background: #f8f9fa;
  border-color: #013171;
  color: #013171;
}

.results-count {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.loading-state {
  text-align: center;
  padding: 40px 20px;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #013171;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Admin Dashboard Styles */
.admin-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.stat-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.stat-card h3 {
  margin: 0;
  color: #013171;
  font-size: 16px;
}

.stat-card p {
  font-size: 2em;
  margin: 10px 0;
  font-weight: bold;
  color: #333;
}

/* Commission Status Badges */
.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 500;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-approved { background: #d1ecf1; color: #0c5460; }
.status-paid { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* Responsive adjustments for enhanced search */
@media (max-width: 768px) {
  .search-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .search-row input[type="text"],
  .search-row select {
    width: 100%;
  }
  
  .filter-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .filter-row select,
  .salary-range {
    width: 100%;
    min-width: auto;
  }
  
  .filter-toggles {
    flex-direction: column;
    gap: 10px;
  }
  
  .search-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  
  .toggle-filters,
  .clear-filters {
    justify-content: center;
  }
}

/* ========================================
   SUBSCRIPTION PAGE STYLES
   ======================================== */

.subscription-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  padding: 40px 0;
}

.subscription-header {
  text-align: center;
  margin-bottom: 50px;
}

.subscription-header h1 {
  font-size: 2.5em;
  color: #013171;
  margin-bottom: 15px;
  font-weight: 700;
}

.subscription-header p {
  font-size: 1.2em;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.subscription-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.plan-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.plan-card.teacher-premium {
  border-color: #013171;
  transform: scale(1.05);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #013171;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
}

.plan-header {
  text-align: center;
  margin-bottom: 30px;
}

.plan-header h3 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 15px;
  font-weight: 700;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.plan-price .price {
  font-size: 3em;
  font-weight: 700;
  color: #013171;
}

.plan-price .period {
  font-size: 1.2em;
  color: #666;
}

.plan-features {
  margin-bottom: 30px;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1em;
  color: #333;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features i {
  color: #27ae60;
  font-size: 1.1em;
  min-width: 20px;
}

.plan-action {
  text-align: center;
}

.plan-action .btn {
  width: 100%;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
  text-align: center;
  color: #013171;
  margin-bottom: 30px;
  font-size: 2em;
  font-weight: 700;
}

.faq-item {
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #013171;
}

.faq-question h4 {
  margin: 0;
  font-size: 1.1em;
  font-weight: 600;
  color: #333;
}

.faq-question i {
  color: #013171;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 0 20px 0;
  color: #666;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

/* Responsive adjustments for subscription page */
@media (max-width: 768px) {
  .subscription-header h1 {
    font-size: 2em;
  }
  
  .subscription-plans {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .plan-card.teacher-premium {
    transform: none;
  }
  
  .plan-card {
    padding: 20px;
  }
  
  .plan-price .price {
    font-size: 2.5em;
  }
  
  .faq-section {
    padding: 20px;
    margin: 0 20px;
  }
}

/* ========================================
   ENHANCED DASHBOARD STYLES
   ======================================== */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 1.5em;
}

.section-header p {
  margin: 0;
  color: #666;
  font-size: 0.95em;
}

.section-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.favorites-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card i {
  font-size: 2em;
  color: #013171;
  width: 50px;
  text-align: center;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2em;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.stat-label {
  font-size: 0.9em;
  color: #666;
  margin-top: 5px;
}

.saved-job-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.saved-job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #013171 0%, #1e4a8a 100%);
}

.saved-job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #013171;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.job-header h4 {
  margin: 0;
  font-size: 1.2em;
  flex: 1;
}

.job-header h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.job-header h4 a:hover {
  color: #013171;
}

.saved-date {
  background: #f8f9fa;
  color: #666;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: 500;
  flex-shrink: 0;
  margin-left: 15px;
}

.company-name {
  color: #013171;
  font-weight: 600;
  margin: 10px 0;
  font-size: 1.1em;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f8f9fa;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  color: #666;
  font-weight: 500;
}

.job-meta span i {
  color: #013171;
}

.job-excerpt {
  color: #666;
  font-size: 0.9em;
  line-height: 1.5;
  margin: 15px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #013171;
}

.job-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.job-actions .btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.3s ease;
}

.job-actions .btn:hover {
  transform: translateY(-1px);
}

.job-actions .btn-primary {
  background: #013171;
  color: white;
  border: none;
}

.job-actions .btn-primary:hover {
  background: #012a5e;
  box-shadow: 0 4px 15px rgba(1, 49, 113, 0.3);
}

.job-actions .btn-outline {
  background: transparent;
  color: #013171;
  border: 1px solid #013171;
}

.job-actions .btn-outline:hover {
  background: #013171;
  color: white;
}

/* Enhanced empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px dashed #dee2e6;
}

.empty-state i {
  font-size: 4em;
  color: #dee2e6;
  margin-bottom: 20px;
  display: block;
}

.empty-state h3 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 1.5em;
  font-weight: 600;
}

.empty-state p {
  margin: 0 0 25px 0;
  font-size: 1.1em;
  line-height: 1.5;
}

.empty-state .btn {
  padding: 12px 24px;
  font-size: 1em;
  font-weight: 600;
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .section-actions {
    align-self: stretch;
    justify-content: center;
  }
  
  .favorites-stats {
    grid-template-columns: 1fr;
  }
  
  .job-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .saved-date {
    margin-left: 0;
    align-self: flex-start;
  }
  
  .job-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .job-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .job-actions .btn {
    justify-content: center;
  }
}

/* Usage & Limits Styles */
.usage-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.usage-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #013171;
}

.usage-card h3 {
  margin: 0 0 15px 0;
  color: #013171;
  font-size: 1.2em;
  font-weight: 600;
}

.usage-card p {
  margin: 8px 0;
  color: #666;
  font-size: 0.95em;
}

.usage-card p strong {
  color: #333;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e7e9ed;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #013171 0%, #0154a8 100%);
  transition: width 0.3s ease;
  border-radius: 4px;
}

/* Bookmark Candidate Button */
.bookmark-candidate {
  background: transparent;
  border: 1px solid #013171;
  color: #013171;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bookmark-candidate:hover {
  background: #013171;
  color: white;
}

.bookmark-candidate.bookmarked {
  background: #013171;
  color: white;
  border-color: #013171;
}

.bookmark-candidate.bookmarked:hover {
  background: #012a5e;
  border-color: #012a5e;
}

/* Push Up and Renew Job Buttons */
.push-up-job,
.renew-job {
  background: transparent;
  border: 1px solid #28a745;
  color: #28a745;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9em;
}

.push-up-job:hover,
.renew-job:hover {
  background: #28a745;
  color: white;
}

.push-up-job:disabled,
.renew-job:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   Job Feed Block (Homepage Shortcode)
   ============================================ */
.job-feed-block {
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.job-feed-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.job-feed-ctas .btn {
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

.job-feed-ctas .btn-primary {
  background: #013171;
  color: white;
  border: none;
}

.job-feed-ctas .btn-outline {
  background: transparent;
  border: 2px solid #013171;
  color: #013171;
}

.job-feed-filters {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.job-feed-filters .filter-label {
  font-weight: 500;
  color: #333;
}

.job-feed-filters .filter-links a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  margin-right: 0.5rem;
  text-decoration: none;
  color: #555;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.job-feed-filters .filter-links a:hover,
.job-feed-filters .filter-links a.active {
  background: #013171;
  color: white;
}

.job-feed-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.job-feed-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}

.job-feed-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.job-feed-card.featured {
  border-color: #013171;
  background: #f8fafc;
}

.job-feed-card-header {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.job-feed-company-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.job-feed-company-logo.default {
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1.2rem;
}

.job-feed-card-meta {
  flex: 1;
  min-width: 0;
}

.job-feed-title {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  line-height: 1.3;
}

.job-feed-title a {
  color: #013171;
  text-decoration: none;
}

.job-feed-title a:hover {
  text-decoration: underline;
}

.job-feed-company {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.job-feed-location {
  font-size: 0.85rem;
  color: #666;
}

.job-feed-location i {
  margin-right: 0.25rem;
}

.job-feed-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.job-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: #e8e8e8;
  border-radius: 4px;
  color: #444;
}

.job-salary {
  font-size: 0.85rem;
  font-weight: 500;
  color: #27ae60;
}

.job-feed-excerpt {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.job-feed-link {
  font-size: 0.9rem;
  color: #013171;
  text-decoration: none;
  font-weight: 500;
}

.job-feed-link:hover {
  text-decoration: underline;
}

.job-feed-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
}

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

.job-feed-ctas-bottom {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.job-feed-compact .job-feed-list {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.job-feed-compact .job-feed-card {
  padding: 1rem;
}

/* Job Companies Block (HelloWork style) */
.job-companies-block {
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.job-companies-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.job-companies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.job-company-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s, border-color 0.2s;
}

.job-company-item:hover {
  background: #f8fafc;
  border-color: #013171;
  color: #013171;
}

.job-company-item .company-name {
  font-weight: 500;
}

.job-company-item .job-count {
  font-size: 0.85rem;
  color: #666;
}

/* Dashboard Subscription Section */
.subscription-overview {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 500px;
}

.subscription-current h3,
.subscription-free h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.subscription-current .plan-price {
  font-size: 1.1rem;
  color: #013171;
  font-weight: 600;
  margin: 0.25rem 0;
}

.subscription-current .plan-expiry {
  font-size: 0.9rem;
  color: #666;
  margin: 0.25rem 0;
}

.subscription-free p {
  margin: 0.5rem 0;
  color: #555;
}

.subscription-free .btn {
  margin-top: 1rem;
}
