/*!
 * Toastify js Custom Glassmorphism Theme
 */
.toastify {
  padding: 16px 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  background: rgba(26, 27, 30, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  max-width: calc(50% - 20px);
  z-index: 2147483647;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transform: translateY(20px);
}

.toastify.on {
  opacity: 1;
  transform: translateY(0);
}

.toast-close {
  opacity: 0.6;
  padding: 0;
  line-height: 1;
  margin-left: auto;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  transition: opacity 0.2s ease;
}

.toast-close:hover {
  opacity: 1;
}

.toastify-right {
  right: 24px;
}

.toastify-left {
  left: 24px;
}

.toastify-top {
  top: -150px;
}

.toastify-bottom {
  bottom: -150px;
}

.toastify-rounded {
  border-radius: 25px;
}

.toastify-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.toastify-center {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  max-width: fit-content;
  max-width: -moz-fit-content;
}

@media only screen and (max-width: 480px) {
  .toastify {
    padding: 12px 16px;
    margin-bottom: 10px;
    max-width: calc(100% - 32px);
    left: 16px;
    right: 16px;
    border-radius: 12px;
  }
  
  .toastify-left, .toastify-right {
    margin-left: auto;
    margin-right: auto;
    left: 16px;
    right: 16px;
    max-width: calc(100% - 32px);
  }
}

/* Success/Error variants overrides (if handled by inline styles in JS, these might be overridden, but useful for reference) */
/* We rely on the glass effect mostly, but can add subtle tints if needed */
