@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900;1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  scroll-behavior: smooth;
  overflow: auto;
  background-color: #EEEEF1;
}

html {
  overflow: hidden;
}

html,
body {
  height: 100%;
}

::selection {
  background-color: #3390ff;
  color: #ffffff;
}

:root {
  --yellow: #ffea0b;
  --yellow-hover: #efdb00;
  --lightgray: #f1f0f3;
  --lightgray-1: #e2e2e2;
  --darkgray: #454545;
  --green: #afff89;
  --black: #252525;
  --lightblue: #5790ff;
  --purple: #7f1095;
  --purple-hover: #aa10c8;
  --primary-color: var(--green);
  --primary-color-hover: var(--purple-hover);
  --filter: blur(30px);
}

a {
  text-decoration: none;
  color: black;
  cursor: pointer;
  -webkit-user-drag: none;
}

ul li {
  list-style: none;
}

form {
  margin: 0;
}

span {
  font-family: "Manrope", Arial;
  font-weight: 100;
}

label {
  font-family: "Manrope", Arial;
}
@media only screen and (max-width: 768px) {
  label {
    font-size: 14px;
  }
}

input,
select,
button,
.checkbox-wrap {
  user-select: none;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=range] {
  cursor: pointer;
  height: 2px;
}

.disabled {
  border: 0px;
  background-color: transparent;
  cursor: default;
}
.disabled:hover {
  background-color: transparent;
}

.right-top-btn i {
  margin-right: 4px;
}

.site-title {
  margin: 0;
  font-weight: bold;
  font-family: "Manrope", Arial;
  font-size: 28px;
}
@media only screen and (max-width: 768px) {
  .site-title {
    font-size: 18px;
  }
}

h2,
h3,
h4,
h5,
h6,
ul,
p {
  margin: 0;
  padding: 0;
  font-family: Arial;
}

i {
  margin: 0 4px;
}

.link {
  text-decoration: underline;
  font-family: "Manrope", Arial;
  font-size: 14px;
}

input:focus,
select:focus,
textarea {
  outline: none;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.template-columns-1 {
  grid-template-columns: repeat(1, 1fr);
}

.template-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.template-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.template-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex-gap {
  display: flex;
  gap: 8px;
}

.column {
  flex-direction: column;
}

.gap {
  gap: 8px;
}

.vertical-center {
  align-items: center;
}

.horizontal-center {
  justify-content: center;
}

.space-between {
  justify-content: space-between;
}

.full-width {
  width: 100%;
}

.fit-width {
  width: fit-content;
}

.stretch {
  align-items: stretch;
}

.right {
  margin-left: auto;
}

.text-right {
  text-align: right;
}

.left {
  margin-right: auto;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

.padding {
  padding: 10px;
}

.glow {
  filter: drop-shadow(0px 0px 10px white);
}

.vertical-margin {
  margin-top: 8px;
  margin-bottom: 8px;
}

.horizontal-margin {
  margin-left: 8px;
  margin-right: 8px;
}

.text {
  font-family: "Manrope";
  font-weight: bold;
}

.or::after,
.or::before {
  content: "";
  display: flex;
  height: 1px;
  background: rgba(0, 0, 0, 0.5019607843);
  width: 100%;
  margin: 0 10px;
}

table {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  font-family: Dosis;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}
table thead {
  background: var(--lightblue);
}
table th,
table td {
  font-weight: 100;
  font-size: 14px;
  padding: 6px;
  text-wrap: nowrap;
  border: 1px solid black;
  color: black;
  font-family: "Manrope";
}
table th {
  cursor: pointer;
  text-align: start;
  white-space: nowrap;
  color: white;
  border-color: var(--lightblue);
}

.button, .form button[type=submit] {
  appearance: none;
  border: none;
  position: relative;
  font-family: "Manrope", Arial;
  transition: background 0.4s;
  text-align: center;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  max-width: 600px;
  border: 1px solid var(--lightgray-1);
  background-color: #afff89;
  border-radius: 9px;
  padding: 12px;
  cursor: pointer;
  font-family: "Manrope", Arial;
  font-weight: 400;
  font-size: 14px;
  -webkit-user-drag: none;
}
.button:hover, .form button[type=submit]:hover {
  background-color: var(--yellow-hover);
}
.button.alt, .form button.alt[type=submit] {
  background-color: unset;
}
.button.alt:hover, .form button.alt[type=submit]:hover {
  background-color: var(--yellow-hover);
}
.button.red, .form button.red[type=submit] {
  background-color: #ffbbbb;
}
.button.red:hover, .form button.red[type=submit]:hover {
  background-color: rgb(255, 82, 82);
}
@media only screen and (max-width: 768px) {
  .button, .form button[type=submit] {
    padding: 12px 18px;
    font-size: 16px;
  }
}

.online {
  color: var(--green);
}

.offline {
  color: var(--darkgray);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.form input[type=text],
.form input[type=password],
.form input[type=email],
.form textarea,
.form input[type=number],
.form input[type=tel],
.form select {
  border: none;
  height: 32px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 2px rgba(189, 189, 189, 0.3882352941);
  padding: 0 12px;
  max-width: 600px;
  min-width: 100px;
  margin: 6px 0;
  display: block;
  font-size: 14px;
}
.form textarea {
  display: flex;
  justify-content: start;
  align-items: start;
  text-align: start;
  padding: 12px;
  min-height: 120px;
  height: fit-content;
}

input[type=text] {
  border: none;
  height: 32px;
  padding: 12px;
}

.breadcrumbs {
  margin: 10px 0;
}
.breadcrumbs a,
.breadcrumbs i {
  font-size: 14px;
  color: var(--darkgray);
}

.search-filters {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: fit-content;
}
.search-filters .filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--lightgray);
  flex-wrap: wrap;
}
.search-filters .filters-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
}
.search-filters .filters-header .button.small, .search-filters .filters-header .form button.small[type=submit], .form .search-filters .filters-header button.small[type=submit] {
  padding: 8px 16px;
  font-size: 14px;
  background: var(--lightgray);
  color: var(--dark);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.search-filters .filters-header .button.small:hover, .search-filters .filters-header .form button.small[type=submit]:hover, .form .search-filters .filters-header button.small[type=submit]:hover {
  background: #e0e0e0;
}
@media (max-width: 768px) {
  .search-filters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 999;
    left: -100%;
    transition: left 0.4s cubic-bezier(1, -0.14, 0, 1.27);
    visibility: hidden;
  }
  .search-filters.opened {
    visibility: visible;
    left: 0;
  }
}
.search-filters .filter-item .filter-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 14px;
}
.search-filters .filter-item .filter-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--lightgray);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}
.search-filters .filter-item .filter-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 126, 204, 0.1);
}
.search-filters .filter-item .filter-checkboxes,
.search-filters .filter-item .filter-radios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-filters .filter-item .filter-checkboxes .checkbox-item,
.search-filters .filter-item .filter-checkboxes .radio-item,
.search-filters .filter-item .filter-radios .checkbox-item,
.search-filters .filter-item .filter-radios .radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}
.search-filters .filter-item .filter-checkboxes .checkbox-item input[type=checkbox],
.search-filters .filter-item .filter-checkboxes .checkbox-item input[type=radio],
.search-filters .filter-item .filter-checkboxes .radio-item input[type=checkbox],
.search-filters .filter-item .filter-checkboxes .radio-item input[type=radio],
.search-filters .filter-item .filter-radios .checkbox-item input[type=checkbox],
.search-filters .filter-item .filter-radios .checkbox-item input[type=radio],
.search-filters .filter-item .filter-radios .radio-item input[type=checkbox],
.search-filters .filter-item .filter-radios .radio-item input[type=radio] {
  margin: 0;
}
.search-filters .filter-item .filter-checkboxes .checkbox-item span,
.search-filters .filter-item .filter-checkboxes .radio-item span,
.search-filters .filter-item .filter-radios .checkbox-item span,
.search-filters .filter-item .filter-radios .radio-item span {
  color: var(--dark);
}
.search-filters .filters-actions {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  padding-top: 20px;
}
.search-filters .filters-actions .button, .search-filters .filters-actions .form button[type=submit], .form .search-filters .filters-actions button[type=submit] {
  width: 100%;
}
.search-filters .filters-actions .button.close-filter-btn, .search-filters .filters-actions .form button.close-filter-btn[type=submit], .form .search-filters .filters-actions button.close-filter-btn[type=submit] {
  display: none;
}
@media (max-width: 768px) {
  .search-filters .filters-actions .button.close-filter-btn, .search-filters .filters-actions .form button.close-filter-btn[type=submit], .form .search-filters .filters-actions button.close-filter-btn[type=submit] {
    display: flex;
  }
}

.filter-checkbox,
.filter-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}
.filter-checkbox:last-child,
.filter-radio:last-child {
  margin-bottom: 0;
}
.filter-checkbox label,
.filter-radio label {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.filter-checkbox label input[type=checkbox],
.filter-checkbox label input[type=radio],
.filter-radio label input[type=checkbox],
.filter-radio label input[type=radio] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  border: 2px solid var(--dark);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  background: transparent;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  text-align: center;
}
.filter-checkbox label input[type=checkbox]::before,
.filter-checkbox label input[type=radio]::before,
.filter-radio label input[type=checkbox]::before,
.filter-radio label input[type=radio]::before {
  content: "";
  position: absolute;
  font-size: 12px;
  color: var(--lightblue);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.filter-checkbox label input[type=checkbox],
.filter-radio label input[type=checkbox] {
  background: var(--lightgray);
}
.filter-checkbox label input[type=checkbox]::before,
.filter-radio label input[type=checkbox]::before {
  content: "\f00c";
  display: none;
}
.filter-checkbox label input[type=checkbox]:checked::before,
.filter-radio label input[type=checkbox]:checked::before {
  display: block;
}
.filter-checkbox label input[type=radio],
.filter-radio label input[type=radio] {
  border-radius: 50%;
  background: var(--lightgray);
}
.filter-checkbox label input[type=radio]::before,
.filter-radio label input[type=radio]::before {
  content: "\f111";
  display: none;
  font-size: 10px;
  color: var(--lightblue);
}
.filter-checkbox label input[type=radio]:checked::before,
.filter-radio label input[type=radio]:checked::before {
  display: block;
}
.filter-checkbox label span,
.filter-radio label span {
  color: var(--dark);
  cursor: pointer;
  user-select: none;
}

.filter-range .range-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-range .range-inputs .filter-input {
  flex: 1;
}
.filter-range .range-inputs .range-separator {
  color: var(--gray);
  font-weight: 500;
}

.classifieds-main {
  display: grid;
  grid-template-columns: 22.5% 72.5%;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0;
}
@media (max-width: 768px) {
  .classifieds-main {
    grid-template-columns: 100%;
  }
}
.classifieds-main .classifieds-grid {
  padding: 0 !important;
}

.content-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  margin-top: 20px;
}
.content-grid .filters-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}
.content-grid .classifieds-main {
  min-width: 0;
}

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .content-grid .filters-sidebar {
    position: static;
    order: 2;
  }
  .content-grid .classifieds-main {
    order: 1;
  }
}
.filters-container {
  max-width: 1200px;
  margin: 0 auto;
}

.category-selector {
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-form {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #e9ecef;
  flex-direction: column;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.filter-name {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.filter-type {
  background: var(--lightblue);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 10px;
}

.filter-options ul {
  height: 100px;
  overflow-y: auto;
  border: 1px solid var(--lightgray);
  padding: 10px;
  margin: 10px 0;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}
.form-group input[type=text],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}
.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.options-container {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  background: #f8f9fa;
}

.option-item {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  align-items: center;
}
.option-item input {
  flex: 1;
}

.btn-remove-option {
  background: #dc3545;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
}

.btn-add-option {
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
  margin-top: 8px;
}

.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.no-filters {
  text-align: center;
  padding: 40px;
  color: #666;
  font-style: italic;
}

header {
  display: flex;
  align-items: center;
  width: 80%;
  justify-content: space-between;
  margin: 20px auto;
}
@media (max-width: 720px) {
  header {
    width: 90%;
  }
}

.mobile {
  display: none !important;
}
@media (max-width: 720px) {
  .mobile {
    display: flex !important;
  }
}

@media (max-width: 720px) {
  .desktop {
    display: none !important;
  }
}

.login-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-form-wrapper {
  display: flex;
  margin: 20px auto;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: #5babe0;
  padding: 10px 20px;
  box-shadow: 0 6px 10px rgba(147, 147, 147, 0.54);
  border-radius: 16px;
}
@media (max-width: 720px) {
  .search-form-wrapper {
    padding: 10px;
    flex-direction: column;
  }
  .search-form-wrapper .flex {
    flex-direction: column;
    width: 100%;
  }
  .search-form-wrapper .flex .left {
    border-radius: 0%;
    border-top-right-radius: 9px;
    border-top-left-radius: 9px;
  }
  .search-form-wrapper .flex .right {
    border-radius: 0%;
    border-bottom-right-radius: 9px;
    border-bottom-left-radius: 9px;
  }
  .search-form-wrapper .flex .right.opened {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }
  .search-form-wrapper .button, .search-form-wrapper .form button[type=submit], .form .search-form-wrapper button[type=submit] {
    width: 100%;
  }
}
.search-field {
  height: 42px !important;
  font-size: 14px;
  width: 220px;
}
@media (max-width: 720px) {
  .search-field {
    width: 100%;
  }
}
.search-field.left {
  border-bottom-left-radius: 9px;
  border-top-left-radius: 9px;
}
.search-field.right {
  border-bottom-right-radius: 9px;
  border-top-right-radius: 9px;
}
.search-field.right.opened {
  border-bottom-right-radius: 0px;
}
.search-input-wrapper {
  position: relative;
}
.search-select {
  position: absolute;
  width: 100%;
  box-shadow: 0 1px 3px rgba(28, 28, 28, 0.3019607843);
  max-height: 300px;
  overflow-y: scroll;
  border-bottom-right-radius: 9px;
  border-bottom-left-radius: 9px;
  height: 0;
  z-index: 2;
}
.search-select.opened {
  height: auto;
}
.search-select-element {
  background-color: white;
  position: relative;
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border-top: 1px solid var(--lightgray);
  cursor: pointer;
}
.search-select-element:hover {
  background-color: var(--lightgray);
}
.search-select-element:after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  right: 10px;
  position: absolute;
  color: var(--lightgray-1);
}

.categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  width: 100%;
  gap: 20px;
  padding: 20px 0;
}
.categories-container .category img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 90%;
  border: 2px solid var(--yellow);
  padding: 2px;
  filter: grayscale(1);
}
.categories-container .category:hover img {
  filter: grayscale(0);
}

.content {
  min-height: 100vh;
  padding: 0 10%;
}
@media (max-width: 720px) {
  .content {
    padding: 0 5%;
  }
}
.content.wrapper {
  padding: 20px 10%;
}
@media (max-width: 720px) {
  .content.wrapper {
    padding: 10px;
    padding-bottom: 70px;
  }
}
.content--container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#login--form {
  background: #ade1ff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(30, 30, 30, 0.3882352941);
  width: 500px;
}
@media (max-width: 720px) {
  #login--form {
    min-width: 0;
    width: 90%;
  }
}
#login--form .buttons {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 720px) {
  #login--form .buttons {
    flex-direction: column-reverse;
  }
  #login--form .buttons button[type=submit] {
    width: 100%;
  }
}

.account-header {
  border-bottom: 4px solid #9bbbf9;
}
.account-header-title {
  padding: 10px;
  font-family: "Manrope", Arial;
  font-weight: bold;
  font-size: 18px;
}
.account-header .nav-tabs {
  display: flex;
  gap: 40px;
  width: fit-content;
  margin: 0 auto;
}
.account-header .nav-tabs .menu-item {
  border-bottom: 4px solid transparent;
}
.account-header .nav-tabs .menu-item.current {
  border-bottom: 4px solid #6e9eff;
}
.account-header .nav-tabs .menu-item a {
  padding: 10px;
  display: flex;
  position: relative;
}
.account-header .nav-tabs .menu-item.logout {
  border-left: 1px solid var(--lightgray-1);
  padding-left: 30px;
}

.content-title {
  padding: 0 20px;
}

.classifieds-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.classifieds-list.account .classifieds-element {
  display: flex;
  gap: 20px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(142, 142, 142, 0.2);
}
@media (max-width: 720px) {
  .classifieds-list.account .classifieds-element {
    flex-direction: column;
  }
}
.classifieds-list.account .classifieds-element .name {
  font-size: 22px;
  font-weight: 500;
  font-family: "Manrope";
}
.classifieds-list.account .classifieds-element .price {
  font-size: 18px;
  font-weight: bold;
}
.classifieds-list.account .classifieds-element .category a {
  font-size: 13px;
  font-weight: 300;
  font-family: "Manrope", Arial;
}
.classifieds-list.account .classifieds-element .location-info span,
.classifieds-list.account .classifieds-element .location-info i,
.classifieds-list.account .classifieds-element .created_at span,
.classifieds-list.account .classifieds-element .created_at i,
.classifieds-list.account .classifieds-element .views span,
.classifieds-list.account .classifieds-element .views i {
  font-size: 14px;
}
.classifieds-list.account .classifieds-element .location-info span,
.classifieds-list.account .classifieds-element .location-info i {
  color: #0816af;
}
.classifieds-list.account .classifieds-element__image img {
  width: 100px;
  border-radius: 9px;
}
.classifieds-list.account .classifieds-element__info {
  width: 100%;
}
.classifieds-list.account .classifieds-element__info-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: start;
}
.classifieds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px 0;
  gap: 10px;
}
@media (max-width: 720px) {
  .classifieds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.classifieds-grid .classifieds-element {
  display: flex;
  border-radius: 12px;
  box-shadow: 0 0 2px rgba(142, 142, 142, 0.6);
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s;
}
.classifieds-grid .classifieds-element:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}
.classifieds-grid .classifieds-element .name {
  font-size: 16px;
  font-weight: 500;
}
.classifieds-grid .classifieds-element .price {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}
.classifieds-grid .classifieds-element .category a {
  font-size: 13px;
  font-weight: 300;
  font-family: Manrope;
}
.classifieds-grid .classifieds-element .location-info span,
.classifieds-grid .classifieds-element .location-info i {
  color: #0816af;
  font-size: 12px;
}
.classifieds-grid .classifieds-element .created_at span,
.classifieds-grid .classifieds-element .created_at i {
  font-size: 12px;
}
.classifieds-grid .classifieds-element__image {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.classifieds-grid .classifieds-element__image a {
  width: 100%;
}
.classifieds-grid .classifieds-element__image img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.classifieds-grid .classifieds-element__info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.classifieds-grid .classifieds-element__info-wrapper {
  display: flex;
  justify-content: space-between;
}

.classified-page {
  display: flex;
  flex-direction: column;
}
.classified-page-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 0.65fr 0.35fr;
  height: 400px;
}
@media (max-width: 720px) {
  .classified-page-grid {
    display: flex;
    flex-direction: column;
    height: auto;
  }
}
.classified-page-grid-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  background-color: white;
  padding: 20px;
  border-radius: 6px;
  height: fit-content;
  gap: 20px;
}
.classified-page-grid-content .converted-price {
  font-weight: bold;
}
.classified-page-grid-content .main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.classified-page-grid-content .title {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  justify-content: space-between;
}
.classified-page-grid-content .actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.classified-page-grid-content .actions button {
  width: 100%;
}
.classified-page .gallery {
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  position: relative;
}
.classified-page .gallery .gallery-wrapper {
  display: flex;
  transition: transform 0.3s ease-in-out;
}
.classified-page .gallery .gallery-wrapper .image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100%;
  box-sizing: border-box;
}
.classified-page .gallery .gallery-wrapper .image-wrapper img {
  width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}
.classified-page .gallery .control {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  border-radius: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-50%);
  color: white;
  padding: 10px;
  z-index: 10;
  backdrop-filter: blur(5px);
  background: transparent;
  border: 1px solid white;
  transition: all 0.4s;
  cursor: pointer;
  box-shadow: 0 0 2px var(--darkgray);
}
.classified-page .gallery .control i {
  text-shadow: 0 0 2px var(--darkgray);
}
.classified-page .gallery .control.right {
  right: 25px;
}
.classified-page .gallery .control.left {
  left: 25px;
}
.classified-page .gallery .control:hover {
  background-color: white;
  color: var(--black);
}
.classified-page .gallery.fullscreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  padding: 10%;
  background: rgba(60, 60, 60, 0.9215686275);
}
.classified-page .description {
  background-color: white;
  border-radius: 6px;
  padding: 20px;
  margin-top: 20px;
}
.classified-page .description-content {
  margin-top: 10px;
  font-family: "Manrope", "Arial";
  font-weight: 300;
}

.block {
  box-shadow: 0 0 2px rgba(189, 189, 189, 0.82);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  margin-top: 30px;
}
.block-title {
  font-size: 24px;
  font-weight: bold;
  font-family: "Manrope";
}
.block.by-author {
  margin-top: 20px;
}
.block-label {
  position: absolute;
  top: -32px;
  left: 0;
  font-weight: 600;
  font-size: 18px;
}

#category-filters {
  box-shadow: 0 0 2px rgba(189, 189, 189, 0.82);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  margin-top: 30px;
  background: unset;
}
#category-filters .search-filters {
  all: unset;
}

.separator {
  width: 1px;
  background: var(--lightgray-1);
}
.separator.black {
  height: 2px;
  width: 100%;
  background: black;
}

.add-to-fav {
  height: fit-content;
  cursor: pointer;
}
.add-to-fav:hover i {
  font-weight: 600;
}

.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.pagination-wrapper {
  width: fit-content;
  display: flex;
  gap: 10px;
}
.pagination-wrapper .page {
  font-size: 16px;
}

.upload-images-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: fit-content;
}

.upload-image {
  height: 100px;
  width: 100px;
  border: 1px solid var(--lightgray-1);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.upload-image:hover {
  border: 1px dashed blue;
}
.upload-image img {
  background: var(--lightgray);
  height: auto;
  width: 100%;
}
.upload-image-wrapper {
  position: relative;
}
.upload-image-delete-btn {
  position: absolute;
  bottom: 0;
  font-size: 14px;
  background: var(--lightblue);
  color: white;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 2px;
  z-index: 999;
  box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.431372549);
  overflow: hidden;
  cursor: pointer;
  height: 0;
  padding: 0;
  transition: 0.3s;
}
.upload-image-delete-btn.raised {
  height: auto;
  padding: 4px 2px;
}

.image-gallery {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5294117647);
  transform: scale(0);
  z-index: 999;
  cursor: pointer;
}
.image-gallery img {
  max-width: 80%;
  max-height: 80%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
  transform: translate(-50%, -50%) scale(0);
  transition: 0.3s ease;
}
.image-gallery-wrapper {
  padding: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image-gallery.opened {
  transform: scale(1);
}
.image-gallery.opened img {
  transform: translate(-50%, -50%) scale(1);
}

.admin-content {
  width: 100%;
  padding: 10px 20px;
  max-width: 100%;
  overflow: hidden;
}
.admin-content-header {
  display: flex;
}

.sorting-wrapper {
  margin: 10px 0;
  display: flex;
  justify-content: end;
}
.sorting-wrapper select {
  width: fit-content;
  background: none;
  border: none;
  box-shadow: 0 0 1px black;
  cursor: pointer;
  border-radius: 9px;
  padding: 4px 10px;
}

.chat-list {
  background: white;
  border-radius: 5px;
  min-height: 100vh;
  width: 100%;
}
.chat-list-wrapper {
  display: flex;
  gap: 10px;
}
@media (max-width: 720px) {
  .chat-list-wrapper {
    flex-direction: column;
  }
}
.chat-list-wrapper .chat-list {
  width: 30%;
}
@media (max-width: 720px) {
  .chat-list-wrapper .chat-list {
    width: 100%;
  }
}
@media (max-width: 720px) {
  .chat-list-wrapper.double .chat-list {
    display: none;
  }
}
.chat-list-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.chat-list-header .button, .chat-list-header .form button[type=submit], .form .chat-list-header button[type=submit] {
  all: unset;
  border: 1px solid var(--lightgray-1);
  padding: 12px;
  font-family: "Manrope", "Arial";
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
}
.chat-list-header .button:nth-child(1), .chat-list-header .form button[type=submit]:nth-child(1), .form .chat-list-header button[type=submit]:nth-child(1) {
  border-top-left-radius: 5px;
}
.chat-list-header .button:nth-child(2), .chat-list-header .form button[type=submit]:nth-child(2), .form .chat-list-header button[type=submit]:nth-child(2) {
  border-top-right-radius: 5px;
}
.chat-list-header .current {
  border: 1px solid transparent;
  background: var(--primary-color);
}
.chat-list .chat.current {
  background: var(--lightgray);
}
.chat-list .chat a {
  padding: 4px 10px;
  border-bottom: 1px solid var(--lightgray-1);
  display: grid;
  grid-template-columns: 0.8fr 0.2fr;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.chat-list .chat-image {
  height: 60px;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.chat-list .chat-image img {
  height: 100%;
  width: auto;
}
.chat-list .chat-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.chat-list .chat-info-wrapper {
  display: flex;
  gap: 10px;
}
.chat-list .chat-header {
  color: gray;
  font-size: 14px;
  font-weight: 400;
}
.chat-list .chat-name {
  font-size: 14px;
  font-weight: 600;
}
.chat-list .chat-message {
  color: gray;
  font-size: 14px;
  font-weight: 400;
  line-height: 1rem;
  position: relative;
}
.chat-list .chat-message .chat-unread {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translate(0, -50%) !important;
}
.chat-list .chat:hover {
  background: var(--lightgray);
}
.chat-list .chat-date {
  display: flex;
  justify-content: end;
}

.chat-container {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 5px;
  padding: 10px;
  width: 70%;
}
@media (max-width: 720px) {
  .chat-container {
    width: 100%;
    height: 80vh;
  }
}
.chat-container .chat-header {
  width: 100%;
}
.chat-container .chat-header .chat-info {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 9px;
  background: var(--lightgray);
  position: relative;
}
@media (max-width: 720px) {
  .chat-container .chat-header .chat-info {
    flex-direction: column;
  }
  .chat-container .chat-header .chat-info .right {
    justify-content: space-between;
    width: 100%;
  }
}
.chat-container .chat-header .chat-info .user-info {
  display: flex;
  gap: 10px;
}
.chat-container .chat-header .chat-info .user-info .user-image {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.chat-container .chat-header .chat-info .user-info .user-image img {
  height: 100%;
  width: auto;
  border-radius: 90%;
}
.chat-container .chat-header .chat-info .user-info .user-name {
  display: flex;
  align-items: center;
}
@media (max-width: 720px) {
  .chat-container .chat-header .chat-info .user-info .user-name {
    padding: 10px 0;
  }
}
.chat-container .chat-header .chat-info .classified-info {
  display: flex;
  gap: 10px;
  margin: 0 auto;
  border-right: 1px solid var(--lightgray-1);
  border-left: 1px solid var(--lightgray-1);
  padding: 0 20px;
}
.chat-container .chat-header .chat-info .classified-info .classified-name {
  font-size: 14px;
}
.chat-container .chat-header .chat-info .classified-info .classified-image {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.chat-container .chat-header .chat-info .classified-info .classified-image img {
  height: 100%;
  width: auto;
}
.chat-container .messages-list {
  display: flex;
  flex-direction: column-reverse;
  height: 100%;
  background: white;
  box-shadow: inset 0px 0px 10px rgba(117, 117, 117, 0.5);
  border-radius: 9px;
  margin: 10px 0;
  overflow-y: scroll;
  padding: 20px;
  max-height: 650px;
  gap: 10px;
  min-height: 60vh;
}
@media (max-width: 720px) {
  .chat-container .messages-list {
    max-height: 58vh;
  }
}
.chat-container .messages-list .message ._body {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-direction: column;
}
.chat-container .messages-list .message ._body ._content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-container .messages-list .message ._body ._text {
  background-color: var(--lightgray);
  width: fit-content;
  padding: 4px 12px;
  border-radius: 12px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3215686275);
  position: relative;
}
.chat-container .messages-list .message ._body ._time {
  overflow: hidden;
  display: flex;
  font-size: 14px;
}
.chat-container .messages-list .message .info {
  padding: 0 10px;
  font-size: 12px;
  text-align: end;
  width: 100%;
  display: block;
}
.chat-container .messages-list .message.incoming {
  margin-right: auto;
}
.chat-container .messages-list .message.incoming ._content {
  flex-direction: row-reverse;
}
.chat-container .messages-list .message.incoming ._body {
  align-items: start;
}
.chat-container .messages-list .message.outgoing {
  margin-left: auto;
}
.chat-container .messages-list .message.outgoing ._body {
  align-items: end;
}
.chat-container .messages-list .message .delete-btn {
  background: red;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  width: 0;
  overflow: hidden;
  cursor: pointer;
}
.chat-container .messages-list .message:hover .delete-btn {
  width: 24px;
}
.chat-container .messages-list .date {
  width: 100%;
  text-align: center;
  margin: 10px 0;
  font-size: 14px;
  color: gray;
}
.chat-container .message-input {
  margin-top: auto;
}
@media (max-width: 720px) {
  .chat-container .message-input {
    position: fixed;
    bottom: 85px;
    width: 100%;
    left: 0;
    padding: 10px 20px;
    background: var(--lightgray);
    bottom: 60px;
  }
}
.chat-container .message-input .message-field {
  display: flex;
  border-radius: 9px;
  box-shadow: 0 0 1px black;
  background-color: white;
}
.chat-container .message-input .message-field textarea {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 9px;
  padding: 10px;
  padding-top: 15px;
  font-family: "Manrope";
  resize: none;
}
.chat-container .message-input .message-field .attach {
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

.read-more {
  font-size: 12px;
  font-weight: 300;
  text-decoration: underline;
}

.badge, .chat-list .chat-message .chat-unread {
  position: absolute;
  top: 0;
  right: -20px;
  background: var(--primary-color);
  padding: 2px 8px;
  border-radius: 12px;
  box-shadow: 0 0 1px rgba(30, 30, 30, 0.3882352941);
  z-index: 2;
}

.button .badge, .form button[type=submit] .badge, .button .chat-list .chat-message .chat-unread, .chat-list .chat-message .button .chat-unread, .form button[type=submit] .chat-list .chat-message .chat-unread, .chat-list .chat-message .form button[type=submit] .chat-unread {
  top: -10px;
  right: -10px;
}

.bottom-menu {
  position: absolute;
  background: white;
  bottom: 0;
  padding: 10px;
  width: 100%;
  z-index: 997;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2705882353);
}
.bottom-menu ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  gap: 10px;
}
.bottom-menu ul li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
  font-size: 14px;
}
.bottom-menu ul li a i {
  font-size: 18px;
}

.sidemenu {
  position: absolute;
  top: 0;
  left: 0;
  padding: 30px;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 999;
  width: 0;
  left: -110%;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sidemenu.opened {
  width: 100%;
  left: 0;
}
.sidemenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidemenu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sidemenu-content ul {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
}
.sidemenu-content ul li {
  display: flex;
}
.sidemenu-content ul li a {
  padding: 12px 0;
  width: 100%;
}
.sidemenu-footer {
  margin-top: auto;
  text-align: center;
}
.sidemenu.admin {
  all: unset;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: fit-content;
  background: var(--lightblue);
  height: 100vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5098039216);
}
@media (max-width: 768px) {
  .sidemenu.admin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    width: 0;
    left: -110%;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .sidemenu.admin.opened {
    width: 100%;
    left: 0;
  }
}
.sidemenu.admin .sidemenu-header {
  display: none;
}
@media (max-width: 768px) {
  .sidemenu.admin .sidemenu-header {
    display: flex;
  }
}
.sidemenu.admin ul li a {
  line-height: 1.2rem;
  width: 100%;
  display: block;
  padding: 20px 30px;
  font-family: "Manrope";
}
.sidemenu.admin ul li a:hover {
  background-color: var(--lightgray);
}
.sidemenu.admin ul li .submenu {
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.sidemenu.admin ul li .submenu li a {
  padding: 15px 30px;
  font-size: 14px;
  text-align: end;
}
.sidemenu.admin ul li.current {
  background-color: var(--lightgray);
}
.sidemenu.admin-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sidemenu.admin-footer {
  text-align: center;
}

#openSidemenu,
#closeSidemenu {
  background-color: transparent;
  padding: 18px;
  border: none;
}
#openSidemenu i,
#closeSidemenu i {
  font-size: 16px;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  justify-content: space-between;
  margin: 20px auto;
}
footer .footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}
footer .footer-container ul li.title {
  font-weight: bold;
  font-size: 18px;
  margin: 10px 0;
  font-family: "Manrope", Arial;
}
footer .footer-container ul li a {
  font-family: "Manrope", Arial;
}
@media (max-width: 720px) {
  footer .footer-container {
    display: flex;
    flex-direction: column;
  }
}
footer .copyright {
  margin: 20px 0;
  font-family: "Manrope", Arial;
}

.radio-container,
.input-container,
.checkbox-container {
  font-family: Arial, sans-serif;
  max-width: 600px;
  position: relative;
}
.radio-container .radio-name,
.radio-container .input-name,
.radio-container .checkbox-name,
.input-container .radio-name,
.input-container .input-name,
.input-container .checkbox-name,
.checkbox-container .radio-name,
.checkbox-container .input-name,
.checkbox-container .checkbox-name {
  font-size: 16px;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
.radio-container .radio-selector,
.radio-container .checkbox-selector,
.input-container .radio-selector,
.input-container .checkbox-selector,
.checkbox-container .radio-selector,
.checkbox-container .checkbox-selector {
  overflow-y: auto;
  height: 100%;
  top: 0;
}
.radio-container .radio-selector-container,
.radio-container .checkbox-selector-container,
.input-container .radio-selector-container,
.input-container .checkbox-selector-container,
.checkbox-container .radio-selector-container,
.checkbox-container .checkbox-selector-container {
  border: none;
  border-radius: 5px;
  background: #f9f9f9;
  height: 0;
  padding: 0;
  overflow: hidden;
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 10;
  transition: height 0.2s ease, padding 0.2s ease;
}
.radio-container .radio-selector-container.opened,
.radio-container .checkbox-selector-container.opened,
.input-container .radio-selector-container.opened,
.input-container .checkbox-selector-container.opened,
.checkbox-container .radio-selector-container.opened,
.checkbox-container .checkbox-selector-container.opened {
  border: 1px solid #ddd;
  height: 140px;
  padding: 10px;
}
.radio-container .radio-element,
.input-container .radio-element,
.checkbox-container .radio-element {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.radio-container .radio-element input,
.input-container .radio-element input,
.checkbox-container .radio-element input {
  margin-right: 5px;
}
.radio-container .search-box,
.input-container .search-box,
.checkbox-container .search-box {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--lightgray);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}
.radio-container .search-box:focus,
.input-container .search-box:focus,
.checkbox-container .search-box:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 126, 204, 0.1);
}

.image-preview {
  position: relative;
}

.preview-image {
  position: relative;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.remove-image {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(255, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.message-attachments {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
  width: 100%;
  grid-template-columns: 0.2fr 0.8fr;
  align-items: end;
}

.attachment-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s;
  cursor: pointer;
}
.attachment-image:hover {
  transform: scale(1.05);
}

.error {
  color: red;
  font-size: 14px;
}

.container-404 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 560px;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.search-result {
  margin: 10px 0;
  color: var(--darkgray);
  font-size: 14px;
  font-family: "Manrope";
}

.filter-field {
  margin-bottom: 20px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 8px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fafbfc;
}
.filter-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 14px;
}
.filter-field input[type=text],
.filter-field input[type=number],
.filter-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--lightgray);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}
.filter-field input[type=text]:focus,
.filter-field input[type=number]:focus,
.filter-field select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 126, 204, 0.1);
}
.filter-field .checkbox-option,
.filter-field .radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}
.filter-field .checkbox-option:last-child,
.filter-field .radio-option:last-child {
  margin-bottom: 0;
}
.filter-field .checkbox-option input[type=checkbox],
.filter-field .checkbox-option input[type=radio],
.filter-field .radio-option input[type=checkbox],
.filter-field .radio-option input[type=radio] {
  margin: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.filter-field .checkbox-option span,
.filter-field .radio-option span {
  color: var(--dark);
  cursor: pointer;
  user-select: none;
}
.filter-field .checkbox-option span:hover,
.filter-field .radio-option span:hover {
  color: var(--yellow);
}
.filter-field .range-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-field .range-inputs input {
  flex: 1;
}
.filter-field .range-inputs span {
  color: var(--gray);
  font-weight: 500;
}
@media (max-width: 768px) {
  .filter-field .range-inputs {
    flex-direction: column;
    gap: 8px;
  }
  .filter-field .range-inputs span {
    display: none;
  }
}

.swal2-confirm-green {
  color: #000000 !important;
}

.lb-outerContainer {
  border-radius: 8px;
}

.lb-dataContainer {
  border-radius: 0 0 8px 8px;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
  opacity: 1;
}

.lb-closeContainer {
  position: absolute !important;
  top: 10px;
  right: 40px;
  z-index: 1101;
}

.lb-closeContainer .lb-close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lb-data .lb-details {
  display: none !important;
}

.lb-data .lb-caption {
  font-weight: 500;
  color: #333;
}

.gallery .image-wrapper a {
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery .image-wrapper a:hover {
  transform: scale(1.02);
}

.gallery .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.filters-accordion {
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fafbfc;
}

.filter-toggle {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--lightgray);
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  margin-top: 10px;
}

.filter-toggle:hover {
  background: rgba(241, 240, 243, 0.5);
}

.filter-arrow {
  font-size: 16px;
  margin-left: 8px;
  transition: transform 0.2s;
}

.filter-content {
  margin-top: 10px;
  display: none;
}

.classifieds-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .classifieds-toolbar {
    justify-content: space-between;
  }
}
.classifieds-toolbar .toolbar-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 768px) {
  .classifieds-toolbar .toolbar-group label {
    display: none;
  }
}
@media (min-width: 769px) {
  .classifieds-toolbar .toolbar-group.view-toggle {
    margin-left: auto;
  }
}
.classifieds-toolbar select,
.classifieds-toolbar button {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
}
.classifieds-toolbar .view-toggle {
  display: flex;
  gap: 6px;
}
.classifieds-toolbar .view-toggle button {
  background: #f3f3f3;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s;
}
.classifieds-toolbar .view-toggle button.active {
  background: #afff89;
}
.classifieds-toolbar .mobile-filter-open {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 10;
}
@media (max-width: 768px) {
  .classifieds-toolbar .mobile-filter-open {
    display: block;
  }
}
.classifieds-toolbar .mobile-filter-open button {
  border-radius: 90%;
  width: 60px;
  height: 60px;
  background: #afff89;
  font-size: 18px;
}

.classifieds-grid.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}

.classifieds-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.classifieds-grid.list-view .classifieds-element {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
}
.classifieds-grid.list-view .classifieds-element__image {
  width: 160px;
  min-width: 160px;
}
.classifieds-grid.list-view .classifieds-element__info {
  flex: 1;
  padding: 0 8px;
}

.custom-select {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-width: 100px;
  margin: 6px 0;
  font-family: "Manrope", Arial;
}
.custom-select .select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 32px;
  padding: 0 12px;
  background: #ffffff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 2px rgba(189, 189, 189, 0.3882352941);
  cursor: pointer;
  font-size: 14px;
  color: #252525;
  transition: all 0.3s ease;
  user-select: none;
  border: 1px solid #e1e5e9;
}
.custom-select .select-trigger:hover {
  border-color: #c1c7cd;
}
.custom-select .select-trigger:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 234, 11, 0.1);
}
.custom-select .select-trigger .select-value {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-select .select-trigger .select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.custom-select .select-trigger .select-arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  transition: transform 0.3s ease;
}
.custom-select .select-trigger.open .select-arrow::before {
  transform: rotate(180deg);
}
.custom-select .select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 4px;
}
.custom-select .select-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-select .select-dropdown .select-option {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 14px;
  color: #252525;
}
.custom-select .select-dropdown .select-option:hover {
  background: #f8f9fa;
}
.custom-select .select-dropdown .select-option.selected {
  font-weight: 500;
  color: #007ecc;
  background: rgba(0, 126, 204, 0.1);
}
.custom-select .select-dropdown .select-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.custom-select .select-dropdown .select-option.disabled:hover {
  background: transparent;
}
.custom-select .select-dropdown::-webkit-scrollbar {
  width: 6px;
}
.custom-select .select-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.custom-select .select-dropdown::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
.custom-select .select-dropdown::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
.custom-select .select-placeholder {
  color: #999;
}
.custom-select.disabled .select-trigger {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}
.custom-select.disabled .select-trigger:hover {
  box-shadow: 0 2px 2px rgba(189, 189, 189, 0.3882352941);
  transform: none;
}
@media (max-width: 768px) {
  .custom-select .select-trigger {
    height: 40px;
    font-size: 16px;
  }
  .custom-select .select-dropdown .select-option {
    padding: 12px 16px;
    font-size: 16px;
  }
}

.filter-select.custom-select .select-trigger {
  background: #fafbfc;
  border: 1px solid #e1e5e9;
}
.filter-select.custom-select .select-trigger:hover {
  border-color: #c1c7cd;
}
.filter-select.custom-select .select-trigger:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 234, 11, 0.1);
}

.classifieds-toolbar .custom-select {
  max-width: none;
  min-width: 120px;
  margin: 0;
}

.filter-currency.custom-select {
  max-width: 80px;
  min-width: 80px;
  margin-left: 8px;
}
.filter-currency.custom-select .select-trigger {
  padding: 0 8px;
  font-size: 13px;
}

.swal2-confirm-green {
  color: #000000 !important;
}

.dataTables_filter {
  width: 100%;
}
.dataTables_filter label {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.dataTables_filter label input {
  width: 100% !important;
  padding: 10px 12px !important;
  border: 1px solid var(--lightgray) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  transition: border-color 0.3s ease !important;
  background: white !important;
}

.selected-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
}
.selected-filters .selected-filter-item {
  background: var(--lightgray);
  border-radius: 16px;
  padding: 6px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.classified-filters-table {
  background-color: white;
  border-radius: 6px;
  padding: 20px;
  margin-top: 20px;
}
.classified-filters-table .filters-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  font-size: 1.05em;
  box-shadow: 0 1px 0 #e6eaf0;
  border-radius: 12px;
  overflow: hidden;
}
.classified-filters-table .filters-table th,
.classified-filters-table .filters-table td {
  padding: 14px 18px;
  text-align: left;
  border: none;
  transition: background 0.2s;
}
.classified-filters-table .filters-table th {
  background: #f4f7fb;
  font-weight: 700;
  color: #3a4a5d;
  font-size: 1.08em;
  border-bottom: 2px solid #e6eaf0;
}
.classified-filters-table .filters-table tr {
  transition: background 0.18s;
}
.classified-filters-table .filters-table tr:nth-child(even) {
  background: #f8fafc;
}
.classified-filters-table .filters-table tr:hover {
  background: #eaf3ff;
}
.classified-filters-table .filters-table .filter-name {
  color: #4a5a6a;
  font-weight: 600;
  min-width: 160px;
  width: 38%;
  letter-spacing: 0.01em;
}
.classified-filters-table .filters-table .filter-value {
  color: #1a2233;
  font-weight: 400;
  word-break: break-word;
}
@media (max-width: 600px) {
  .classified-filters-table .filters-table th,
  .classified-filters-table .filters-table td {
    padding: 10px 6px;
    font-size: 0.98em;
  }
}

/*# sourceMappingURL=style.css.map */
