.main-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 0 1rem;
}

.main-content {
  width: 80%;
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar {
  width: 20%;
  background-color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: fit-content;

  
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column-reverse;
  }

  .main-content, .sidebar {
    width: 100%;
  }
}
#jobSearch:focus ~ .pagination,
#liveSearch:focus ~ .pagination {
  display: none;
}

/* Apply button */
.apply-btn {
  display: inline-block;
  width: 60px;
  padding: 6px 0;
  background-color: #2563eb; /* Tailwind's blue-600 */
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap; /* Prevents wrapping */
  transition: background-color 0.2s ease;
}

.apply-btn:hover {
  background-color: #1d4ed8; /* Tailwind's blue-700 */
}

/* Job title link */
.job-title-link {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.job-title-link:hover {
  color: #4338ca;
}

/* View button */
/* Left Sidebar Toggle Button */
.hamburger-left {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  font-size: 1.5rem;
  background-color: #4f46e5;
  color: white;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

/* Slide-in Sidebar from Left */
.left-sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100vh;
  background-color: white;
  padding: 1rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
  transition: left 0.3s ease-in-out;
  z-index: 99;

}

.left-sidebar.active {
  left: 0;
}

/* Sidebar Inner Styles */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: left;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 35px;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #4f46e5;
  cursor: pointer;
  margin-top: -80px;
}

.sidebar-menu li   {
  margin-bottom: 1rem;
  
}

.sidebar-menu a {
  display: block;
margin-bottom: 1rem;
  padding: 0.5rem;
  
  color: #333;
  border-radius: 0.25rem;
  transition: background 0.2s;
  text-decoration: none;
}

.sidebar-menu a:hover {
  background-color: #e0e7ff;
}
.job-filter-heading {
  margin-bottom: 1rem;
  font-size: 25px;
  font-weight: bold;
  color: #4f46e5; /* Indigo tone */
  text-align: right !important;
  margin-top: 85px;
}
.job-filter-heading {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: #4f46e5;
  text-align: right;
}
.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px; /* ✅ Add this line */
  font-weight: 500;
  color: #1f2937; /* Tailwind's gray-800 */
  text-decoration: none;
  transition: color 0.2s ease;
  
}


.sidebar-menu li a:hover {
  color: #4f46e5; /* Optional hover color */
}

.sidebar-menu li a i {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
  stroke: currentColor;
}
.sidebar-menu li {
  margin: 12px 0; /* Adds top and bottom margin to each li */
}
/* Common status badge style */
.status-badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
}

/* Specific status colors */
.status-badge {
  font-size: 16px;
  font-weight: bold;
  padding: 2px 6px;
  display: inline-block;
}

/* ✅ Valid Status - Deep Green */
.status-valid {
  color: #009738; /* Tailwind green-700 */
}

/* ⏰ Expiring Soon - Strong Orange */
.status-soon {
  color: #c4a001; /* Tailwind orange-700 */
}

/* ❌ Expired - Strong Red */
.status-expired {
  color: #c40000; /* Tailwind red-700 */
}

/* ❓ Unknown - Neutral Gray */
.status-unknown {
  color: #374151; /* Tailwind gray-700 */
  font-style: italic;
}
.upcoming-deadlines-box {
  border: 1px solid #e5e7eb; /* Light gray border */
  padding: 12px;
  border-radius: 6px;
  margin-top: 20px;
}

.upcoming-heading {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.upcoming-list {
  list-style-type: disc;
  padding-left: 18px;
  margin: 0;
}

.upcoming-item {
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
}

.upcoming-link {
  color: #1d4ed8; /* blue-700 */
  text-decoration: none;
}

.upcoming-link:hover {
  text-decoration: underline;
  color: #2563eb; /* blue-600 */
}
.ad-container {
  border: 1px solid #e5e7eb;
  padding: 10px;
  margin-top: 20px;
  border-radius: 6px;
  text-align: center;
}

.ad-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 4px;
}
.admit-card-box {
  border: 1px solid #e5e7eb; /* light gray border */
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 14px;
}

.section-title {
  font-weight: 600;
  font-size: 16px;
  color: #374151; /* Tailwind gray-700 */
  margin-bottom: 0.75rem;
}

.admit-card-list {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.admit-card-list li {
  margin-bottom: 0.5rem;
}

.admit-card-list a {
  color: #1d4ed8; /* Tailwind blue-700 */
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.admit-card-list a:hover {
  color: #4338ca; /* Tailwind indigo-700 */
  text-decoration: underline;
}
 @media (max-width: 767px) {
    .custom-mobile-row {
      flex-direction: row !important;
      flex-wrap: nowrap;
      align-items: center !important;
      justify-content: space-between !important;
    }

    .custom-mobile-search {
      margin-left: 15px;
      flex: 0 0 200px !important;
      max-width: 170px !important;
      margin-left: -10px;
      height: 30px !important;
      margin-bottom: 15px !important;
      
    }

    .custom-mobile-filter {
      padding: 0px !important;
      margin-left: -10px;
      flex: 0 0 130px !important;
      max-width: 130px !important;
    }
    .custom-mobile-font {
      font-size: 11px !important;
    }
    
  }@media (max-width: 767px) {
  .mobile-heading {
    margin-top: -20px;
    font-size: 14px !important;
  }
}
@media (max-width: 767px) {
  /* Show only Post (1st) and Save Job (3rd) columns */

  .responsive-jobs-table th:nth-child(4),
  .responsive-jobs-table td:nth-child(4),
    .responsive-jobs-table th:nth-child(2),
  .responsive-jobs-table td:nth-child(2),
  .responsive-jobs-table th:nth-child(5),
  .responsive-jobs-table td:nth-child(5) {
    display: none !important;
  }

  /* Set Post column to 80% */
  .responsive-jobs-table th:nth-child(1),
  .responsive-jobs-table td:nth-child(1) {
    width: 320px !important;
  }

  /* Set Save Job column to 20% */
  .responsive-jobs-table th:nth-child(3),
  .responsive-jobs-table td:nth-child(3) {
    width: 25px !important;
    
    text-align: left;
  }
}
@media (max-width: 767px) {
  .responsive-jobs-table,
  .responsive-jobs-table th,
  .responsive-jobs-table td,
  .responsive-jobs-table td a,
  .responsive-jobs-table .apply-btn,
  .responsive-jobs-table .status-badge {
    font-size: 11px !important;
  }
}
@media (max-width: 767px) {
  /* Force font size 11px for Save Job column (3rd column originally) */
  .responsive-jobs-table td:nth-child(3),
  .responsive-jobs-table th:nth-child(3) {
    font-size: 13px !important;
  }

  /* Also adjust button/icon inside Save Job */
  .responsive-jobs-table td:nth-child(3) button,
  .responsive-jobs-table td:nth-child(3) i {
    font-size: 11px !important;
   
    height: 10px !important;
  }
}
@media (max-width: 767px) {
  /* Prevent wrapping of the "Save Job" heading */
  .responsive-jobs-table th:nth-child(3) {
    white-space: nowrap !important;
  }
}
@media (max-width: 767px) {
  /* Make the hamburger icon smaller on mobile */
  .hamburger-left {
    font-size: 12px !important;
    padding: 4px 8px !important;
    background-color: blue;
    border: blue;
    color: white;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    margin-top: 30px;
    margin-left: 3px;
  }

  /* Optional: make the close button smaller too */
  .close-btn {
    font-size: 18px !important;
    padding: 4px 8px !important;
  }

  /* Sidebar adjustments for mobile */
  #left-sidebar {
    width: 75%;
    max-width: 260px;
    position: fixed;
    left: -100%;
    top: 0;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 9998;
    overflow-y: auto;
  }

  #left-sidebar.active {
    left: 0;
  }
}
@media (max-width: 767px) {
  .left-sidebar {
    max-width: 200px !important;
    width: 200px !important;
    font-size: 11px !important;
    position: fixed;
    top: 0;
    left: -220px; /* hidden by default */
    height: 100vh;
    background-color: #ffffff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 9999;
    transition: left 0.3s ease;
  }

  .left-sidebar.active {
    left: 0 !important;
  }

  /* Reduce font size for inner elements as well */
  .left-sidebar li,
  .left-sidebar a,
  .left-sidebar span,
  .left-sidebar i {
    font-size: 11px !important;
  }

  /* Optional: reduce icon size inside sidebar */
  .left-sidebar i {
    width: 12px !important;
    height: 12px !important;
  }
}
@media (max-width: 767px) {
  .job-filter-heading {
    justify-content: center !important;
    text-align: center;
    margin-top: 1rem;
    margin-left: 30px;
     margin-top: 25px;
    margin-bottom: 0.8rem;
    font-size: 13px; /* optional: adjust as needed */
  }
}
.about-website {
  font-size: 15px;
}
.about-website h2 {
  font-size: 18px;
}
.about-website p,
.about-website li {
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .about-website {
    padding: 1rem;
    font-size: 14px;
  }
  .about-website h2 {
    font-size: 16px;
  }
  .about-website p,
  .about-website li {
    font-size: 13px;
    line-height: 1.6;
  }
  .about-website ol {
    padding-left: 1.25rem;
  }
}
#left-sidebar {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 250px;
  background: #fff;
  z-index: 40;
}

#left-sidebar.active {
  transform: translateX(0);
}
/* Sidebar container */
.left-sidebar {
  width: 250px;
  background-color: #fff;
  height: 100vh;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  position: fixed;
  left: 0;
  top: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

/* Show when active */
.left-sidebar.active {
  transform: translateX(0);
}

/* Sidebar header */
.sidebar-header {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px !important;
}

/* Tools label */
.sidebar-tools-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 19px !important;
  color: rgb(0, 0, 0);
}

/* Close button */
.sidebar-close-btn {
  margin-left: 10px;
  background-color: #f3f4f6;
  border: none;
  padding: 4px 8px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sidebar-close-btn:hover {
  background-color: #e5e7eb;
}
/* sidebar.css */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #1e1e1e !important; /* Orange */
  font-weight: 600 !important;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;

}

.sidebar-link:hover {
  background-color: #fff7ed;
  color: #ea580c;
}

.sidebar-link i {
  color: #f97316;
}
/* buttons.css */
.saved-jobs-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #229d45; /* Blue-600 */
  color: rgb(255, 255, 255);
  padding: 10px 16px;
  font-size: 17px;
 
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.saved-jobs-btn:hover {
  background-color: #13652a; /* Blue-700 */
  color: white;
}
/* ✅ Check Eligibility Button Styling */
.check-eligibility-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: #c06000 !important; /* Tailwind green-600 */
  color: white;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.check-eligibility-btn:hover {
  background-color: #15803d; /* Tailwind green-700 */
}

.check-eligibility-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.search-input {
  width: 100%;
  padding: 10px 16px;
  font-size: 16px;

  border: 2px solid #575757;
  border-radius: 5px !important; /* ✅ Force 2px border-radius */
  
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: #3b82f6; /* blue-400 */
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}
.custom-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  
  border: 1px solid #484848;
  border-radius: 2px !important; /* 👈 Force only 2px radius */
  background-color: white;

  outline: none;
  transition: border-color 0.3s ease;
}

.custom-select:focus {
  border-color: #3b82f6; /* Tailwind's blue-400 */
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}
.sidebar-toggle-btn {
  padding: 8px 12px;
  font-size: 20px;
  border: 1px solid #1d1d1d;
  background-color: #373737;
  border-radius: 6px;
  cursor: pointer;
  color: white;
  transition: background-color 0.3s ease;
}

.sidebar-toggle-btn:hover {
  background-color: #2a2a2a;
  color: rgb(255, 255, 255);
}

.custom-search-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 18px !important;
  outline: none;
  transition: border-color 0.3s ease;
}

.custom-search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}
/* Default size (for desktop/tablet) */
#left-sidebar-toggle {
  font-size: 1.5rem; /* or your default size */
  padding: 8px 12px;
  border-radius: 6px;
  background: rgb(36, 36, 36);
  border: 1px solid #ccc;
  cursor: pointer;
}

/* 🔽 Smaller size only for mobile (up to 480px wide) */
@media (max-width: 480px) {
  #left-sidebar-toggle {
    font-size: 1.1rem;
    padding: 4px 8px;
  }
}
@media (max-width: 768px) {
  .main-container {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
}
@media (max-width: 768px) {
  .main-content {
    margin: 0 !important;
    padding: 10px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}
.search-input,
.custom-mobile-font {
  font-size: 16px !important;
}
/* ✅ Sticky Header Bar (All Together) */
.search-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 0;
  background-color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
/* 🎯 Only for Mobile: Fix Save Job column width and font size */
@media (max-width: 767px) {
  th.save-job-column {
  
    font-size: 18px;
    white-space: nowrap; /* prevents wrapping */
  }

  td.save-job-column {
    font-size: 13px;
    text-align: center;
  }
}
.responsive-jobs-table {
  table-layout: fixed; /* Required to enforce fixed widths */
}
@media (max-width: 767px) {
  .responsive-jobs-table {
    table-layout: fixed;
  }

  th.save-job-column,
  td.save-job-column {
    width: 90px !important;
    font-size: 13px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  td.save-job-column button,
  td.save-job-column i {
    font-size: 12px;
    width: auto;
    height: auto;
  }
}
@media (max-width: 767px) {
  .post-mobile {
    width: 120px !important;
    max-width: 100px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
.responsive-jobs-table {
  table-layout: fixed !important;
  width: 100%;
}

}
@media (max-width: 768px) {
  #left-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80%;
    background-color: #ffffff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    font-size:  22px !important; /* ✅ Increase font size here */
  }

  #left-sidebar.active {
    transform: translateX(0%);
  }

  .sidebar-toggle-btn {
    display: inline-block;
  }

  .sidebar-close-btn {
    display: inline-block;
    background: none;
    border: none;
    font-size: 1.5rem;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
  }

  body.sidebar-open {
    overflow: hidden;
  }
}
@media (max-width: 768px) {
  #left-sidebar,
  #left-sidebar * {
    font-size: 15px !important;
  }
}
@media (max-width: 768px) {
  #left-sidebar .sidebar-tools-label span {
    font-size: 18px !important;
    font-weight: 600;
    
  }
}
/* Apply width to <th> only */
th.status-column {
  width: 60px !important;
}

/* Apply text alignment to <td> only */


/* Table Header Styling */
thead.bg-indigo-50 {
  background-color: #c6891e; /* Tailwind's indigo-50 */
}



/* Optional: Add border around table header and rows */
table.responsive-jobs-table th,
table.responsive-jobs-table td {
  border: 1px solid rgb(98, 98, 98) !important; /* Inner black borders */
}
/* Apply width to <th> only */
th.status-column {
  width: 45px !important;
}

/* Apply text alignment to <td> only */
td.status-column {
  text-align: left !important;
  margin-left: 10px !important;
}
.mobile-job-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
 
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.job-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #2563eb; /* Blue */
  color: white;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.job-action-btn:hover {
  background-color: #1d4ed8; /* Darker blue */
}

.job-action-btn i {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Mobile-only visibility */
.mobile-only {
  display: none;
}

@media (max-width: 767px) {
  .mobile-only {
    display: flex;
  
  }
}
@media (max-width: 768px) {
  td.text-left {
    text-align: left !important;
  }
}
.custom-thead {
  height: 45px !important;
}

