/* E-Dhop vitrin alert — tüm temalar ortak (DhAlert) */
.dh-alert-root {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000010;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: min(420px, calc(100vw - 24px));
  pointer-events: none;
}

.dh-alert {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #eef0f3;
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.12), 0 2px 6px rgba(16, 24, 40, 0.06);
  font-family: var(--font, inherit);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dh-alert.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dh-alert.is-leaving {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.dh-alert__icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}

.dh-alert--success .dh-alert__icon {
  color: #16a34a;
}

.dh-alert--error .dh-alert__icon {
  color: #dc2626;
}

.dh-alert--info {
  border-color: #e0e7ff;
  background: #f8faff;
}

.dh-alert--info .dh-alert__icon {
  color: #2f5bda;
}

.dh-alert__message {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.dh-alert__close {
  flex-shrink: 0;
  margin: -2px -4px 0 0;
  border: none;
  background: none;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
}

.dh-alert__close:hover {
  color: #111;
  background: #f3f4f6;
}
