:root {
  --primary: #ff5a5f;
  --primary-hover: #e04d52;
  --secondary: #24324a;
  --secondary-hover: #1b2435;
}

.custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-in-out;
}

/* PRIMARY */
.custom-btn--primary {
  background-color: var(--primary);
  color: #fff;
}

.custom-btn--primary:hover {
  background-color: var(--primary-hover);
}

/* SECONDARY */
.custom-btn--secondary {
  background-color: var(--secondary);
  color: #fff;
}

.custom-btn--secondary:hover {
  background-color: var(--secondary-hover);
}



/* Webkit için (Chrome, Safari, Edge, Opera) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #888; /* Thumb rengi gri */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555; /* Mouse üzerine geldiğinde daha koyu gri */
}

.dropdown-menu {
    min-width: 100% !important;
  width: 100% !important;
  transform: none !important;
  top: 100% !important;
}

.dropdown-menu.inner {
  min-width: 100% !important;
}

/* Firefox için */
body {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1; /* Başparmak rengi ve zemin rengi */
}
.select-wrapper {
  position: relative;
}

.select-wrapper[data-loading="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (min-width: 991px) {
  .sidebar-menu {
    left: 0;
  }
}

@media screen and (max-width: 991px) {
  .sidebar-menu {
    left: auto;
    right: 100%;
  }

  .sidebar-menu.active {
    right: auto !important;
    left: 0 !important;
  }
}

textarea.form-control {
  height: auto !important;
}

.portfolio_item img {
  object-fit: contain;
}

.custom-toggle {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  user-select: none;
}

.custom-toggle input {
  display: none;
}

.toggle-slider {
  width: 50px;
  height: 25px;
  background: #ddd;
  border-radius: 50px;
  position: relative;
  transition: background 0.3s;
  margin-right: 10px;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}



.image-wrapper-li .portfolio_item:has(input:not(:checked)) img {
  opacity: .3;
}
.image-wrapper-li .portfolio_item {
  overflow: visible !important;
}

.filter_section_box {
  margin: 8px;
  background: white;
  border-radius: 10px;
  padding: 10px 15px;
}

.filter_kategori_tip {
  font-size: 11pt;
  font-weight: 800;
  padding-left: 10px;
}
.filter_kategori_main {
  font-weight: 800;
  font-size: 11pt;
}


.segmented-tab.currencies {
  display: flex;
  border-radius: 8px;
  background-color: #f0f2f5;
  padding: 4px;
  gap: 4px;
}

.segmented-tab.currencies label {
  flex: 1;
  cursor: pointer;
  text-align: center;
  position: relative;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: #555;
  transition: all 0.2s ease-in-out;
}

.segmented-tab.currencies input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-tab.currencies label > span {
  display: block;
  padding: 4px 0;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  position: relative;
  z-index: 2;
  font-size: 9pt;
  border-radius: 6px;

  font-weight: 800;
}

.segmented-tab.currencies input[type="radio"]:checked +  span {
  background-color: #ffffff;
  color: var(--red);
}

.form-control.min-mode {
  height: 36px !important;
  font-size: 10pt !important;
}

.select-min-mode .filter-option{
  font-size: 10pt;
  padding: 0 15px !important;

}
.select-min-mode .dropdown-toggle {
  height: 36px !important;
  line-height: 36px !important;
}
.select-min-mode .dropdown-toggle::after{
  margin-bottom: 5px;
}

.segmented-tab.currencies label:hover span {
  background-color: #e0e2e5;
}

.filter_section_title {
  font-size: 11pt;
  font-weight: 800;
  margin-bottom: 4px;

}

.filter_kategori_alt {
  margin: 0;
  padding-left: 20px;
  font-size: 10pt;
}

.filter_kategori_alt a {
  text-decoration: none;
}

.filter_kategori_alt a:hover {
  text-decoration: underline;
}


/* Map ve container full ekran */
.map-container {
  display: flex;
  height: calc(100vh - 95px);
  width: 100vw;
}

.header-nav {
  z-index: 10000 !important;
}

.header-nav .logo1{
  display: none !important;

}



.add_listing {
  background: var(--red) !important;
}

#respMenu .add_listing a {
  color: white !important;
}

.header-nav .logo2 {
  display: block !important;
}

/* Sidebar scrollable */
.filter-sidebar {
  width: 320px;
  height: 100%;
  background: #f4f4f4;
  transition: transform 0.3s ease;
  z-index: 1000;
  color: #444;
}

.filter-header {
  height: 6%;
}

.fiter-footer {
  height: 7%;
}
.filter-sidebar-inner {
  height: 87%;
  overflow-y: auto;
}

/* Harita full kalan alan */
.map-area {
  flex: 1;
  height: 100%;
}

.leaflet-container {
  height: 100%;
  width: 100%;
}
.filter-close-btn {
  display: none;
}


.ui_kit_select_search {
  position: relative;
}

@media screen and (max-width: 991px) {
  .filter-sidebar {
    width: 100% !important;
  }
}



/* Map search box */
.map-search-box {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 100%;
  max-width: 500px;
}

.map-search-box input {
  width: 100%;
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.leaflet-top.leaflet-left {
  left: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;


}

.leaflet-top.leaflet-left .leaflet-control-zoom  {
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-rigt: 10px !important;
  margin-bottom: 10px; !important;
}
.map-search-box button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border: none;
  outline: none;
  color: white;
  background: var(--red);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  cursor: pointer;
}

/* Mobilde sidebar gizle/aktif toggle */
@media (max-width: 768px) {
  .filter-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    touch-events: none;
    z-index: 10000;
    transform: translateX(-100%);
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  }
  .filter-sidebar.active {
    transform: translateX(0);
    opacity: 1;
    touch-events: all;
  }
  .map-search-box {
    left: auto;
    transform: none;
    padding-left: 20px;
    right: 10px;
  }
  .filter-toggle-btn {
    position: absolute;
    top: 150px;
    right: 10px;

    z-index: 1000;
    background: var(--red);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
  }

  .filter-close-btn {
    display: block;
  }
}

.filter-header {
  background: white;
  padding: 15px;
  margin-bottom: 10px;
}


.portfolio_item .loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .9);
}
.custom-toggle input:checked + .toggle-slider {
  background: var(--red);
}

.custom-toggle input:checked + .toggle-slider::before {
  transform: translateX(25px);
}
.gap-3 {
  gap: 30px;
}
.toggle-label {
  font-size: 16px;
}

.checkbox-label {
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.checkbox-label:hover {
  background-color: #f0f0f0;
  border-color: #999;
}

#videoPreview {
  max-width: 1000px;
  aspect-ratio: 16 / 9;
}
#videoPreview iframe {
  width: 100%;
  height: 100%;
}

.video-uploader-form #videoPreview {
  display: none;
}

.video-uploader-form.active #videoPreview {
  display: block !important;
}
.video-uploader-form.active input {
  border-color: var(--success);
}
.video-uploader-form iframe {
  max-width: 100%;
  border-radius: 6px;
}
.checkbox-input:checked + .checkbox-label {
  background-color: var(--red);
  color: #fff;
  border-color: var(--red);
}
.gap-2 {
  gap: 1.25rem;
}

.map-tutucu {
  width: 100%;
  height: 400px;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
}

.style2 .logo2 {
  display: block !important;
}

.style2 .logo1 {
  display: none !important;
}
.modal {
  z-index: 99999 !important;
}

.dropdown-menu {
  z-index: 10000 !important;
}
.center-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  font-size: 30px;
  color: red;
  z-index: 100000;
  pointer-events: none; /* Haritayı tıklamayı engellemesin */
}


@media (min-width: 1200px) {
  .container {
    max-width: 1370px !important;
  }
}


/* Ilan card *
 */


.ilan_card-feat_property { }
.ilan_card-thumb { }
.ilan_card-img { }
.ilan_card-thumb_content { }
.ilan_card-tag { }
.ilan_card-tag_item {
  white-space: nowrap;
  padding-inline: 10px;
  width: 100px !important;
}
.ilan_card-icon { }
.ilan_card-icon_item { }
.ilan_card-heart { }
.ilan_card-price { }
.ilan_card-details { }
.ilan_card-tc_content {
  padding: 15px !important;
}
.ilan_card-header { }
.ilan_card-type { }
.ilan_card-id {
  font-weight: 600;
  font-size: 14px;
}
.ilan_card-title {
  margin-bottom: 12px !important;
}
.ilan_card-location {
  display: flex;
  margin: 0;
  gap: 5px;
}


a.has-icon {
  display: flex;
  align-items: center;
  gap: 10px;

}
#propertyTab {
  border-bottom: none !important;
}


.dropdown-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 1000;
  right: 100%;
  transition: .2s ease all;
  display: flex !important;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


.btn_only_icon{
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Wizard Container */
.wizard-progress {
  position: relative;
  padding-bottom: 30px;
}

.wizard-progress { position: relative; padding-bottom: 30px; }
.wizard-steps { flex-wrap: wrap;display: flex; justify-content: space-between; list-style: none; padding: 0; margin-bottom: 15px; }
.wizard-steps li { min-width: 100px; text-align: center; flex: 1; position: relative; }
.wizard-steps li.completed {cursor: pointer;}
.wizard-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #ddd; background: #fff; font-weight: bold; color: #666; transition: all 0.3s ease; z-index: 2; position: relative; }
.wizard-steps li.active span, .wizard-steps li.completed span { border-color: var(--red); background: var(--red); color: #fff; }
.wizard-steps li p { font-size: 12px; margin-top: 8px; color: #666; }
.wizard-progress-bar { position: absolute; bottom: 15px; left: 0; width: 100%; height: 4px; background: #e0e0e0; z-index: 1; border-radius: 2px; }
.wizard-progress-line { height: 100%; background: var(--red); width: 0%; border-radius: 2px; transition: width 0.3s ease; }

/* Wizard - Mobil uyumluluk */
@media (max-width: 767px) {
  .wizard .nav-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: none;
  }

  .wizard .nav-tabs li {
    flex: 0 0 auto;
    text-align: center;
    margin-right: 10px;
  }

  .wizard .nav-tabs li a {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 8px;
    background: #f8f9fa;
  }

  .wizard .nav-tabs li.active a {
    background: #007bff;
    color: #fff;
  }

  .wizard .tab-content {
    margin-top: 20px;
  }
}
/* Custom Switch */
.custom-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 20px;
}

.custom-switch .slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .3s;
  border-radius: 50%;
}

.custom-switch input:checked + .slider {
  background-color: var(--red);
}

.custom-switch input:checked + .slider:before {
  transform: translateX(18px);
}

/* Form grubu kapalıysa blur gibi efekt */
.form-group:has(.gizle-input:not(:checked)) input.form-control,
.form-group:has(.gizle-input:not(:checked)) .bootstrap-select{
  opacity: .4;
  pointer-events: none;
}


.dropdown-fullscreen.dashboard-menu a{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  padding: 10px;
}


.dropdown-fullscreen.active {
  right: 0;
  visibility: visible;
  opacity: 1;
  pointer-events: all;

}


.dashboard-toggler {
  width: 100%;
  background: none;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 4px;
  padding: 10px;
  color: #444;
  outline: none;
  margin-bottom: 20px;
}

#propertyTab a {
  justify-content: center;
}
.team_slider .owl-stage {
  padding: 30px 0 !important;
}

.team_slider .details h4 {
  font-size: 14px;
  font-weight: 600 !important;
}
.team_slider .team_title {
  font-size: 15px;
  font-weight: 600 !important;
}

.team_slider .details p {
  font-size: 13px;
}

.team_slider .team_member:hover {
  transform: translateY(-5px);
}

.ilan_card-tag_item.satilik,
.ilan_card-tag_item.satilik-talep {
  background-color: var(--red) !important;
}
.ilan_card-tag_item.kiralik,
.ilan_card-tag_item.kiralik {
  background-color: var(--secondary) !important;
}

.candidate_revew_select .dropdown-toggle {
  width: 100% !important;
}

.dropdown-menu .dropdown-menu li,
.dropdown-menu .dropdown-menu li a {
  width: 100% !important;
}

@media screen and (min-width: 991px){
  .team_slider .team_title {
    font-size: 19px ;
  }

  .team_slider .details h4 {
    font-size: 18px !important;
  }
  .team_slider .details p {
    font-size: 16px;
  }

}
.ilan_card-type{
  font-weight: 600;
}
.ilan_card-header {
  align-items: center;
  font-weight: 600;
  margin-bottom: 4px;
}

.ilan_card-placeholder { }


.padding-section {
  padding: 40px 0 ;
}