:root {
  --text-primary: #fa4949;
  --text-secondary: #00799e;
  --bs-primary: #fa4949;
  --bs-secondary: #00799e;
  --bs-btn-hover-bg: #fb6464;
}

body {
  font-family: "Red Hat Display", sans-serif;
}

/**********************/

.btn-primary {
  color: #fff !important;
}
.branded-linear-gradient {
  background: linear-gradient(
    90deg,
    rgba(255, 202, 169, 0.7) 0%,
    rgba(252, 129, 129, 0.7) 100%
  );
}
.lighter-branded-linear-gradient {
  background: linear-gradient(
    90deg,
    rgba(255, 202, 169, 0.4) 0%,
    rgba(252, 129, 129, 0.4) 100%
  );
}
.divider-line {
  border-bottom: 1.27px solid #d5d7da;
}
.btn-disabled {
  pointer-events: none;
  opacity: 0.5;
}
.btn-facebook {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin: auto;
    background-color: #1877F2;
    color: white;
    border: none;
    border-radius: 6px;
    height: 42px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}


.btn-facebook:hover {
    background-color: #166FE5;
}

.btn-facebook svg {
    flex-shrink: 0;
}
a {
  text-decoration: none;
}
ul {
  list-style-type: none;
}
.nav-link {
  opacity: 1;
}
/****** GENERAL HELPERS ********/
.chat-header {
  background-color: #fa4949 !important;
}
#chat-container iframe {
  min-height: 500px !important;
}
.py-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}
.pt-100 {
  padding-top: 100px;
}
.mt-100 {
  margin-top: 100px;
}
.mb-100 {
  margin-bottom: 100px;
}
.pt-80 {
  padding-top: 80px;
}
.pb-80 {
  padding-bottom: 80px;
}
.mb-80 {
  margin-bottom: 80px;
}
.pt-150 {
  padding-top: 150px;
}
.pb-150 {
  padding-bottom: 150px;
}
.px-40 {
  padding-left: 40px;
  padding-right: 40px;
}
.mb-150 {
  margin-bottom: 150px;
}
.mt-80 {
  margin-top: 80px;
}
.fs-16 {
  font-size: 0.88rem;
}
.fs-14 {
  font-size: 0.875rem;
}
.fs-22 {
  font-size: 1.375rem;
}
.mw-425 {
  max-width: 425px;
}
.btn-sm {
  border-radius: 40px;
}
.border-radius-20 {
  border-radius: 20px;
}
.section-margin-top {
  margin-top: 150px;
}
.section-margin {
  margin: 150px 0;
}
.custom-padding-75 {
  padding: 0 75px;
}
.mobile-custom-padding-40 {
  padding: 0 40px;
}
.light-grey {
  color: #969caa;
}
.grey-text {
  color: #7e8490;
}
.dark-blue {
  color: #201a32;
}
.bg-dark-blue {
  background: #201a32;
}
.bg-primary-light {
  background: #fef1f0;
}
.bg-primary-dark {
  background: #fc8181;
}
.bg-credit {
  background: #302945;
}
.custom-title {
  font-size: 1.625rem;
}
.box-border-placeholder {
  border: 0.76px solid #d5d7da;
}
.line-separator {
  border-bottom: 1px solid #d5d7da;
}
ul.wp-block-list {list-style-type: disc !important}
.content-width-800 {
  max-width: 800px;
  margin: auto;
}
.btn-outline-secondary:hover {
  background-color: var(--bs-secondary) !important;
}
header {
  border-bottom: 1px solid #d5d7da;
}
.home header {
  border-bottom: 1px solid #ffffff4d;
}
/* Make Quill editor text match Bootstrap form font size */
#quillEditor .ql-editor {
    font-size: 1.1rem; /* 16px (Bootstrap default) */
    line-height: 1.5;
    font-family: inherit; /* use your site font */
}

/* If needed, adjust placeholder too */
#quillEditor .ql-editor.ql-blank::before {
    font-size: 1.2rem;
    font-family: inherit;
}
.title-decoration {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.title-decoration::after {
  content: "";
  position: absolute;
  left: calc(50% - 66px);
  bottom: -5px;
  width: 112px;
  height: 4px;
  background-color: var(--bs-primary);
}
/* header changes base on page (homepage / others)
/* Default Header Style (All Pages Except Homepage) */
.header-default {
  background-color: white;
  padding: 15px 0;
  transition: background-color 0.3s ease-in-out;
}

/* Transparent Header for Homepage */
.header-transparent {
  background-color: transparent;  
  position: absolute;
  width: 100%;
  z-index: 10;
  padding: 20px 0;
}

/* Navbar Links in Transparent Header */
.header-transparent .navbar-nav .nav-link {
  color: white !important;
}

.header-transparent .btn-outline-primary {
  border-color: white;
  color: white;
}

.header-transparent .btn-outline-primary:hover {
  background-color: white;
  color: black;
}
.btn-outline-primary:hover {
  color: #fff;
}
/* Make Header Sticky on Scroll */
.header-scrolled {
  background-color: white !important;
  transition: background-color 0.3s ease-in-out;
}

.header-scrolled .navbar-nav .nav-link,
.header-scrolled .btn-outline-primary {
  color: black !important;
}
.auth-links a:hover {
  color: #fff !important;
}
.logged-in-user .dropdown-item.active,
.logged-in-user .dropdown-item:active {
  color: #fff !important;
}
.category-search-wrapper {
  max-width: 330px;
  position: absolute;
}
.filter-placeholder {
  color: #969caa;
  font-size: 1rem;
}
/* Drawer wrapper (always in DOM, but initially hidden by transform) */
.custom-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 1050;
  pointer-events: none; /* Prevent interactions when hidden */
}

/* Backdrop (full width) */
.drawer-backgdrop {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  background-color: rgba(48, 41, 69, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Drawer panel */
.drawer-inner {
  width: 80%;
  height: 100%;
  background-color: #f2f2f2;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 2rem;
}

/* OPEN STATE */
.custom-drawer.open {
  pointer-events: auto; /* enable interactions */
}

.custom-drawer.open .drawer-backgdrop {
  opacity: 1;
}

.custom-drawer.open .drawer-inner {
  transform: translateX(0);
}
/**** WOOCOMMERCE STYLES *****/
.wc-block-components-button,
.wc-block-components-totals-coupon__button,
.wp-element-button {
  @apply btn btn-primary; /* If using Tailwind */
  /* OR manually style it like Bootstrap: */
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  background-color: var(--text-primary);
  color: #fff;
  border: 1px solid transparent;
  cursor: pointer;
}

/*** END OF HEADER STYLING **/

.hp-hero-section {
  background: url("../images/homepage-hero-bg.jpg") no-repeat center center;  
  background-size: cover;
  color: white;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 15px;
  border-bottom-right-radius: 40px;
  border-bottom-left-radius: 40px;
}
.hero-section-content {
  max-width: 930px;
  margin: auto;
}
h1.hero-title {
  font-size: 60px;
  font-weight: 900;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px white;
  letter-spacing: 8%;
}
h1 span {
  font-size: 90px;
  color: #fff;
}

.nav-item a {
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 400;
}
.nav-item a.active {
  border-bottom: 3px solid var(--text-primary);
  padding-right: 5px;
  padding-left: 5px;
  padding-bottom: 5px;
}
.nav-tabs {
  border: none;
}

/*** SEARCH BAR ***/
.search-bar {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 100px;
  overflow: hidden;
  width: 100%;
  height: 80px;
  position: relative;
  font-size: 1.375rem;
}

.mobile-search-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  padding-left: 50px !important;
}
.mobile-search-wrapper .search-bar {
  height: 60px;
}
.category-search-bar {
  display: flex;
  align-items: center;
  background: white;
  overflow: hidden;
  width: 100%;
  height: 40px;
  border-bottom: 1px solid #d5d7da;
  max-width: 400px;
}
.category-search-bar input,
.mobile-search-wrapper input {
  border: none;
  box-shadow: none !important;
  outline: none;
}
.category-search-bar input:focus,
.mobile-search-wrapper input:focus {
  box-shadow: none !important;
  outline: none;
}
.mobile-search-wrapper #hp-search-by-free-text-mobile,
.mobile-search-wrapper #hp-search-by-category-city-mobile {
  height: 60px;
}
/* Search Input */
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 20px;
  font-size: 1.375rem;
  border-radius: 100px 0 0 100px;
  height: 100%;
}
.mobile-search-wrapper select {
  border: none;
  outline: none;
  padding-left: 50px;
}
.mobile-search-wrapper select:focus {
  box-shadow: none !important;
  outline: none;
}

/* Search Button */
.search-btn {
  background-color: var(--bs-primary);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.375rem;
  font-weight: 600;
  border-radius: 100px 0 0 100px;
  cursor: pointer;
  height: 100%;
  transition: 0.3s;
}

/* Search Field - Dropdown Wrapper */
.search-field {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
  padding-left: 40px;
}

/* SVG Icon Inside Dropdown */
.search-icon {
  position: absolute;
  left: 15px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-icon svg {
  width: 32px;
  height: 32px;
}
.search-input:focus {
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 0.5; /* Makes it slightly transparent when focused */
}
.search-input::placeholder {
  color: #969caa;
  opacity: 1;
}
label {
  font-size: 14px;
  margin-bottom: 3px !important;
}
textarea::placeholder {
  font-size: 16px;
}
#applyJobForm input,
#applyJobForm textarea {
  font-size: 16px;
  height: 40px;
}
.search-tag {
  border: 1px solid #fff;
  padding: 3px 5px;
  text-align: center;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 6px 6px 0;
  white-space: nowrap;
  transition: background-color 0.3s;
}
/* Custom Dropdown Styling */
.search-dropdown {
  width: 100%;
  border: none;
  outline: none;
  padding: 15px;
  font-size: 1rem;
  border-radius: 100px;
  background: transparent;
  appearance: none;
  cursor: pointer;
}

.search-dropdown:focus {
  box-shadow: none;
  outline: none;
}
.search-separator {
  width: 1px;
  background-color: #d5d7da;
  height: 50%;
  margin: 0 15px;
}
.search-separator {
  width: 1px;
  background-color: #d5d7da;
  height: 100%;
  align-self: stretch;
}
/* Search Button */
.search-btn {
  background-color: var(--bs-primary);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  height: 100%;
  transition: 0.3s;
}
.search-btn:hover {
  background-color: var(--bs-btn-hover-bg);
}
.card-item {
  box-shadow: 0px 0px 60px rgba(255, 156, 156, 0.3);
  background: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
}
.main-gradient-box {
  background: linear-gradient(
    90deg,
    #ffeadd 0%,
    #ffcaa9 29.5%,
    #fc8181 62%,
    #fdc5c5 100%
  );
  border-radius: 43px;
  min-height: 253px;
  padding-left: 130px;
}

.main-gradient-box .power-ai-box {
  bottom: 100px;
}
#faqs-section::before,
#power-ai::before,
#jobAlerts::before,
#contact-us-form-section::before,
#job-category-section::before,
#section-city-jobs::before {
  content: "";
  position: absolute;
  right: 0;
  top: -100px;
  width: 600px;
  height: 1613px;
  background: url("../images/half-ball-explode-left.svg");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

#faqs-section::before,
#contact-us-form-section::before,
#job-category-section::before,
#section-city-jobs::before {
  content: "";
  position: fixed;
  right: 0;
  top: -100px;
  width: 840px;
  height: 1413px;
  background: url("../images/explode-orange.svg");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

.single-job-breadcrums-section::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0px;
  width: 800px;
  height: 1500px;
  background: url("../images/explode-left-orange-bg.svg");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}
#featured-jobs::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0px;
  width: 600px;
  height: 1613px;
  background: url("../images/half-ball-explode-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}
.home footer::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 335px;
  width: 600px;
  height: 600px;
  background: url("../images/top-right-explode-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.tp-item {
  border: 1px solid rgba(213, 215, 218, 1);
  border-radius: 25px;
  width: 260px;
  min-height: 200px !important;
  margin: 0 15px;
}
.tp-item img {
  max-width: 100%;
  max-height: 100px; /* Adjust height as needed */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.tp-item .company-name {
  color: #201a32;
  font-size: 16px;
  position: absolute;
  bottom: 15px;
  width: 100%;
  overflow: hidden;
  left: 0;
  right: 0;
  text-align: center;
}
.card-image-placeholder {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
}
.card-image-placeholder-large {
  width: 196px;
  height: 196px;
}
.card-image-placeholder img,
.card-image-placeholder-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.company-contant-form {
  background: linear-gradient(
    90deg,
    rgba(255, 202, 169, 0.7) 0%,
    rgba(252, 129, 129, 0.7) 100%
  );
  max-width: 420px;
  margin: auto;
}
.candidate-employer-card .card-image {
  position: absolute;
  top: 0;
  left: 60px;
  transform: translateY(-50%);
  width: 207px;
  height: 264px;
}
.card-image.employer {
  width: 227px;
  height: 255px;
}
.candidate-employer-card {
  height: 100%;
}
.candidate-employer-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.candidate-employer-card h4 {
  font-size: 1.625rem;
  font-weight: 600;
}
.signup-button {
  position: absolute;
  bottom: 30px;
  width: 150px;
  margin: auto;
  text-align: center;
}
.hp-full-star-left-decoration {
  position: absolute;
  left: 100px;
  bottom: -100px;
  content: "";
  width: 52px;
  height: 52px;
  background: url("../images/icons/full-star.svg");
  background-size: contain;
}
.hp-empty-star-right-decoration {
  position: absolute;
  right: 50px;
  top: 20px;
  width: 52px;
  height: 52px;
  content: "";
  background: url("../images/icons/empty-star.svg");
  background-size: contain;
}
.city-search-container {
  min-height: 200px;
  border-radius: 20px;
  margin-bottom: 20px;
}
#employers-recruiters-process .process-arrow {
  position: absolute;
  width: 37vw;
  width: 400px;
  height: 200px;
  z-index: 2;
}
#employers-recruiters-process .process-1 {
  top: -130px;
  left: 20%;
}
#employers-recruiters-process .process-2 {
  bottom: -130px;
  left: 60%;
}
#employers-recruiters-process .process-number {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px;
  border: 1px solid var(--bs-secondary);
  color: var(--bs-secondary);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-content: center;
  line-height: 1;
}
/******** PRODUCTS *********/
.product-item {
  max-width: 365px;
  margin: auto;
  box-shadow: none;
  border: 1.27px solid #d5d7da;
}
.price-tag {
  border-radius: 10px;
}
.currency-font {
  font-size: 26px;
  font-weight: 600;
}
.currency-price,
.total-posts-count {
  font-size: 70px;
  font-weight: 900;
}
.price-text {
  font-size: 22px;
  font-weight: 600;
}
.product-item .product-details li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}
.product-item .product-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  -webkit-mask-image: url("../images/icons/primary-check.svg");
  mask-image: url("../images/icons/primary-check.svg");
  background-color: var(--text-primary);
}
.product-item .order-now {
  position: absolute;
  bottom: -20px;
  width: 250px;
  left: calc(50% - 125px);
}
.most-popular-tag {
  position: absolute;
  top: -15px;
  left: calc(50% - 100px);
  width: 200px;
  text-align: center;
  background: var(--bs-primary);
  color: #fff;
  border-radius: 20px;
}
.most-popular-product {
  margin-top: -30px;
}
.emp-rec-gradient-box {
  background: linear-gradient(
    90deg,
    rgba(255, 202, 169, 0.3) 0%,
    rgba(252, 129, 129, 0.3) 100%
  );
  border-radius: 20px;
  max-width: 430px;
}
#faqAccordion .accordion-button:not(.collapsed) {
  background-color: #e8f2f8;
  color: #201a32;
  font-weight: 600;
  border-bottom-left-radius: var(--bs-accordion-border-radius);
  border-bottom-right-radius: var(--bs-accordion-border-radius);
}

#faqAccordion .accordion-button:not(.collapsed):hover,
#faqAccordion .accordion-button:not(.collapsed):focus {
  background-color: #e8f2f8 !important;
  color: #201a32;
  font-weight: 600;
  box-shadow: none;
}

#faqAccordion .accordion-item {
  border: none !important;
  border-bottom: 0.5px solid #d5d7da !important;
  border-radius: 0 !important;
}

.signup-login-form-image {
  position: absolute;
  bottom: -150px;
  right: -200px;
}
/********* SLICK JS *********/

.slick-dots li.slick-active button:before {
  color: var(--bs-primary) !important;
  opacity: 1;
}

.top-employers-container .slick-prev,
.top-employers-container .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 30px;
  height: 30px;
}
.top-employers-container .slick-prev {
  left: -50px;
}
.top-employers-container .slick-next {
  right: -50px;
}

.slick-prev::before,
.slick-next::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 0px !important;
}
.slick-prev::before {
  background-image: url("../images/icons/chevron-left.svg");
}
.slick-next::before {
  background-image: url("../images/icons/chevron-right.svg");
}

/****** SELECT2 (Optimized with Custom SVG Arrow) *********/

/* Ensure Select2 matches Bootstrap form-control */
.select2-container .select2-selection--single {
  height: 50px !important; /* Match Bootstrap form height */
  border: 1px solid #d5d7da !important; /* Match Bootstrap's border */
  border-radius: 10px !important; /* Match Bootstrap's rounded corners */
  padding: 10px 15px !important; /* Adjust padding */
  font-size: 16px !important;
  display: flex !important;
  align-items: center !important; /* Center text vertically */
  position: relative;
}

/* Hide default Select2 arrow */
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  display: none !important;
}

/*.select2-container--open .select2-dropdown {top:30px !important;}*/

/* Add custom SVG icon */
.form-control-select2 {
  position: relative;
}

/* Custom dropdown icon */
.select2-container::after,
.form-control-select2::after,
.job-category-form-group::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("../images/icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none; /* Prevents interaction */
  transition: transform 0.3s ease-in-out;
}

/* Rotate arrow when dropdown is open */
.select2-container--open .form-control-select2::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Ensure text input inside Select2 is styled properly */
.select2-container .select2-selection__rendered {
  padding-left: 0px !important;
  color: #201a32 !important;
  margin-bottom: 0 !important;
}

/* Styling for Select2 Multiple Select */
.select2-container .select2-selection--multiple {
  border: 1px solid #d5d7da !important;
  border-radius: 10px !important;
  min-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0px 10px !important;
}

/* Styling for Selected Tags in Multiple Select */
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: #e8f2f8;
  color: #201a32 !important;
  border-radius: 10px !important;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Remove focus outline and add Bootstrap's default focus style */
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--multiple:focus {
  border-color: var(--bs-primary) !important; /* Match Bootstrap focus color */
  outline: none !important;
}
/* Remove focus outline for Select2 search input */
.select2-search__field:focus-visible {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  /*    border-bottom: 0.5px solid #D5D7DA !important;*/
}
/* Improve dropdown appearance */
.select2-dropdown {
  border: 1px solid var(--bs-primary) !important;
  border-radius: 10px !important;
}

/* Highlight active option */
.select2-results__option--highlighted {
  background-color: #fff !important;
  color: var(--bs-primary) !important;
}

/* Style the Select2 placeholder */
.select2-container--default .select2-selection__placeholder {
  color: #adb5bd !important;
  font-size: 1rem !important; /* Adjust font size */
}
.select2-container .select2-search--inline .select2-search__field {
  margin-top: 0;
  margin-left: 0;
  margin-bottom: 5px;
  min-width: 200px !important;
}
.select2-selection__choice__display {
  font-size: 14px;
}

/* For single-select (if used) */
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding: 0 15px; /* Adjust left/right padding if needed */
}

/******* JOBS DRAWER *********/
/* Mobile Filters Drawer */
#mobileFiltersDrawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 80%;
  background: #fff;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 1050;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

/* Slide in */
#mobileFiltersDrawer.open {
  transform: translateX(0);
}

#mobileFiltersBackdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

#mobileFiltersBackdrop.open {
  display: block;
}
#closeMobileFilters {
  position: absolute;
  right: 5px;
  top: 15px;
}
/*** TEXT EDITOR ***/
.jqte_tool.jqte_tool_1 .jqte_tool_label {
  height: 25px !important;
}

.gradient-form-label {
  font-size: 1rem;
  font-weight: 400;
  color: #201a32;
}
/*** CUSTOM ACCORDION **/
/* Style accordion header with rounded corners */
.accordion-item:first-of-type .accordion-button {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Add border-radius to whole accordion item */
.accordion-item {
  border-radius: 10px !important;
  overflow: hidden; /* Ensures smooth border effect */
}

/* If you want all accordion buttons to be rounded */
.accordion-button {
  border-radius: 10px !important;
}

/* Fix collapsed state to avoid square edges */
.accordion-button.collapsed {
  border-radius: 10px !important;
}

/* Ensure smooth transition and prevent overlap issues */
.accordion-button:not(.collapsed) {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Remove Bootstrap's default accordion chevron */
.accordion-button::after {
  display: none !important; /* Hide default arrow */
}
.custom-accordion .accordion-button::after {
  display: block !important;
}

/* Add space for the custom SVG icon */
.accordion-button {
  position: relative;
  padding-right: 40px;
}

/* Style the custom icon */
.accordion-button .custom-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease-in-out;
}

/* Rotate the icon when accordion is open */
.accordion-button:not(.collapsed) .custom-icon {
  transform: translateY(-50%) rotate(180deg);
}

/* Ensure the select dropdown has proper styling */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

/* Remove default select dropdown arrow */
.custom-select-wrapper select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 50px;
  padding-right: 40px; /* Space for the custom icon */
  border: 1px solid #d5d7da;
  border-radius: 10px;
  background-color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* Add custom SVG arrow */
.custom-select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px; /* Adjust if necessary */
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("../images/icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none; /* Prevent interactions */
  transition: transform 0.3s ease-in-out;
}

/* Rotate icon when select is focused */
.custom-select-wrapper select:focus + ::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Ensure proper spacing inside the select dropdown */
.custom-select-wrapper select option {
  font-size: 16px;
  padding: 10px;
}
.filters-column-wrapper .accordion-button:not(.collapsed) {
  background-color: #fff;
  color: #201a32;
  font-weight: 600;
  border-bottom-left-radius: var(--bs-accordion-border-radius);
  border-bottom-right-radius: var(--bs-accordion-border-radius);
  box-shadow: none;
}

.filters-column-wrapper .accordion-button:not(.collapsed):hover,
.filters-column-wrapper .accordion-button:not(.collapsed):focus {
  background-color: #fff !important;
  color: #201a32;
  font-weight: 600;
}

.filters-column-wrapper .accordion-item {
  border-bottom: 0.5px solid #d5d7da !important;
}
.filters-column-wrapper .accordion-body ul {
  padding-left: 0;
}
.filters-column-wrapper .accordion-body li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.filters-column-wrapper .accordion-body li input {
  margin-right: 10px;
}

/* Set checkbox size */
.filters-column-wrapper input[type="checkbox"],
#jobCatListWrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  appearance: none;
  border: 1px solid #969caa;
  border-radius: 4px;
  background-color: white; /* Default background */
  cursor: pointer;
  position: relative;
}

/* Checked state - Apply background color */
.filters-column-wrapper input[type="checkbox"]:checked,
#jobCatListWrapper input[type="checkbox"]:checked {
  background-color: var(--bs-secondary);
}

/* Custom checkmark using pseudo-element */
.filters-column-wrapper input[type="checkbox"]::before,
#jobCatListWrapper input[type="checkbox"]::before {
  content: "\2713"; /* Unicode checkmark */
  font-size: 14px;
  color: white;
  font-weight: 500;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0; /* Hidden by default */
}

/* Show checkmark when checked */
.filters-column-wrapper input[type="checkbox"]:checked::before,
#jobCatListWrapper input[type="checkbox"]:checked::before {
  opacity: 1;
}

/******** JOBS PAGE **********/
.jobs-area-border-line {
  border-bottom: 2px solid #d5d7da;
}
.filter-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.form-control {
  height: 50px;
  border: 1px solid #d5d7da;
  border-radius: 10px !important;
}
.datepicker {
  font-size: 1rem;
  padding-left: 15px !important;
}
textarea.form-control {
  height: auto;
  min-height: 120px;
}
#filters-area {
  position: sticky;
  top: 50px;
  height: 100vh;
  overflow-y: auto;
}
.filters-column-wrapper {
  max-width: 350px;
  margin: auto;
}
#collapse-industries-accordion ul {
  max-height: 300px;
  overflow-y: scroll;
}
/* Each job item will take 48% width for 2-column layout */
.job-listings-container > * {
  flex: 1 1 calc(50% - 10px); /* 50% width minus gap */
  max-width: calc(50% - 10px); /* Ensures a max width for consistency */
}
.category-job-listing-container > * {
  flex: 1 1 calc(33% - 10px); /* 50% width minus gap */
  max-width: calc(33% - 10px); /* Ensures a max width for consistency */
}
.filter-item .accordion-button {
  font-size: 1rem !important;
}
.meta-job-ref {
  padding: 3px 6px;
  text-align: center;
  border-radius: 4px;
  color: #000;
  background-color: #edf0fc;
}
/*#jobs-content-area {background-image: url('../images/jobs-content-bg.svg'); background-repeat: no-repeat; background-size: 100vh; background-size: contain; background-attachment: fixed; background-position: center}*/
#filePreview #fileName {
  font-size: 14px;
  font-weight: 400;
}
#jobs-content-area {
  position: relative;
}

#jobs-content-area::before {
  content: "";
  position: fixed; /* Keeps background fixed */
  top: 0px;
  left: auto; /* Align based on #jobs-content-area */
  right: 0; /* Align to right */
  width: inherit; /* Takes the width of #jobs-content-area */
  height: 100vh; /* Only covers the viewport height */
  background: url("../images/jobs-content-bg.svg") no-repeat center / cover;
  z-index: -5;
}

.active-filter-btn {
  font-size: 12px;
}

/*********** SINGLE JOB ITEM ***********/
article.job-listing-item {
  background: #fff;
}
.cat-item-pill {
  background: #e8f2f8;
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
}

.single-job-actions {
  width: 100px;
}
.single-job-cta a.btn {
  width: 182px;
  text-align: center;
}
.job-meta-data .meta-item {
  width: 33.33%;
  overflow: hidden;
  margin-bottom: 24px;
}
.job-meta-data .meta-item:nth-child(4) {
  margin-left: 0;
}
.job-meta-data .meta-item:nth-child(5) {
  margin-right: auto;
}

.job-share-popper a svg {
  width: 32px;
  height: 32px;
}
/*********** DASHBOARD *************/
.dashboard-link {
  box-shadow: 0px 0px 53px -25px rgba(0, 0, 0, 0.75);
  padding: 20px;
  border-bottom: solid 4px var(--bs-primary);
  border-radius: 4px;
}
.dashboard-link .list-group-item a {
  color: #201a32;
}
.dashboard-link .list-group-item a:hover {
  color: var(--text-primary);
}
.dashboard-link .list-group-item a.active {
  color: var(--text-secondary);
}
.dashboard-link .list-group-item a i {
  margin-right: 10px;
}
.profile-avatar-img img {
  width: 180px;
  margin: 20px 0px;
  margin-top: 10px;
  box-shadow: 18px 8px 30px 0 #cccccc59;
  padding: 20px;
  object-fit: cover;
}
.form-group {
  margin-top: 20px;
}
.form-group label {
  font-size: 16px;
}

.my-account .dropdown-menu li a:hover {
  color: var(--text-primary);
}
.account-login-form,
.account-signup-form {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.manage-jobs .card-title,
.favourite-jobs .card-title,
.applied-jobs .card-title {
  font-size: 1rem;
}
.manage-jobs .job-expired,
.favourite-jobs .job-expired {
  opacity: 0.8;
}
.manage-jobs .job-expired .card-body,
.favourite-jobs .job-expired .card-body {
  background: #f8f9fa;
}

.wishlist-icon .heart-filled {
  display: none;
}

.wishlist-icon:hover .heart-empty {
  display: none;
}

.wishlist-icon:hover .heart-filled {
  display: inline;
}

#jobCatList li {
  display: block;
  width: 100%;
}

#jobCatList li.parent > .d-flex {
  width: 100%;
}

#jobCatList ul.children {
  padding-left: 1rem !important; /* or Bootstrap ms-4 */
}

/*
.job-category-form-group {border-radius: 10px; font-size: 16px; line-height: 1.5;vertical-align: middle;min-height: 50px; padding: 10px 15px; border: 1px solid #D5D7DA !important}
.job-category-form-group.disabled{background-color: #eee;}
*/
#job_category .job-category-body {
  padding: 15px;
  border: 1px solid var(--text-primary);
  border-radius: 10px;
}

.post-category-filter .nav-link {
  color: #201a32;
  font-size: 1rem !important;
}

.post-category-filter .nav-link.active {
  background-color: #fff !important;
  border-bottom: 4px solid var(--text-primary);
  border-radius: 0 !important;
  color: #201a32;
}
.find_job_single_post {
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.post-sharer {
  background: linear-gradient(
    90deg,
    rgba(255, 202, 169, 0.7) 0%,
    rgba(252, 129, 129, 0.7) 100%
  );
  max-width: 400px;
  font-size: 2.5rem;
}

.single-post-more-posts {
  background: linear-gradient(
    90deg,
    rgba(255, 202, 169, 0.7) 0%,
    rgba(252, 129, 129, 0.7) 100%
  );
}
.f-item li a {
  transition: color 0.2s ease-in-out;
}

.f-item li:hover a {
  color: var(--text-primary) !important;
}

.footer-social-icons a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-social-icons a:hover {
  transform: translateY(-4px);
}

.vertical-column-list {
  column-count: 3;
  column-gap: 2rem;
}

.vertical-item {
  break-inside: avoid;
}

.screening-question-item.border-danger {
  border: 2px solid #dc3545 !important;
}
.screening-question-item input[type="text"]::placeholder {
  font-weight: 300;
  color: grey;
  font-size: 1rem;
}
.question-slide {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateX(30px);
}

.question-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.answer-button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  transition: all 0.2s ease-in-out;
}

.answer-button.selected {
  border-color: var(--text-secondary);
  background-color: #fff;
  z-index: 2;
}

.answer-button.dimmed {
  opacity: 0.4;
  filter: grayscale(50%);
}

.answer-box {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
}
.answer-box:hover {
  background-color: #f8f9fa;
}
.bg-light-success {
  background-color: #d4edda !important;
}
.bg-light-danger {
  background-color: #f8d7da !important;
}
.screening-option input[type="text"] {
  width: 60%;
}

.screening-option {
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.screening-option:hover {
  background-color: #f1f1f1;
}

.answer-label-input {
  width: 60%;
  min-width: 180px;
  font-size: 0.9rem;
}

.status-label {
  font-size: 0.75rem;
  min-width: 90px;
  text-align: center;
}

.screening-option .form-check-input {
  transform: scale(1.2);
}

.custom-radio {
  appearance: none;
  width: 20px;
  height: 18px;
  border: 2px solid var(--text-secondary);
  border-radius: 50%;
  position: relative;
  margin-top: 2px;
  cursor: pointer;
}

.custom-radio:checked::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-secondary);
}

.wizard-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ccc;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  margin: 0 4px;
  font-size: 16px;
  background-color: transparent;
  transition: all 0.3s ease;
}

.wizard-step-circle.active {
  border-color: var(--text-secondary); /* Your primary color */
  color: var(--text-secondary);
}

#questionnaireWizard .answer-list {
  max-width: 300px;
  margin: auto;
}

#post-edit-job input[type="text"],
#post-edit-job input[type="email"],
#post-edit-job textarea,
#post-edit-job .select2-selection {
  background: #f3f4f6;
}


.jc-preview-watermark {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    font-size: 90px;
    font-weight: 900;
    color: rgba(200, 0, 0, 0.15);
    pointer-events: none;
    user-select: none;
    z-index: 9999;
}

.single-jobs .job-description ul {list-style-type: disc !important;}

.jc-ai-btn {
    min-width: 260px;
    text-align: left;
    padding: 14px 18px;
}

.jc-ai-btn small {
    font-weight: 400;
}

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

.jc-ai-thinking {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f5f9ff;
    border: 1px solid #dbe9ff;
}

.jc-ai-thinking-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}


.jc-ai-text strong {
    display: block;
    font-weight: 600;
}

.jc-ai-stars svg {
    display: block;
}

.jc-ai-stars .star path {
    fill: #00799e; 
    opacity: 0.35;
    transform-origin: center;
    animation: jc-ai-star-blink 1.4s infinite ease-in-out;
}

.jc-ai-stars .star-1 path { animation-delay: 0s; }
.jc-ai-stars .star-2 path { animation-delay: 0.25s; }
.jc-ai-stars .star-3 path { animation-delay: 0.5s; }

.jc-view-toggle {
    color: #6c757d; /* muted */
}

.jc-view-toggle.active {
    color: var(--text-primary);
}

.fa-calendar {
    color: #6c757d; /* muted gray */
}

.fa-calendar.jc-sort-active {
    color: var(--text-primary);
}
#cvPreviewDrawer {
    width: 50vw;
    max-width: 900px;
}

@keyframes jc-ai-star-blink {
    0% {
        opacity: 0.35;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.18);
    }
    60% {
        opacity: 0.35;
        transform: scale(1);
    }
    100% {
        opacity: 0.35;
        transform: scale(1);
    }
}
@media (min-width: 768px) {
  .apply-job-btn,
  #contactSubmitBtn {
    width: auto !important;
    min-width: 140px; /* or whatever looks best */
    max-width: 100%; /* prevent overflow if needed */
  }
  .pt-md-80 {
    padding-top: 80px !important;
  }
}

@media (max-width: 991px) {
  .job-listings-container > * {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .home header {
    border: none;
  }
  .px-40-mobile {
    padding-left: 40px;
    padding-right: 40px;
  }
  .hp-hero-section {
    background: url("../images/hp-mobile-bg.jpg") no-repeat center center;
    background-size: cover;
    color: white;
    min-height: 80vh;
    display: flex;
    padding: 0 15px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding-bottom: 30px;
  }
  h1.hero-title {
    font-size: 48px;
  }
  .mobile-mb-200 {
    margin-bottom: 200px;
  }
  .mobile-mb-150 {
    margin-bottom: 150px;
  }
  .mobile-mt-40 {
    margin-top: 40px;
  }
  .pt-100-mobile-half {
    padding-top: 50px;
  }
  .section-margin-top {
    margin-top: 50px;
  }
  .header-transparent {
    position: static;
    background-color: #fa4949;
  }
  .section-margin {
    margin: 75px 0;
  }
  .signup-button {
    position: static;
    margin: 0 auto;
  }
  #featured-jobs::before {
    display: none;
  }
  #faqs-section::before,
  #power-ai::before,
  #jobAlerts::before {
    display: none;
  }
  .home footer::before {
    display: none;
  }
  .single-job-breadcrums-section::before {
    display: none;
  }
  .hp-full-star-left-decoration {
    display: none;
  }
  .hp-empty-star-right-decoration {
    display: none;
  }
  #employers-recruiters-process .process-arrow {
    display: none;
  }
  .candidate-employer-card .card-image {
    left: calc(50% - 98px);
  }
  .top-employers-container .slick-next {
    right: -10px;
  }
  .top-employers-container .slick-prev {
    left: -10px;
  }
  .main-gradient-box {
    padding-left: 0;
    padding-bottom: 30px;
  }
  .main-gradient-box {
    text-align: center;
  }
  #power-ai {
    overflow: hidden;
  }
  /**** JOBS *****/
  #filters-area {
    position: static;
    height: auto;
  }
  #jobs-content-area {
    padding: 0 30px;
  }
  .pt-80-sm-none {
    padding-top: 0;
  }
  .py-mobile-50 {
    padding: 50px 0;
  }
  #custom-package button[type="submit"] {
    width: 100%;
  }
  .job-meta-data .meta-item {
    width: 100%;
  }
}

@media only screen and (max-width: 576px) {
  .mw-425 {
    width: 100%;
  }
  main#primary {
    overflow: hidden;
  }
  .custom-title {
    font-size: 1.25rem;
  }
}
