:root {
    --main-color: #d33753;
    --light-color: #fafafa;
    --padding-lg: 3rem;
    --padding-md: 2rem;
    --padding-sm: 1rem;
    --shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    --shadow-light: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
        rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.filter-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 400px;
  max-height: 75vh;
  overflow: auto;
  padding: 2rem;
}

.selected-color-display {
    width: fit-content;
}

@media (max-width: 550px) {
  .filter-box {
    padding: 2rem 1rem;
  }
}

.filter-box::-webkit-scrollbar {
  display: none;
}

.filter-item {
  width: 100%;
}

.filter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.filter-input span {
  font-size: 13px;
}

.filter-input p {
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
}

.filter-input img {
  width: 10px;
  height: 10px;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.filter-dropdown {
  width: 100%;
  max-height: 145px;
  display: flex;
  flex-direction: column;
  overflow: auto;
  margin-top: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 5px;
}

.filter-dropdown li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 1rem;
  transition: 0.25s ease;
  font-size: 13px;
  cursor: pointer;
}

.filter-dropdown li.active,
.filter-dropdown li:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.filter-dropdown li:last-child {
  border-bottom: unset;
}

.selected-dropdown-items {
  margin-top: 1rem;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.selected-dropdown-item {
  position: relative;
  padding: 0.5rem 1.5rem;
  border: 1.5px solid var(--main-color);
  border-radius: 3rem;
  font-size: 13px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.selected-dropdown-item span {
  position: absolute;
  width: 15px;
  height: 15px;
  background: linear-gradient(to right, #ca3064, #ec719b);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -8px;
  right: 0px;
  font-size: 10px;
  color: #fff;
}

.filter-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.filter-col h4 {
  font-weight: 600;
  font-size: 15px;
}

.filter-col-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.filter-col-item {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 150px;
}

#showMoreFilterValues,
#showMoreRadioValues {
  align-self: flex-start;
  color: var(--main-color);
  font-weight: 500;
  text-decoration: underline;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

#showMoreFilterValues i,
#showMoreRadioValues i {
  font-size: 10px;
}

.filter-col-item span {
  background-color: rgba(0, 0, 0, 0.05);
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  width: 15px;
  height: 15px;
  display: flex;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  cursor: pointer;
  color: #fff;
  position: relative;
}

.filter-col-item span.active {
  background: linear-gradient(to right, #ca3064, #ec719b);
}

.working-days .filter-col-item span {
  height: 30px;
  width: 50px;
  background-color: #ef84a7;
  border-radius: 3rem;
  position: relative;
  transition: 0.25s ease-in;
}

.day-detail {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 450px) {
  .day-detail {
    flex-direction: column;
    gap: 1rem;
  }
}

.working-timeline {
  flex: 2;
  display: flex;
  gap: 10px;
  align-items: center;
}

.working-hours-wrapper  {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.working-hours-wrapper h3 {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 0.5rem;
}

@media (max-width: 700px) {
  .working-timeline {
    flex-direction: column;
  }

  .working-timeline .time-field {
    width: 100%;
  }
}

.time-field {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.25);
  flex: 1;
  gap: 5px;
  border-radius: 5px;
}

.time-field label {
  font-size: 13px;
}

.working-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.working-days .filter-col-item span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.25s ease-out;
}

.working-days .filter-col-item span.active {
  background-color: var(--main-color);
}

.working-days .filter-col-item span.active::before {
  transform: translateX(20px);
}

.filter-col-item p {
  font-size: 12px;
}

.filter-col-item.radio span {
  border-radius: 50%;
}

.filter-col-item.active span {
  background: linear-gradient(to right, #ca3064, #ec719b);
}

/*.filter-col-item.active {
  background: linear-gradient(to right, #ca3064, #ec719b);
}*/

.min-max {
  display: flex;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.range-slider-wrapper {
  height: 5px;
  position: relative;
  width: 100%;
}

.range-slider {
  height: 100%;
  background: #ddd;
  border-radius: 5px;
  width: 100%;
  position: absolute;
}

.progress {
  height: 100%;
  border-radius: 5px;
  left: 0;
  right: 0;
  position: absolute;
  border-radius: 5px;
  background: #ca3064;
}

.range-input {
  position: absolute;
  height: 100%;
  width: 100%;
}

.price-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.field {
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  width: 125px;
  overflow: hidden;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.price-input-date {
    gap: 16px;
}

.price-input-date .field {
    flex: 1;
}

.field-input {
  display: flex;
  gap: 5px;
  align-items: center;
}

.field-input span {
  font-size: 14px;
}

.field-input input {
  width: 100%;
}

.field-title {
  font-size: 12px;
}

.range-input input {
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-appearance: none;
  background: none;
  pointer-events: none;
}

.range-input input[type="range"]::-webkit-slider-thumb {
  height: 17px;
  width: 17px;
  background: linear-gradient(to right, #ca3064, #ec719b);
  border-radius: 50%;
  -webkit-appearance: none;
  cursor: pointer;
  pointer-events: auto;
}

.range-input input[type="range"]::-moz-range-thumb {
  height: 17px;
  width: 17px;
  background: linear-gradient(to right, #ca3064, #ec719b);
  border-radius: 50%;
  -moz-appearance: none;
  cursor: pointer;
  pointer-events: auto;
}

.ranger {
  border: 1px solid rgba(0, 0, 0, 0.25);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 5px;
  flex-direction: column;
  border-radius: 5px;
  overflow: hidden;
  width: 200px;
}

.ranger span {
  font-size: 13px;
}

.ranger-value {
  display: flex;
  gap: 5px;
}

@media (max-width: 640px) {
  .ranger {
    width: 150px;
  }

  .ranger span {
    font-size: 10px;
  }
}

.filter-option-buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.filter-option-buttons button {
  padding: 0.5rem 1.5rem;
  background: linear-gradient(to right, #ca3064, #ec719b);
  color: #fff;
  border-radius: 5px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.bubbled .filter-col-items .filter-col-item {
  padding: 0.75rem 1.5rem;
  min-width: unset;
  background-color: #ebebeb;
  border-radius: 3rem;
  cursor: pointer;
  transition: 0.25s ease-out;
}

.bubbled .filter-col-items .filter-col-item span {
  display: none;
}

.bubbled .filter-col-items .filter-col-item.active {
  background: linear-gradient(to right, #ca3064, #ec719b);
  color: #fff;
}

.imaged {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  border-radius: 8px;
  min-width: unset;
  justify-content: center;
  width: 65px;
  padding: 0 5px;
  cursor: pointer;
  height: 65px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.imaged img {
  width: 20px;
  height: 20px;
}

#subcat-filter-buy,
#subcat-posting-buy,
#subcat-posting-sell,
#subcat-posting-find,
#services-posting-find,
#subcat-posting-give,
#services-posting-give,
#subcat-posting-it,
#skills-posting-it,
#subcat-update-posting-buy,
#subcat-update-posting-sell,
#subcat-update-posting-find,
#services-update-posting-find,
#subcat-update-posting-give,
#services-update-posting-give,
#subcat-update-posting-it,
#skills-update-posting-it {
  display: none;
}

.imaged p {
  font-size: 7px;
  text-align: center;
}

.imaged.active {
  background: #f5f5f5;
  border: 1px solid #ec719b;
}

.car-selector {
  display: flex;
  padding: 0.5rem;
  border-radius: 3rem;
  gap: 5px;
  align-items: center;
  width: fit-content;
  background-color: #ebebeb;
}

.car-selector span {
  transition: 0.25s ease;
  padding: 0.5rem 1rem;
  border-radius: 3rem;
  font-size: 14px;
  cursor: pointer;
}

.car-selector span.active {
  background: #ca3064;
  color: #fff;
}

.car-selector-posting {
  display: flex;
  padding: 0.5rem;
  border-radius: 3rem;
  gap: 5px;
  align-items: center;
  width: fit-content;
  background-color: #ebebeb;
}

.car-selector-posting span {
  transition: 0.25s ease;
  padding: 0.5rem 1rem;
  border-radius: 3rem;
  font-size: 14px;
  cursor: pointer;
}

.car-selector-posting span.active {
  background: #ca3064;
  color: #fff;
}

.split-filters {
  display: flex;
  gap: 10px;
}

.split-filters .filter-item {
  flex: 1;
}

.posting-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.uploaded-images-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uploaded-image-box {
  padding: 10px;
  border: 1px solid #ca3064;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.uploaded-image-box img {
  width: 100px;
  height: 50px;
  border-radius: 5px;
  object-fit: cover;
}

.uploaded-image-box button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  background: linear-gradient(to right, #ca3064, #ec719b);
  align-items: center;
}

.uploaded-image-box i {
  color: #fff;
  font-size: 12px;
}

.submit-posting {
  align-self: center;
  padding: 15px 25px;
  background: linear-gradient(to right, #ca3064, #ec719b);
  color: #fff;
  border-radius: 5px;
}

.split-filters .posting-field {
  flex: 1;
  height: fit-content;
}

.posting {
  gap: 2rem;
}

.posting-container {
  display: flex;
  justify-content: center;
}

.posting-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

.two-postings {
  flex-wrap: wrap;
}

.posting-title h3 {
  font-size: 1.75rem;
  font-weight: 500;
  text-decoration: underline;
}

.posting-form {
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  gap: 1rem;
  width: 900px;
}

@media (max-width: 1000px) {
  .posting-form {
    width: 100%;
    padding: 2rem 1rem 2rem 1rem;
  }
}

@media (max-width: 640px) {
  .split-filters {
    flex-direction: column;
  }

  .posting-form h3 {
    font-size: 1.5rem;
  }
}

.posting-field {
  padding: 0.75rem 1rem;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.posting-field .field-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
}

.posting-field input {
    width: 100%;
}

.two-postings {
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-popup {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 1000000;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
}

.address-wrapper {
  background-color: #fff;
  width: 400px;
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 75vh;
  overflow: auto;
}

@media (max-width: 450px) {
  .address-popup {
    padding: 0 1rem;
  }

  .address-wrapper {
    width: 100%;
  }
}

.address-buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.address-wrapper .split-filters {
  gap: 1rem;
  flex-direction: column;
}

.address-wrapper .split-filters .deactivate-field {
  width: 100%;
}

.address-buttons button {
  padding: 15px 20px;
  border-radius: 5px;
  background: linear-gradient(to right, #ca3064, #ec719b);
}

.address-wrapper::-webkit-scrollbar {
  display: none;
}

.two-postings .posting-field {
  flex: 1;
}

.posting-field label {
  font-size: 13px;
}

.form-item label {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
}

.posting-col .min-max {
  justify-content: unset;
}

.ranger-value {
  align-items: center;
}

.min-max .filter-item {
  flex: 1;
}

.posting-col .min-max {
  align-items: flex-start;
}

.car-filter-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.min-max-large {
  gap: 10px;
}

.min-max-large .ranger {
  flex: 1;
}

.delete-address-btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}
