/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Landscape Section */
.landscape-section {
  background-color: #f9f9f9;
  display: flex;
  justify-content: space-between;
}

/* Section Title */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  padding: 20px 0;
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
}

/* Sorting Column */
.sorting-column {
  flex: 1;
  max-width: 300px;
  padding: 25px;
  background: #ffffff;
  border-radius: 10px;
  border-right: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sorting-column .search-bar-wrapper {
  margin-bottom: 25px;
}

/* Search Bar Wrapper */
.search-bar-wrapper {
  margin: 0;
  text-align: left;
}

.search-bar-wrapper form {
  display: flex;
  align-items: center;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Search Bar */
.search-bar {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #556B2F;
  border-radius: 5px 0 0 5px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar:focus {
  border-color: #556B2F;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

/* Search Button */
.search-button {
  padding: 17.9px 20px;
  border: none;
  background-color: #399918;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: #556B2F;
}

.search-button i {
  margin-right: 8px;
}

/* Employer List Column */
.employer-list-column {
  flex: 3;
  padding: 20px;
}

/* Employer Grid Wrapper */
.employer-grid-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 10px 0 10px;
}

/* Employer Grid */
.employer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  width: 100%;
  max-width: 1200px;
}

/* Employer Card */
.employer-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.employer-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/* Employer Card Link */
.employer-card-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* Employer Card Content */
.employer-card-content {
  display: flex;
  align-items: center;
}

/* Employer Logo */
.employer-logo {
  flex-shrink: 0;
  margin-right: 20px;
}

.company-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Employer Info */
.employer-info {
  flex-grow: 1;
}

.employer-name {
  /*font-size: 22px;*/
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.employer-status {
  color: #27ae60;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.employer-title {
  font-size: 15px;
  color: #7f8c8d;
}

/* Employer Footer */
.employer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0e0e0;
  padding-top: 15px;
  margin-top: 20px;
}

.view-employer {
  font-size: 15px;
  color: #45a049;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.view-employer:hover {
  color: #399918;
}

.active-jobs-count {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
}

.active-jobs-text {
  font-size: 14px;
  color: #7f8c8d;
}

/* Pagination Wrapper */
.pagination-wrapper {
  margin-top: 50px;
  text-align: center;
}

.pagination-list {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 10px;
}

.paging-nav {
  display: inline-block;
  font-size: 15px;
  color: #333;
}

.paging-nav a,
.paging-nav span {
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.paging-nav a.active {
  background-color: #45a049;
  color: #fff;
  border-color: #45a049;
}

.paging-nav a:hover {
  background-color: #45a049;
  color: #fff;
  border-color: #45a049;
}

.paging-nav.disabled span {
  color: #bdc3c7;
  border-color: #e0e0e0;
  cursor: not-allowed;
}

/* Sort Container */
.sort-container {
  margin: 20px 0;
}

/* Radio Buttons and Labels */
.radio-container {
  display: block;
  margin-bottom: 12px;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 15px;
  color: #2c3e50;
}

.radio-container input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #f1f1f1;
  border: 2px solid #bdc3c7;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.radio-container input:checked ~ .checkmark {
  background-color: #45a049;
  border-color: #45a049;
}

.radio-container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.radio-container input:checked ~ .checkmark:after {
  display: block;
}

.radio-container .checkmark:after {
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Checkbox Container */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 15px;
  color: #2c3e50;
}

.checkbox-container input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #f1f1f1;
  border: 2px solid #bdc3c7;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkbox-container:hover input[type="checkbox"] ~ .checkmark {
  background-color: #e0e0e0;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
  background-color: #45a049;
  border-color: #45a049;
}

.checkbox-container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark:after {
  display: block;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Sort Filter Container */
.sort-filter-container {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sort-filter-container h4 {
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 600;
  font-size: 18px;
}

.sort-filter-container select[name="title_filter"] {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232c3e50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  color: #2c3e50;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sort-filter-container select[name="title_filter"]:focus {
  border-color: #45a049;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
  outline: none;
}

.sort-filter-container select[name="title_filter"] option {
  color: #2c3e50;
}

/* Responsive Design Adjustments */
@media (max-width: 1024px) {
  .employer-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .landscape-section {
    flex-direction: column;
    align-items: center;
  }

  .sorting-column {
    max-width: 100%;
    width: 100%;
    border-right: none;
    background-color:#f8f9fa;
    margin-bottom: 20px;
    text-align: center;
  }

  .employer-list-column {
    width: 100%;
    margin-top: -30px;
    padding: 20px;
  }

  .search-bar-wrapper form {
    flex-direction: column;
    align-items: center;
  }

  .search-bar {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
  }

  .search-button {
    width: 100%;
    border-radius: 5px;
  }

  .sort-filter-container {
    max-width: 100%;
    text-align: center;
  }

  .employer-card {
    text-align: center;
  }

  .employer-card-content {
    flex-direction: column;
    align-items: center;
  }

  .employer-logo {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .employer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .employer-footer {
    flex-direction: column;
    align-items: center;
  }

  .view-employer {
    margin-bottom: 10px;
  }

  .radio-container,
  .checkbox-container {
    text-align: left;
    display: inline-block;
  }

  .sort-filter-container select[name="title_filter"] {
    text-align: center;
    text-align-last: center;
  }

  .pagination-wrapper {
    display: flex;
    justify-content: center;
  }

  .pagination-list {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }

  .employer-name {
    font-size: 18px;
  }

  .employer-status,
  .employer-title {
    font-size: 14px;
  }

  .active-jobs-count {
    font-size: 18px;
  }

  .active-jobs-text {
    font-size: 12px;
  }

  .pagination-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .paging-nav a,
  .paging-nav span {
    padding: 8px 12px;
    font-size: 14px;
  }

  .employer-card-content,
  .employer-info,
  .employer-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .company-logo {
    margin-bottom: 15px;
  }

  .employer-name,
  .employer-status,
  .employer-title,
  .active-jobs-count,
  .active-jobs-text {
    text-align: center;
  }

  /* Additional styles to ensure centering */
  .employer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .employer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .employer-info {
    width: 100%;
    text-align: center;
  }
}
/* Landscape Section */
.landscape-section {
  display: flex; /* Use flexbox for layout */
  position: relative; /* Positioning context for absolute elements */
}

/* Sorting Column Styles */
.sorting-column {
  flex: 1; /* Allow it to take available space */
}

/* Arrow for Mobile View */
.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: #0056b3; /* Darker blue on hover */
}

.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: 1000; /* High z-index to appear above other elements */
}

.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 {
  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-bar-wrapper,
  .sort-filter-container {
    display: none; /* Hide options on mobile */
  }

  .mobile-arrow {
    display: block; /* Show the arrow in mobile view */
  }
}

/* Responsive adjustments for desktop view */
@media (min-width: 769px) {
  .mobile-icons {
    display: none; /* Hide mobile icons in desktop view */
  }

  .search-bar-wrapper,
  .sort-filter-container {
    display: block; /* Show options in desktop view */
  }
}
.autofit2 {
height:100px;
width:100px;
object-fit:cover; 
}
.landscape-section {
display: flex; /* Use flexbox for layout */
position: relative; /* Positioning context for absolute elements */
}

/* Sorting Column Styles */
.sorting-column {
flex: 1; /* Allow it to take available space */
}

/* Arrow for Mobile View */
.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: #0056b3; /* Darker blue on hover */
}

.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: 1000; /* High z-index to appear above other elements */
}

.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 {
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-bar-wrapper,
.sort-filter-container {
display: none; /* Hide options on mobile */
}

.mobile-arrow {
display: block; /* Show the arrow in mobile view */
}
}

/* Responsive adjustments for desktop view */
@media (min-width: 769px) {
.mobile-icons {
display: none; /* Hide mobile icons in desktop view */
}

.search-bar-wrapper,
.sort-filter-container {
display: block; /* Show options in desktop view */
}
}
