/* ==========================================================================
   SUKOON PROPERTY — CLEAN BRAND TOASTR NOTIFICATIONS
   Primary Theme Color: #6f4fe0 (Sukoon Purple)
   ========================================================================== */

/* Toast Container & Position */
#toast-container {
  z-index: 9999999 !important;
  pointer-events: auto !important;
}

#toast-container.toast-top-right {
  top: 28px !important;
  right: 28px !important;
}

#toast-container.toast-top-left {
  top: 28px !important;
  left: 28px !important;
}

#toast-container.toast-bottom-right {
  bottom: 28px !important;
  right: 28px !important;
}

#toast-container.toast-bottom-left {
  bottom: 28px !important;
  left: 28px !important;
}

#toast-container.toast-top-center,
#toast-container.toast-bottom-center {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ==========================================================================
   BASE TOAST CARD — Pure #6f4fe0 Sukoon Purple (NO Pink, NO Left Icon)
   ========================================================================== */
#toast-container > div,
#toast-container > div.toast,
#toast-container > .toast,
#toast-container > .toast-success,
#toast-container > .toast-error,
#toast-container > .toast-warning,
#toast-container > .toast-info {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  opacity: 1 !important;
  background-image: none !important;
  
  /* Pure Sukoon Brand Color #6f4fe0 */
  background: #6f4fe0 !important;
  background: linear-gradient(135deg, #7b5ce8 0%, #6f4fe0 55%, #5a38bf 100%) !important;
  
  border-radius: 12px !important;
  /* Left padding clean 20px (left icon removed), right padding 44px for close button */
  padding: 16px 44px 16px 20px !important;
  min-width: 320px !important;
  max-width: 440px !important;
  width: auto !important;
  margin: 0 0 12px 0 !important;
  color: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  
  /* Clean Glassmorphic Border & Lighting (No pinkish borders) */
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
  
  /* Soft Ambient Purple Glow */
  box-shadow: 
    0 18px 42px -8px rgba(111, 79, 224, 0.48),
    0 6px 18px -4px rgba(28, 26, 41, 0.16),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.35) !important;
    
  cursor: pointer !important;
  transform: translateZ(0);
  animation: skToastSpringIn 0.32s cubic-bezier(0.18, 0.89, 0.32, 1.15) forwards;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, opacity 0.2s ease !important;
}

#toast-container > div.toast:hover,
#toast-container > div:hover {
  opacity: 1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 
    0 22px 46px -6px rgba(111, 79, 224, 0.58),
    0 8px 22px -2px rgba(28, 26, 41, 0.20),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.45) !important;
}

/* ==========================================================================
   REMOVE LEFT CROSS / ICON (Only right upper corner close button remains)
   ========================================================================== */
#toast-container > div.toast::before,
#toast-container > div::before,
#toast-container > .toast::before,
#toast-container > .toast-success::before,
#toast-container > .toast-error::before,
#toast-container > .toast-warning::before,
#toast-container > .toast-info::before {
  display: none !important;
  content: none !important;
  background-image: none !important;
  border: none !important;
}

/* All variants keep consistent #6f4fe0 Sukoon Purple (NO pink tints) */
#toast-container > div.toast-success,
#toast-container > .toast-success,
#toast-container > div.toast-error,
#toast-container > .toast-error,
#toast-container > div.toast-warning,
#toast-container > .toast-warning,
#toast-container > div.toast-info,
#toast-container > .toast-info {
  background: #6f4fe0 !important;
  background: linear-gradient(135deg, #7b5ce8 0%, #6f4fe0 55%, #5a38bf 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
}

/* ==========================================================================
   TYPOGRAPHY & CONTENT
   ========================================================================== */
#toast-container .toast-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #ffffff !important;
  letter-spacing: -0.2px !important;
  margin: 0 0 4px 0 !important;
}

#toast-container .toast-message {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.48 !important;
  color: #ffffff !important;
  word-wrap: break-word !important;
}

#toast-container .toast-message b,
#toast-container .toast-message strong {
  font-weight: 700 !important;
  color: #ffffff !important;
}

#toast-container .toast-message a {
  color: #ffffff !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   RIGHT UPPER CORNER CLOSE BUTTON (Single Clean Close Button)
   ========================================================================== */
#toast-container .toast-close-button {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.85 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

#toast-container .toast-close-button:hover {
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.32) !important;
  transform: rotate(90deg) scale(1.1) !important;
}

/* Sleek Glowing Progress Bar */
#toast-container .toast-progress {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.55)) !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6) !important;
  border-radius: 0 0 12px 12px !important;
  opacity: 0.95 !important;
}

/* Premium Spring In Animation */
@keyframes skToastSpringIn {
  0% {
    opacity: 0;
    transform: translateY(-18px) scale(0.95);
  }
  75% {
    opacity: 1;
    transform: translateY(2px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile Friendly)
   ========================================================================== */
@media (max-width: 576px) {
  #toast-container.toast-top-right,
  #toast-container.toast-top-left,
  #toast-container.toast-top-center {
    top: 14px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: none !important;
  }

  #toast-container > div.toast,
  #toast-container > div {
    min-width: 0 !important;
    width: 100% !important;
    padding: 14px 40px 14px 18px !important;
    border-radius: 12px !important;
  }

  #toast-container .toast-title {
    font-size: 13.5px !important;
  }

  #toast-container .toast-message {
    font-size: 12.5px !important;
  }
}
