/* Alert / Notification Styles */
.alert-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  gap: 8px;
  margin-top: 12px;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.alert-container .success-alert {
  pointer-events: auto;
}

.success-alert {
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(18, 16, 14, 0.8) 0%,
    rgba(18, 16, 14, 0.6) 100%
  );
  border: 1.5px solid var(--main-accent);
  box-shadow: 
    0 8px 32px rgba(218, 192, 155, 0.15),
    inset 0 1px 0 rgba(218, 192, 155, 0.2);
  backdrop-filter: blur(10px);
  animation: slideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 640px) {
  .success-alert {
    min-height: 60px;
    padding: 16px 18px;
  }
}

.success-alert.hide {
  animation: slideOut 0.3s ease-out forwards;
}

.alert-content {
  display: flex;
  gap: 12px;
  flex: 1;
  align-items: center;
}

.alert-icon {
  color: var(--main-accent);
  background: linear-gradient(
    135deg,
    rgba(218, 192, 155, 0.15) 0%,
    rgba(218, 192, 155, 0.08) 100%
  );
  border: 1px solid rgba(218, 192, 155, 0.3);
  backdrop-filter: blur(12px);
  padding: 6px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.alert-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.alert-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.alert-text p:first-child {
  color: var(--main-white);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
}

.alert-text p:last-child {
  color: rgba(218, 192, 155, 0.7);
  font-size: 13px;
  line-height: 1.2;
  font-family: "Bitter", serif;
}

.alert-close-btn {
  color: var(--main-accent);
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.7;
}

.alert-close-btn:hover {
  background-color: rgba(218, 192, 155, 0.12);
  opacity: 1;
}

.alert-close-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
