html,
body,
#dashboardMap {
  height: 100vh;
  margin: 0;
  padding: 0;
}

#dashboardMap {
  position: fixed;
  top: 0;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 1;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffffee;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  z-index: 9999;
  margin: 15px;
}

.bottom-bar-link,
.bottom-bar-button {
  color: rgb(112 131 245 / 1);
  font-size: 1.6rem;
  text-decoration: none;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.bottom-bar-link:hover,
.bottom-bar-button:hover:not(.disabled) {
  color: rgb(58, 81, 211);
  transform: scale(1.15);
}

.bottom-bar-button {
  background-image: linear-gradient(55.15deg, #8EA5FE -7.09%, #BEB3FD 51.72%, #90D1FF 101.48%);
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 2.6rem;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.bottom-bar-button:active:not(.disabled) {
  transform: scale(0.9);
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.7);
}

.bottom-bar-button.disabled {
  color: #aaa;
  cursor: not-allowed;
  background-color: #ddd;
  box-shadow: none;
}

/* Dropdown Menü */

.dropdown-container {
  position: relative;
}

#dropdownMenu {
  position: absolute;
  bottom: 70px;
  /* Alt çubuk üstünde */
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  width: 180px;
  display: none;
  flex-direction: column;
  padding: 8px 0;
  user-select: none;
  z-index: 10000;
}

#dropdownMenu.show {
  display: flex;
}

.dropdown-item {
  padding: 10px 20px;
  width: 95%;
  margin: auto;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-radius: 8px;
}

.dropdown-item:hover {
  background: linear-gradient(55.15deg, #8EA5FE -7.09%, #BEB3FD 51.72%, #90D1FF 101.48%);
  color: #ffffff;
  cursor: pointer;
}

.slideup-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;

  width: 30%;
  background: #fff;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  max-height: 85vh;
  transform: translateY(0%);
  transition: transform 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
  padding: 20px 24px 100px;
}

@media (max-width: 1499px) {
  .slideup-panel {
    width: 50%;
  }
}

@media (max-width: 999px) {
  .slideup-panel {
    width: 70%;
  }
}

@media (max-width: 699px) {
  .slideup-panel {
    width: 100%;
    border-radius: 0;
  }
}

/* Sürüklenebilir tutma çubuğu */
.panel-drag {
  width: 50px;
  height: 6px;
  background: #ccc;
  border-radius: 10px;
  margin: 0 auto 10px;
}

/* Gizlenmiş panel için */
.slideup-panel.hidden {
  transform: translateY(50%);
  /* sadece aşağı kaydır */
}

/* Yükleniyor penceresi */

.loading-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
  text-align: center;
}

/* report-detail sayfası */
.single-report-map {
  width: 100%;
  height: 350px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.11);
  border: 1px solid #ececec;
}

.report-detail-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09);
  padding: 24px;
  margin-bottom: 16px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.report-images {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.report-images img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
}

@media (max-width: 600px) {
  .report-detail-card {
    padding: 12px;
  }

  .single-report-map {
    height: 350px;
  }

  .report-images img {
    width: 68px;
    height: 68px;
  }
}

/* görsel oranlama */
.img-cover-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 200px;
  position: relative;
  overflow: hidden;
}

/* Skeleton animasyonlu kutu */
.img-skeleton {
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: skeleton-loading 1s linear infinite;
  height: 100%;
  width: 100%;
  z-index: 1;
}

@keyframes skeleton-loading {
  to {
    background-position-x: -200%;
  }
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  max-height: 200px;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  transition: .18s;
}


img.img-cover:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);
  transform: scale(1.04);
  transition: .18s;
}

/* görsel büyütme modalı için */
#imgZoomModal .modal-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /* Tam ortalama için */
  background: rgba(247, 247, 247, 0.82) !important;
  backdrop-filter: blur(2px);
}

#imgZoomModal .modal-content {
  background: none;
  border: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

#imgZoomModal #zoomedImg {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 8px 64px rgba(0, 0, 0, 0.44);
  border-radius: 18px;
  background: white;
  margin-bottom: 50px;
}

/* boşluk bırakıcı */
.spacer {
  padding: 50px;
}

.spacer-5 {
  padding: 5px;
}

.spacer-10 {
  padding: 10px;
}

.spacer-20 {
  padding: 20px;
}

/* rapor oluşturma sayfası açıklama tasarımı */
.desc-slider {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.desc-item {
  flex: 0 0 auto;
  background: #f5f7ff;
  border: 1.5px solid #ffffff;
  background: linear-gradient(55.15deg, #8EA5FE -7.09%, #BEB3FD 51.72%, #90D1FF 101.48%);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 18px;
  cursor: pointer;
  font-size: 1rem;
  white-space: nowrap;
  transition: background .18s, color .18s, border .18s;
  user-select: none;
}

.desc-item.selected,
.desc-item:hover {
  background: #b4bafe;
  color: #fff;
  border: 1.5px solid #b4bafe;
}

#customDescArea {
  transition: opacity .2s;
}


.custom-container {
  background: white;
  padding: 15px;
  border-radius: 15px;
}

.color-gradient-1 {
  background: linear-gradient(55.15deg, #8EA5FE -7.09%, #BEB3FD 51.72%, #90D1FF 101.48%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-1 {
  background-image: linear-gradient(55.15deg, #8EA5FE -7.09%, #BEB3FD 51.72%, #90D1FF 101.48%);
}

.bg-gradient-2 {
  background: linear-gradient(90deg,#e9f0fa 0,#c8e0ff 100%);
  color: #2464ea;
}

.bg-gradient-3 {
  background: linear-gradient(90deg,#f7f5ff 60%,#bbe3ff 190%);
  color: #3d3d3d;
}

.votecard {
  background: #0000000d;
  padding: 10px;
  border-radius: 10px;
}

.commentauthorbadge {
  background: #0000001f;
  border-radius: 5px;
}

.comment-delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 8px !important;
  margin-right: 2px;
  margin-left: 6px;
}
.comment-row {
  position: relative;
  min-height: 36px;
}

#mapFilterContainer .btn-white {
  background: #fff !important;
  border-radius: 1.5rem !important;
  border: 1px solid #e6e8ec !important;
  color: #333 !important;
  transition: box-shadow 0.18s;
}
#mapFilterContainer .btn-white:focus,
#mapFilterContainer .btn-white:active {
  box-shadow: 0 0 0 0.16rem #85b3f8a1;
  color: #2561d6 !important;
}
#mapFilterContainer .dropdown-menu {
  border-radius: 1.25rem !important;
  box-shadow: 0 4px 28px #0002;
  padding: .2rem 0;
}
#mapFilterContainer .dropdown-item {
  border-radius: .75rem;
  font-weight: 500;
  color: #304050;
  margin: 2px 6px;
  transition: background .13s, color .13s;
}
#mapFilterContainer .dropdown-item.active,
#mapFilterContainer .dropdown-item:active,
#mapFilterContainer .dropdown-item:hover {
  background: linear-gradient(55.15deg, #8EA5FE -7.09%, #BEB3FD 51.72%, #90D1FF 101.48%);
  color: #ffffff;
}
/* @media (max-width: 700px) {
  #mapFilterContainer {
    right: 50%;
    transform: translateX(50%);
    left: auto;
    margin-right: 0;
    top: 14px;
    text-align: right;
    z-index: 1100;
  }
} */

.sta-primary {
  color: #98a8fe;
}

.border-radius-10 {
  border-radius: 10px !important;
}

@media (max-width: 699px) {
  .hide-under-700 {
    display: none !important;
  }
}

