:root {
    --primary-color: #4CAF50;
    --secondary-color: #45a049;
    --background-color: #2E7D32;
    --text-color: #333;
    --border-color: #32CD32;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
  }
  
  .job-search-wrapper {
    max-width: 100%;
    padding: 1rem;
  }
  
  .search-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .search-inner {
    display: flex;
    gap: 1rem;
  }
  
  .search-col {
    flex: 1;
  }
  
  .select-wrapper {
    position: relative;
  }
  
  .select-wrapper::after {
    content: '\25BC';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
  }
  
  .select-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    appearance: none;
    font-size: 1rem;
  }
  
  .search-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .search-button:hover {
    background-color: #2980b9;
  }
  
  .job-results-section {
    display: flex;
    gap: 1rem;
    
  }
  
  .filter-sidebar {
    flex: 0 0 250px;
    position: sticky;
    top: 20px;
  }
  
  .filter-panel {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
  }
  
  .filter-panel:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .filter-title {
    font-size: 1.4rem;
    justify-self: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
  }

  
  .filter-section {
    margin-bottom: 1.5rem;
  }
  
  .filter-section h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
  }
  
  .filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .filter-option {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: color 0.2s ease;
  }
  
  .filter-option:hover {
    color: var(--primary-color);
  }
  
  .filter-option input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .filter-option input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  
  .filter-option .checkmark {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    background-color: #fff;
    border: 2px solid var(--border-color);
    border-radius: 3px;
  }
  
  .filter-option input[type="checkbox"]:checked + .checkmark:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  
  
  /* .filter-option input[type="checkbox"] {
    margin-right: 0.5rem;
  } */
  
  .job-list-container {
    flex: 1;
  }
  
  .job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .job-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  
  .job-item:hover {
    transform: translateY(-5px);
  }
  
  .job-image {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
  }
  
  .company-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  .job-content {
    padding: 1rem;
    flex-grow: 1;
  }
  
  .job-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
  }
  
  .job-company {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
  }
  
  .job-type {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 0.5rem;
  }
  
  .job-type.full-time { background-color: #27ae60; color: white; }
  .job-type.part-time { background-color: #f39c12; color: white; }
  .job-type.freelance { background-color: #3498db; color: white; }
  
  .job-category {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
  }
  
  .job-details {
    list-style-type: none;
    margin-top: 0.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .job-details li {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }
  
  .job-details span {
    font-weight: bold;
    margin-right: 0.25rem;
  }
  
  .job-action {
    padding: 0.5rem;
    background-color: #f8f8f8;
    text-align: center;
  }
  
  .view-job-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
  }
  
  .view-job-btn:hover {
    background-color: #3C552D;
    color: #fff;
  }
  
  .pagination-container {
    margin-top: 1rem;
    text-align: center;
  }
  
  .pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #fff;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  
  .pagination a:hover,
  .pagination a.active {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid black;
  }
  
  .no-jobs-message {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-top: 2rem;
  }
  
  @media (max-width: 1200px) {
    .job-grid {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
  }
  
  @media (max-width: 992px) {
    .job-results-section {
      flex-direction: column;
    }
  
    .filter-sidebar {
      flex: none;
      margin-bottom: 1rem;
    }
  
    .job-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .job-search-wrapper {
      padding: 0.5rem;
    }
  
    .search-inner {
      flex-direction: column;
    }
  
    .search-col {
      margin-bottom: 0.5rem;
    }
  
    .job-results-section {
      flex-direction: column;
    }
  
    .filter-sidebar {
      width: 100%;
      margin-bottom: 1rem;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
  
    .filter-panel {
      padding: 1rem;
    }
  
    .filter-title {
      font-size: 1.2rem;
      margin-bottom: 1rem;
      color: var(--secondary-color);
      text-align: center;
    }
  
    .filter-sections {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }
  
    .filter-section {
      flex: 1 1 calc(50% - 0.5rem);
      min-width: 150px;
    }
  
    .filter-section h4 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
      color: var(--secondary-color);
    }
  
    .filter-options {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
  
    .filter-option {
      font-size: 0.7rem;
      color: var(--text-color);
    }
  
    .filter-option input[type="checkbox"] {
      margin-right: 0.5rem;
      appearance: none;
      width: 18px;
      height: 18px;
      border: 2px solid var(--primary-color);
      border-radius: 3px;
      outline: none;
      cursor: pointer;
    }
  
    .filter-option input[type="checkbox"]:checked {
      background-color: var(--primary-color);
      position: relative;
    }
  
    .filter-option input[type="checkbox"]:checked::after {
      content: '\2714';
      font-size: 14px;
      color: white;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  
    .job-list-container {
      width: 100%;
    }
  
    .job-grid {
      grid-template-columns: 1fr;
    }
  }
  /* Job Search Wrapper */
.job-search-wrapper {
  max-width: 100%;
  padding: 1rem;
  position: relative; /* Make this relative for absolute positioning */
}

/* Mobile Arrow */
.mobile-arrow {
  display: none; /* Hidden by default */
  cursor: pointer;
  font-size: 24px; /* Size of the arrow */
  color: #050505; /* Primary color for the arrow */
  position: absolute; /* Fixed position */
  top: 85px; /* Spacing from the top */
  right: 20px; /* Spacing from the right */
  transition: color 0.3s; /* Smooth color transition */
}

/* Hover effect for the arrow */
.mobile-arrow:hover {
  color: #399918; /* Darker blue on hover */
}

/* Mobile Icons */
.mobile-icons {
  display: none; /* Hidden by default */
  position: absolute; /* Positioning for sliding effect */
  left: -200px; /* Start off-screen */
  top: 60px; /* Space below the arrow */
  background-color: white; /* Background for icons */
  border: 1px solid #ddd; /* Border for better visibility */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: left 0.5s ease; /* Smooth slide transition */
  padding: 10px; /* Padding around icons */
  justify-content: center;
  text-align: center; /* Center-align all child elements */
  z-index: 5000; /* Higher z-index to ensure it appears above everything */
}

/* Mobile Icon */
.mobile-icon {
  cursor: pointer;
  font-size: 20px; /* Icon size */
  margin-bottom: 10px; /* Spacing between icons */
  color: #333; /* Text color */
  display: flex; /* Use flexbox for centering */
  flex-direction: column; /* Stack icons and labels vertically */
  justify-content: center;
  align-items: center; /* Center children horizontally */
}

/* Icon Label */
.icon-label {
  font-size: 12px; /* Adjust label size */
  margin-top: 5px; /* Space above labels */
  color: #666; /* Lighter color for labels */
}

/* Animation states */
.slide-in {
  display: flex; /* Show icons */
  left: 0; /* Slide in to visible position */
}

.slide-out {
  left: -200px; /* Slide out of view */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) { /* Adjust the breakpoint as necessary */
  .mobile-icons {
      display: flex; /* Show icons on mobile */
      flex-direction: column; /* Stack icons vertically */
      align-items: center; /* Center children horizontally */
  }

  .search-container {
      display: none; /* Hide search options on mobile */
  }

  .filter-section {
      display: none; /* Hide all filter sections on mobile */
  }

  .mobile-arrow {
      display: block; /* Show the arrow in mobile view */
  }

  /* Adjustments for Filter Options on Mobile */
  .filter-sections {
      flex-direction: column; /* Stack filter sections vertically */
  }

  .filter-section {
      margin-bottom: 1rem; /* Space between filter sections */
  }

  .filter-options {
      flex-direction: row; /* Stack checkbox options vertically */
      gap: 0.7rem; /* Space between options */
      flex-wrap: wrap;
  }

  .filter-option {
      font-size: 0.8rem; /* Slightly larger font for readability */
  }

  .filter-option input[type="checkbox"] {
      width: 16px; /* Adjust checkbox size */
      height: 16px; /* Adjust checkbox size */
  }

  .filter-option input[type="checkbox"]:checked::after {
      font-size: 12px; /* Smaller checkmark for better fit */
  }
}

/* Responsive adjustments for desktop view */
@media (min-width: 769px) {
  .mobile-icons {
      display: none; /* Hide mobile icons in desktop view */
  }

  .filter-section {
      display: block; /* Show filter sections in desktop view */
  }

  .search-container {
      display: block; /* Show search options in desktop view */
  }
}
