/* ================================
   Premium Corporate Toast Design
================================ */

.Toastify__toast-container {
  width: 420px;
  z-index: 99999;
}

.Toastify__toast-container--top-right {
  top: 22px;
  right: 22px;
}

/* Main toast card */
.corporate-toast {
  position: relative;
  min-height: 76px;
  padding: 0 !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #0c3155 !important;
  border: 1px solid rgba(12, 49, 85, 0.12);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.14),
    0 4px 12px rgba(15, 23, 42, 0.06) !important;
  overflow: hidden;
  backdrop-filter: blur(10px);
  font-family: inherit;
}

/* Remove default toastify padding */
.corporate-toast-body {
  position: relative;
  padding: 18px 48px 18px 64px !important;
  margin: 0 !important;
  color: #0f172a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

/* Hide default icon */
.corporate-toast .Toastify__toast-icon {
  display: none;
}

/* Custom icon circle */
.corporate-toast::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #0c3155;
  z-index: 2;
}

/* Icon symbol */
.corporate-toast::after {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  z-index: 3;
}

/* Close button */
.corporate-toast .Toastify__close-button {
  position: absolute;
  top: 18px;
  right: 16px;
  color: #64748b !important;
  opacity: 1 !important;
  padding: 0 !important;
}

.corporate-toast .Toastify__close-button:hover {
  color: #0c3155 !important;
}

/* Progress bar */
.corporate-toast-progress {
  height: 3px !important;
  opacity: 1 !important;
}

/* Success */
.Toastify__toast--success.corporate-toast {
  border-left: 4px solid #16a34a;
}

.Toastify__toast--success.corporate-toast::before {
  background: rgba(22, 163, 74, 0.12);
}

.Toastify__toast--success.corporate-toast::after {
  content: "✓";
  color: #16a34a;
}

.Toastify__toast--success .Toastify__progress-bar {
  background: #16a34a !important;
}

/* Error */
.Toastify__toast--error.corporate-toast {
  border-left: 4px solid #dc2626;
}

.Toastify__toast--error.corporate-toast::before {
  background: rgba(220, 38, 38, 0.12);
}

.Toastify__toast--error.corporate-toast::after {
  content: "!";
  color: #dc2626;
}

.Toastify__toast--error .Toastify__progress-bar {
  background: #dc2626 !important;
}

/* Warning */
.Toastify__toast--warning.corporate-toast {
  border-left: 4px solid #d97706;
}

.Toastify__toast--warning.corporate-toast::before {
  background: rgba(217, 119, 6, 0.12);
}

.Toastify__toast--warning.corporate-toast::after {
  content: "!";
  color: #d97706;
}

.Toastify__toast--warning .Toastify__progress-bar {
  background: #d97706 !important;
}

/* Info */
.Toastify__toast--info.corporate-toast {
  border-left: 4px solid #0c3155;
}

.Toastify__toast--info.corporate-toast::before {
  background: rgba(12, 49, 85, 0.12);
}

.Toastify__toast--info.corporate-toast::after {
  content: "i";
  color: #0c3155;
  font-family: Georgia, serif;
  font-style: italic;
}

.Toastify__toast--info .Toastify__progress-bar {
  background: #0c3155 !important;
}

/* Mobile */
@media (max-width: 576px) {
  .Toastify__toast-container {
    width: calc(100% - 28px);
    left: 14px;
    right: 14px;
  }

  .corporate-toast {
    border-radius: 14px !important;
  }

  .corporate-toast-body {
    padding-right: 42px !important;
  }
}
