/* Custom Toast Close Button Styles */
.close-button {
  position: absolute;
  top: 50%;
  right: 1px;
  transform: translateY(-50%);
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 18px;
  padding: 0px;
  line-height: 1;
  color: #666;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 10;
}

.close-button:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #000;
}

.close-button:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.2);
}

/* Ensure the toast content has proper spacing */
.toast-content {
  padding-right: 30px;
  position: relative;
}

/* Dark theme adjustments */
[data-theme="dark"] .close-button,
.dark .close-button {
  color: #ccc;
}

[data-theme="dark"] .close-button:hover,
.dark .close-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

[data-theme="dark"] .close-button:focus,
.dark .close-button:focus {
  background: rgba(255, 255, 255, 0.2);
}
