/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

body {
  text-transform: uppercase;
}

.container {
  padding-bottom: 75px !important;
  /* Alt boşluk eklenir */
}

a {
  text-decoration: none;
}

.sifremiunuttum {
  font-style: italic;
  color: black;
  font-size: 12px;
}


body,
html {
  background-color: #f5f5f5;
  /* Açık gri zemin */
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.header-bar {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 15px 20px;
  position: relative;
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  gap: 10px;
}

/* Select2'de gösterilen seçili metni sola hizala */
/* Select2 seçili alanın sola hizalanması */
.select2-selection__rendered {
  text-align: left !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  line-height: 38px !important;
  /* input ile hizalanması için */
}

/* Select2 container boyutu, form-control ile aynı görünüm için */
.select2-container .select2-selection--single {
  height: 42px !important;
  /* Bootstrap input yüksekliği ile uyumlu */
  border: 1px solid #ced4da !important;
  border-radius: 5px !important;
}

.select2-selection__arrow {
  height: 48px !important;
  /* ok ikonunun hizalanması */
}

/* Açılır listede sola hizalama */
.select2-results__option {
  text-align: left !important;
}


/* Telefon input container'ı uyumlu hale getir */
.iti {
  width: 100% !important;
}

/* Telefon input'un padding ve fontunu optimize et */
.iti input[type="tel"] {
  width: 100% !important;
  padding-left: 85px !important;
  /* bayrak ikonuna yer bırakır */
  height: 45px !important;
  font-size: 16px;
  border-radius: 6px;
}

/* Dropdown listesi düzgün çıkmalı */
.iti__country-list {
  z-index: 9999 !important;
  max-height: 200px;
  overflow-y: auto;
}

/* Bayrak butonu hizalama */
.iti__flag-container {
  top: 8px !important;
}

/* Form içindeki boşlukları iyileştir */
#loginForm .form-group {
  margin-bottom: 15px;
}

/* Mobil görünüm düzeltmesi */
@media (max-width: 480px) {
  .iti input[type="tel"] {
    font-size: 14px;
  }
}

.profil-karti {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  margin: auto;
  overflow: hidden;
}

.profil-header {
  background-color: #e8e8e8;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profil-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.profil-info {
  flex-grow: 1;
}

.profil-info p {
  margin: 0;
  font-size: 14px;
}

.profil-zaman {
  font-size: 12px;
  text-align: right;
}

.profil-icerik {
  padding: 15px;
}

.btn-yellow {
  background-color: #dbb345;
  color: black;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin: 10px 0;
}

.bilgi-grubu {
  margin: 15px 0;
}



.bilgi-icerik {
  font-size: 14px;
  color: #222;
  margin-top: 5px;
}

.dropdown {
  background-color: #dbb345;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
  cursor: pointer;
}

.ilan-kapsayici {
  margin-bottom: 0px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.ilan-kapsayici,
.ilan-baslik,
.ilan-detaylar {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ilan-baslik {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  background-color: #f9f9f9;
  cursor: pointer;
  border: 3px solid #68722f;
  border-radius: 12px;
}

.ilan-baslik img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.ilan-bilgi {
  flex: 1;
  padding-left: 5px;
}

.ilan-bilgi .isim {
  font-weight: bold;
}

.ilan-bilgi .ilan-no-bilgisi {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #68722f !important;
  margin-top: 2px !important;
  line-height: 1.15 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.ilan-detaylar {
  display: none;
  padding: 20px;
  background-color: #fff;
}

.btn-yellow {
  background-color: #687230;
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  font-weight: bold;
  margin: 15px 0;
  cursor: pointer;
  width: 100%;
  color: white;
}

.ilan-kapsayici,
.ilan-baslik,
.ilan-detaylar {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px;
}

.bilgi-baslik {
  color: #68722f;
  margin: 5px 0 5px;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}

.bolum {
  border-top: 2px solid #deb544;
  padding-top: 10px;
  margin-top: 10px;
  font-size: 13.5px !important;
}

.kisi-karti {
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.dropdown-button {
  background-color: #68722f;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-weight: bold;
  margin-top: 10px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  color: white;
}

.dropdown-content {
  display: none;
  padding: 10px;
  background-color: #fff;
  border: 2px solid #68722f;
  border-radius: 4px;
  margin-top: -7px;
  box-sizing: border-box;
  overflow: hidden;
}

.kisi-aksiyon-butonlar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin-top: 10px;
  box-sizing: border-box;
  width: 100%;
}

.kisi-aksiyon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.kisi-aksiyon-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.kisi-aksiyon-btn.btn-whatsapp {
  background-color: #25D366;
  color: #fff !important;
}

.kisi-aksiyon-btn.btn-ara {
  background-color: #dfb545;
  color: #111 !important;
}

.kisi-aksiyon-btn.btn-paylas {
  background-color: #68722f;
  color: #fff !important;
}

.kisi-aksiyon-btn.btn-profil {
  background-color: #dfb545;
  color: #111 !important;
}

.kisi-aksiyon-btn.btn-full {
  grid-column: 1 / -1;
}


/* ÜST BAR */
.header-bar {
  background-color: #dbb345;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: black;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-bar .logo {
  text-align: center;
  flex: 1;
}

.header-bar .left-icon,
.header-bar .right-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  border-radius: 50%
}

.header-bar img {
  height: 50px;
  /*width: 50px;
		border-radius: 50%*/
}


.header-bar .title {
  font-size: 14px;
  display: block;
  text-transform: uppercase;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  justify-content: center;
  align-items: center;
  z-index: 999999999
}

.modal-content {
  background: linear-gradient(to bottom right, #697330, #30421b);
  border-radius: 15px;
  padding: 20px;
  width: 100%;
  max-width: 325px;
  margin: auto;
  margin-top: 25px;
}

.modal-content h3 {
  margin-top: 0;
  font-size: 18px;
  border-bottom: 2px solid #dfb545;
  padding-bottom: 10px;
}

.modal-content label {
  display: block;
  font-size: 14px;
  margin-top: 15px;
  color: #fff;
}

.modal-content select,
.modal-content input[type="text"],
.modal-content input[type="date"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 5px;
}

.modal-footer {
  text-align: center;
  margin-top: 20px;
  border-top: 2px solid #dfb545 !important;
}

.modal-footer button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  width: 45%;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #68722f;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  border-top: 2px solid #68722f;
  /* Kirmizi çizgi */
  z-index: 9999 !important;

}

.nav-item {
  text-align: center;
  color: #000;
  font-size: 14px;
}

.nav-item i {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.nav-item.active {
  font-weight: bold;
}

div:where(.swal2-icon).swal2-warning {
  border-color: #d33 !important;
  color: #d33 !important;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 280px;
  max-width: 85vw;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(to bottom right, #697330, #30421b);
  z-index: 9999999999;
  transition: left 0.3s ease, visibility 0.3s ease;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.sidebar-content {
  padding: 50px 20px 15px 20px;
  padding-top: max(50px, env(safe-area-inset-top, 50px));
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sidebar-logo {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: block;
  margin: 10px auto 14px auto;
  object-fit: cover;
}

.sidebar-user-info {
  text-align: center;
  margin-bottom: 24px;
  padding: 0 10px;
}

.sidebar-firma-adi {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  word-break: break-word;
  line-height: 1.3;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.sidebar-uye-adi {
  color: #dfb545;
  font-size: 13px;
  font-weight: 600;
  word-break: break-word;
  line-height: 1.3;
}

.sidebar ul,
.sidebar-menu-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
}

.sidebar ul li,
.sidebar-menu-list li {
  font-weight: normal;
  margin: 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 2.4;
  color: white;
  font-size: 17px;
  transition: color 0.15s, transform 0.15s;
}

.sidebar ul li:hover,
.sidebar-menu-list li:hover {
  color: #dfb545;
  transform: translateX(4px);
}

.sidebar-footer-bottom {
  flex-shrink: 0;
  width: 100%;
  padding: 15px 20px calc(15px + env(safe-area-inset-bottom, 0px)) 20px;
  text-align: center;
  box-sizing: border-box;
}

.sidebar-footer-bottom img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.95;
  transition: transform 0.2s ease;
}

.sidebar-footer-bottom img:hover {
  transform: scale(1.03);
}

/* Karartma */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

/* Sidebar Açıldığında */
.sidebar.open {
  left: 0;
  visibility: visible;
  pointer-events: auto;
}

.overlay.show {
  display: block;
}

.mesajlar-container {
  padding: 10px;
  background-color: #f9f9f969;
}

.mesaj-kutu {
  display: flex;
  align-items: flex-start;
  background: white;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.mesaj-icerik {
  flex: 1;
}

.mesaj-baslik {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: bold;
  color: #333;
}

.profil_fotografi {
  width: auto;
  display: inline-block;
  flex-shrink: 0;
}

.mesaj-baslik .isim {
  flex: 1;
  text-align: left !important;
  margin-left: 12px;
}

.mesaj-kimden {
  font-size: 13px;
  color: #555;
  margin-top: 2px;
  text-align: left;
  position: absolute;
  top: 35px;
  left: 4rem;
}

.mesaj-metin {
  font-size: 14px;
  margin-top: 4px;
  color: #222;
  text-align: left;
}

/* Alt mesaj gönderme alanı */
.mesaj-gonder-alani {
  position: fixed;
  bottom: 66px;
  left: 0;
  width: 100%;
  display: flex;
  background: white;
  padding: 10px;
  border-top: 1px solid #ddd;
}

.mesaj-gonder-alani input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 14px;
}

.mesaj-gonder-alani button {
  background: #2196F3;
  color: white;
  border: none;
  margin-left: 10px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mesaj-gonder-alani i {
  font-size: 18px;
}

.swal2-container {
  z-index: 999999999999999999 !important;
}

.btn-warning {
  background: linear-gradient(to bottom right, #dfb544, #dfb544);
  border: none;
  color: white;
}

.header-bar {
  background: linear-gradient(to bottom right, #697330, #30421b);

}

#menuToggle {
  color: white !important;
}

.logo .title {
  color: white !important
}

.filter-label {
  color: white !important
}

.bottom-nav {
  background: linear-gradient(to bottom right, #697330, #30421b);
  z-index: 9999;
}

.nav-item i {
  color: white !important
}

.nav-item span {
  color: white !important
}

.profile-photo {
  width: 50px !important
}

#profileImagePreview {
  width: 120px !important
}

/* Tüm Modallarda Kapatma İkonu: Sarı zemin üstüne beyaz çarpı */
.modal-close,
.close-modal,
.kamera-modal-close,
.turu-modal-close,
#closeProfilModal,
.modal-header .close,
.modal-header button.close,
.swal2-close {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 50% !important;
  background: #dfb445 !important;
  background-color: #dfb445 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  font-weight: bold !important;
  line-height: 1 !important;
  cursor: pointer !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  text-shadow: none !important;
}

.modal-close:hover,
.close-modal:hover,
.kamera-modal-close:hover,
.turu-modal-close:hover,
#closeProfilModal:hover,
.modal-header .close:hover,
.modal-header button.close:hover,
.swal2-close:hover {
  background: #c99f32 !important;
  background-color: #c99f32 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  transform: scale(1.08) !important;
}

.modal-close span,
.close-modal span,
.modal-header .close span {
  color: #ffffff !important;
  line-height: 1 !important;
  font-weight: bold !important;
}

.header-bar .right-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 40px;
  justify-content: flex-end;
}

.btn-header-back {
  color: #fff !important;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  flex-shrink: 0;
  border: none;
  background: transparent;
}

.btn-header-back:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #dfb545 !important;
}

.btn-header-back:active {
  transform: scale(0.92);
}