/* Kapsayıcı */
.dntt {
  display: inline-flex;
  align-items: center;
  margin-left: 15px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  z-index: 9999;
}

.dntt:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Icon sarmalayıcı */
.dntt__wrap {
  line-height: 0;
}

/* Tooltip */
.dntt__tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 320px;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99999;
  white-space: normal;
  word-wrap: break-word;
}

.dntt__tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.9);
}

/* Hover’da tooltip göster */
.dntt:hover .dntt__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

/* Tema varyasyonları */
.dntt.dntt--night .dntt__tooltip {
  background: rgba(20, 20, 40, 0.95);
  border-color: rgba(135, 206, 235, 0.2);
  color: #e6f3ff;
}
.dntt.dntt--night .dntt__tooltip::after {
  border-bottom-color: rgba(20, 20, 40, 0.95);
}

.dntt.dntt--day .dntt__tooltip {
  background: rgba(40, 20, 20, 0.95);
  border-color: rgba(255, 165, 0, 0.2);
  color: #fff8e6;
}
.dntt.dntt--day .dntt__tooltip::after {
  border-bottom-color: rgba(40, 20, 20, 0.95);
}

/* Ensure header containers don't clip the tooltip */
.header, .headerortala { overflow: visible !important; }

/* Icon animasyonları */
.dntt__icon--sun {
  animation: dntt-sun-rotate 20s linear infinite;
  filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
}
.dntt__icon--moon {
  animation: dntt-moon-glow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px rgba(135, 206, 235, 0.6));
}

/* Keyframes */
@keyframes dntt-sun-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes dntt-moon-glow {
  0% { filter: drop-shadow(0 0 4px rgba(135, 206, 235, 0.3)); }
  100% { filter: drop-shadow(0 0 12px rgba(135, 206, 235, 0.8)); }
}
