/* KazBusiness.kz — Custom Styles */
:root {
  --color-ink: #14201C;
  --color-paper: #F7F5EF;
  --color-steppe: #2F6F4E;
  --color-steppe-dark: #24583E;
  --color-clay: #B4531F;
}

body {
  background-color: var(--color-paper);
  color: var(--color-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Custom Marker Pins */
.custom-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.custom-pin:hover {
  transform: rotate(-45deg) scale(1.15);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  z-index: 1000 !important;
}

.custom-pin-inner {
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border-radius: 50%;
}

/* Cluster Marker styling */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background-color: rgba(47, 111, 78, 0.3) !important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background-color: #2F6F4E !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
  background: #ffffff;
  color: #14201C;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(20, 32, 28, 0.2), 0 8px 10px -6px rgba(20, 32, 28, 0.1);
  border: 1px solid rgba(20, 32, 28, 0.08);
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.5;
}

.leaflet-popup-tip {
  background: #ffffff;
}

/* Leaflet control search styling */
.map-search-container {
  box-shadow: 0 4px 12px rgba(20, 32, 28, 0.12);
}

/* Transitions */
.transition-all-custom {
  transition: all 0.2s ease-in-out;
}
