* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.response_divs{
    float: left;
    width: 100%;
    padding: 3px;
}

/* General header styling */
/* Base styles for the header */
.rnx-header {
  background: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.rnx-header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.rnx-logo img {
  max-height: 50px;
}

/* Desktop navigation styles */
.rnx-nav {
  display: flex;
  gap: 15px;
}

.rnx-nav a {
  text-decoration: none;
  color: #333;
}

/* Hide the toggle button on desktop */
.menu-toggle {
  display: none;
}


.filter_salary{
    width: 50%;
    height: 30px;
    border-radius: 3px;
}



.avg-salaries-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  max-width: 100%;
}

.avg-salaries-box table {
  width: 100%;
  border-collapse: collapse;
  min-width: 300px;
}

.avg-salaries-box th,
.avg-salaries-box td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.avg-salaries-box th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.avg-salaries-box tr:hover {
  background-color: #f9f9f9;
}

.avg-salaries-box td {
  font-size: 0.95rem;
  color: #444;
}

/* Input fields styling */
.filter_salary {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1 1 250px;
    min-width: 200px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#filter_salary:focus {
    border-color: #007BFF;
    outline: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Show the toggle button */
  .menu-toggle {
      display: block;
      background: #328f6d;
      color: #fff;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
      font-size: 16px;
      border-radius: 3px;
  }
  
  /* Hide navigation by default on mobile */
  .rnx-nav {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      z-index: 1000;
  }
  
  /* Show navigation when active */
  .rnx-nav.active {
      display: flex;
  }
  
  /* Mobile navigation link styling */
  .rnx-nav a {
      padding: 10px 15px;
      border-bottom: 1px solid #eee;
      color: #333;
  }
  
  .rnx-nav a:hover {
      background: #f2f2f2;
  }
}



/* Content wrapper grows to fill space */
.main-wrapper {
  flex: 1;
}

/* Footer Styling */
.footer {
  background-color: #328F6D;
  color: white;
  text-align: center;
  padding: 20px 10px;
  bottom: 0;
}

.footer-content p {
  margin: 0;
  padding: 5px;
  font-size: 14px;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 8px;
  font-size: 13px;
}

.footer-links a:hover {
  text-decoration: underline;
}


.address_content{
    float: left;
    width: 100%;
}

.address_box{
    float: left;
    width: 100%;
    border-radius: 3px;
    border: solid 1px #ddd;
    padding: 10px;
    background-color: #f0f0f0;
    margin-top: 5px;
    transition: 0.3s;
}

.add_address_btn{
    text-decoration: none;
    background-color: #328f6d;
    padding: 10px;
    color: white;
    cursor: pointer;
    border-radius: 3px;
    transition: 0.3s;
}


.add_address_btn:hover{
    background-color: #287322;
}

.php_success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px 20px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 16px;
}

.php_error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 20px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 16px;
}



.remove_address_btn{
    text-decoration: none;
    background-color: #e8415a;
    padding: 10px;
    color: white;
    cursor: pointer;
    border-radius: 3px;
}


.remove_address_btn:hover{
    background-color: #bf5666;
}

.submit_application_button{
    text-decoration: none;
    background-color: #328f6d;
    padding: 10px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 3px;
}

.submit_application_button:hover{
    background-color: #26b57e;
}


.apply_div_footer{
    padding: 10px;
    width: 100%;
    float: left;
    border-top: solid 1px #ddd;
}

.add_more_div{
    padding: 10px;
    float: left;
    width:100%;
    margin-top: 5px;
}

.add_address_btn:hover{
    background-color: #379975;
}

.spacer{
    padding: 30px;
    width: 100%;
    float: left;
}

.form-input{
    width: 50%;
    float: left;
    padding: 10px !important;
}

.form-input label{
    font-size: 18px;
}


.accordionContent{
    padding:10px;
}

/* Style the accordion headers */
#jobAccordion .ui-accordion-header {
  background-color: #007BFF;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  border: none;
  margin-top: 5px;
  cursor: pointer;
}

/* Header when active */
#jobAccordion .ui-accordion-header.ui-accordion-header-active {
  background-color: #0056b3;
}

/* Style the accordion content */
#jobAccordion .ui-accordion-content {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 15px;
  font-size: 14px;
  color: #333;
}


.textarea{
    width: 100%;
    float: left;
    border-radius: 3px;
    padding: 5px;
    border: solid 1px #ddd;
    outline: #ddd;
}

.form-control {
    width: 95%;
    height: 35px;
    font-size: 20px;
    border-radius: 3px;
    border: solid 1px #ddd;
    outline: none; /* Removes default outline */
    padding: 5px 10px;
}

/* Custom focus effect */
.form-control:focus {
    border: solid 2px #ddd;
    outline: none; /* Ensures no default outline */
}


.apply_div {
    max-height: 100vh;
    overflow-y: auto;
    width: 0px; /* Set desired width */
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 9858995;
    right: 0; /* Start hidden off the screen */
    background-color: white;
    transition:  0.3s ease; /* Smooth transition */
    padding:0px;
}

.apply_div_container {
    width: 75%;
    margin: 50px auto 0 auto; /* Top margin, horizontally centered */
    padding: 20px;
    position: relative;
    border-radius: 5px;
    border: solid 1px #ddd;
    display: block; /* Ensures block-level element */
    background: #fff; /* Optional: Background color */
    overflow: hidden; /* Keeps content contained if needed */
}

  



.apply_header{
    padding: 10px;
    text-align: left;
    float: left;
    width: 100%;
    font-size: 25px;
    border-bottom: solid 1px #ddd;

}


.apply_header i{
    cursor: pointer;
}

.apply_div.active {
    right: 0; /* Slide in to visible */
}


.page-btn {
    padding: 8px 12px;
    margin: 5px;
    border: none;
    cursor: pointer;
    background-color: #FF7F32;
    color: white;
    border-radius: 5px;
}

.page-btn:hover {
    background-color: #e66a24;
}

.page-btn.active {
    font-weight: bold;
    background-color: #333;
}



.job-autocomplete-dropdown {
    position: absolute;
    background: white;
    display: none;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    width: calc(100% - 2px); /* Match input width */
    list-style: none;
    padding: 0;
    margin-top: 2px; /* Small spacing below input */
    z-index: 1000;
    border-radius: 4px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.job-autocomplete-dropdown li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.job-autocomplete-dropdown li:last-child {
    border-bottom: none;
}

.job-autocomplete-dropdown li:hover {
    background: #379975;
}

.roanex_logo img{
    width: 100px;
}

.roanex_logo{
    float:left;
    height: 50px;
}
        body {
            background-color: #f8f9fa;
            color: #333;
        }

   

        .search-container {
            max-width: 800px;
            margin: 40px auto;
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .search-container input, .search-container button {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            width: 100%;
        }

        .search-container input {
            flex: 1;
        }

        .search-container button {
            background: #328f6d;
            color: white;
            border: none;
            cursor: pointer;
            transition: 0.3s;
        }

        .search-container button:hover {
            background: #379975;
        }

        /* Search Container Styles */
.search-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

#jobSearchForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* Input fields styling */
#jobSearchForm input[type="text"] {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1 1 250px;
    min-width: 200px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#jobSearchForm input[type="text"]:focus {
    border-color: #007BFF;
    outline: none;
}

/* Button styling */
#jobSearchForm button {
    padding: 12px 20px;
    border: none;
    background-color: #379975;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#jobSearchForm button:hover {
    background-color: #43ba8c;
}



/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    #jobSearchForm input[type="text"],
    #jobSearchForm button {
        font-size: 14px;
        padding: 10px 12px;
    }
}


/* General filter section styling */
.filter-section {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Headings inside filter sections */
.filter-section h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #333;
}

/* Checkbox and label styling */
.filter-section label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
}

/* Dropdown styling */
.filter-section select {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}

/* Range slider styling */
.filter-section input[type="range"] {
  width: 100%;
  margin: 5px 0;
}

/* Displayed salary values styling */
.filter-section span {
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin-top: 5px;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .filter-section {
    padding: 10px;
  }
  
  .filter-section h4 {
    font-size: 14px;
  }
  
  .filter-section label,
  .filter-section select,
  .filter-section span {
    font-size: 13px;
  }
}



.three-columns {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* Center column is wider */
  gap: 20px;
  padding: 20px;
}

.col-left, .jobSearchForm,
.col-right {
  position: sticky;
  top: 0;
  align-self: start; /* Ensures sticky works as intended within the grid */
}

.jobSearchForm{
    padding: 10px;
    backround-color: #FFFFFF !important;
    border-radius: 5px;
        box-shadow: 2px 0 5px rgba(0,0,0,0.3);

}
/* Basic column styling */
.col {
  padding: 15px;
  border-radius: 5px;
  text-align: left;
}

/* Emphasize the center column */
.col-center {
    background-color: #F8F9FA; 
    border:none
}

/* Responsive: Stack columns vertically on small screens */
@media (max-width: 768px) {
  .three-columns {
    grid-template-columns: 1fr;
    padding: 2px;
  }


  .jobSearchForm{
    padding: 10px;
    backround-color: #FFFFFF !important;
    border-radius: 5px;
    position: relative !important;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);

}

  .jobSearchForm input, .jobSearchForm button{
    width: 100%;
    float: left;
}


.col-center {
    background-color: #F8F9FA; 
    border:none;
    padding: 2px !important;
}


.job-listings {
padding: 2px;
}

.job-card {
padding: 2px;
}


}

#closeFiltersBtn{
    display: none;
}

/* Hide the toggle button on larger screens */
.toggle-btn {
  display: none;
}

/* Base styles for the left column on desktop (visible normally) */
#left_columns {
  /* Your normal desktop styling */
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Display the toggle button on mobile */
  .toggle-btn {
    display: block;
    margin: 10px;
    padding: 10px 15px;
    background-color: #328f6d;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
  }


    #closeFiltersBtn{
    display: block;
}
  
  /* Position the filters panel off-screen by default */
  #left_columns {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;             /* Adjust as needed */
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  
  /* When active, slide the filters panel into view */
  #left_columns.active {
    transform: translateX(0);
  }
  
  /* Style the close button inside the filters panel */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }
}



        .job-listings {
            max-width: 100%;
            margin: 20px auto;
            display: grid;
            gap: 15px;
            padding: 0;
           
        }

        .job-card {
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
            border-left: 5px solid #328f6d;
            display: flex;
            flex-direction: column;
        }

        .job-card h3 {
            font-size: 1.2rem;
            margin-bottom: 5px;
        }

        .job-card p {
            font-size: 14px;
            color: #666;
            padding: 5px;
        }

        .job-card .salary {
            font-size: 16px;
            color: #26b57e;
            font-weight: bold;
            margin-top: 5px;
        }

        .apply-btn {
            margin-top: 10px;
            background: #328f6d;
            color: white;
            padding: 8px 12px;
            text-align: center;
            border-radius: 5px;
            cursor: pointer;
            text-decoration: none;
            width: max-content;
        }

        .apply-btn:hover {
            background: #379975;
        }



        .loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FF7F32;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@media (max-width: 700px) {
    .form-input{
width: 100%;
float: left;
padding: 10px !important;
}


.apply_div_container {
    width: 100%;
    padding: 10px;
    z-index: 9858995;
}


    .search-container {
        flex-direction: row;
    }
    .search-container input {
        width: 100% !important;
    }
    .search-container button {
        width: 100% !important;
    }


     header p {
    font-size: 15px !important;

}
}