/* ===================================================================
   SWEETALERT2 AURORA GLASSMORPHISM THEME
   Premium $100M Enterprise SaaS Level Design
   Author: Paweł Danielewski / AI Assistant
   Version: 1.0.0
   =================================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* Premium easing curves */
  --swal-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --swal-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --swal-ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Timing */
  --swal-duration-fast: 200ms;
  --swal-duration-normal: 300ms;
  --swal-duration-slow: 500ms;
  
  /* Colors */
  --swal-glass-bg: rgba(255, 255, 255, 0.85);
  --swal-glass-border: rgba(255, 255, 255, 0.6);
  --swal-shadow-color: rgba(99, 102, 241, 0.15);
  --swal-primary: #7c3aed;
  --swal-primary-rgb: 124, 58, 237;
  --swal-error: #ef4444;
  --swal-error-soft: rgba(239, 68, 68, 0.08);
  --swal-error-border: rgba(239, 68, 68, 0.15);
  --swal-success: #10b981;
  --swal-success-soft: rgba(16, 185, 129, 0.08);
  --swal-warning: #f59e0b;
  --swal-warning-soft: rgba(245, 158, 11, 0.08);
  --swal-info: #3b82f6;
  --swal-info-soft: rgba(59, 130, 246, 0.08);
  --swal-text-primary: #1e293b;
  --swal-text-secondary: #64748b;
}

/* ===== BACKDROP (Overlay) ===== */
.swal2-container {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.4) !important;
}

/* ===== POPUP (Main Modal) ===== */
.swal2-popup {
  /* Glassmorphism base */
  background: var(--swal-glass-bg) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  
  /* Premium border */
  border: 1px solid var(--swal-glass-border) !important;
  border-radius: 24px !important;
  
  /* Multi-layer shadows - the $100M look */
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 48px 100px -20px var(--swal-shadow-color) !important;
  
  /* Spacing */
  padding: 32px 40px 28px !important;
  
  /* Animation prep */
  will-change: transform, opacity;
}

/* Aurora glow effect behind popup */
.swal2-popup::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 140%;
  background: radial-gradient(
    ellipse at center,
    rgba(167, 139, 250, 0.15) 0%,
    rgba(99, 102, 241, 0.08) 40%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  animation: swalAuroraMove 12s infinite alternate ease-in-out;
}

.swal2-popup::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 60%;
  height: 120%;
  background: radial-gradient(
    ellipse at center,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(192, 132, 252, 0.06) 40%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
  animation: swalAuroraMove2 10s infinite alternate ease-in-out;
}

@keyframes swalAuroraMove {
  0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  100% { transform: translate(15px, 20px) scale(1.1); opacity: 1; }
}

@keyframes swalAuroraMove2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(-20px, -15px) scale(1.15); opacity: 0.9; }
}

/* ===== ENTRY ANIMATION ===== */
.swal2-show {
  animation: swalSlideIn 0.4s var(--swal-ease-bounce) forwards !important;
}

@keyframes swalSlideIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Exit animation */
.swal2-hide {
  animation: swalSlideOut 0.25s var(--swal-ease-smooth) forwards !important;
}

@keyframes swalSlideOut {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
}

/* ===== ICONS - Premium Redesign ===== */
.swal2-icon {
  border: none !important;
  margin: 0 auto 24px !important;
  width: 80px !important;
  height: 80px !important;
  position: relative;
}

/* Error Icon - Premium Glass Style */
.swal2-icon.swal2-error {
  background: var(--swal-error-soft);
  border-radius: 50%;
  border: 2px solid var(--swal-error-border) !important;
  animation: swalIconPulse 2s ease-in-out infinite;
}

.swal2-icon.swal2-error::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 70%);
  z-index: -1;
  animation: swalGlowPulse 2s ease-in-out infinite;
}

.swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
  background-color: var(--swal-error) !important;
  height: 4px !important;
  border-radius: 4px !important;
  top: 38px !important;
  /* Obie linie muszą mieć identyczne pozycjonowanie aby X był symetryczny */
  left: 18px !important;
  width: 44px !important;
}

/* Success Icon */
.swal2-icon.swal2-success {
  background: var(--swal-success-soft);
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.25) !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
  background-color: var(--swal-success) !important;
  height: 4px !important;
  border-radius: 4px !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
  border-color: rgba(16, 185, 129, 0.3) !important;
}

.swal2-icon.swal2-success .swal2-success-circular-line-left,
.swal2-icon.swal2-success .swal2-success-circular-line-right,
.swal2-icon.swal2-success .swal2-success-fix {
  display: none !important;
}

/* Warning Icon */
.swal2-icon.swal2-warning {
  background: var(--swal-warning-soft);
  border-radius: 50%;
  border: 2px solid rgba(245, 158, 11, 0.2) !important;
  color: var(--swal-warning) !important;
  font-size: 3.2rem !important;
  line-height: 80px !important;
}

.swal2-icon.swal2-warning .swal2-icon-content {
  font-size: 3.2rem !important;
  font-weight: 700 !important;
  color: var(--swal-warning) !important;
}

/* Question Icon */
.swal2-icon.swal2-question {
  background: rgba(124, 58, 237, 0.08);
  border-radius: 50%;
  border: 2px solid rgba(124, 58, 237, 0.2) !important;
  color: var(--swal-primary) !important;
  font-size: 3.2rem !important;
  line-height: 80px !important;
}

.swal2-icon.swal2-question .swal2-icon-content {
  font-size: 3.2rem !important;
  font-weight: 700 !important;
  color: var(--swal-primary) !important;
}

/* Info Icon */
.swal2-icon.swal2-info {
  background: var(--swal-info-soft);
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.2) !important;
  color: var(--swal-info) !important;
  font-size: 3.2rem !important;
  line-height: 80px !important;
}

.swal2-icon.swal2-info .swal2-icon-content {
  font-size: 3.2rem !important;
  font-weight: 700 !important;
  color: var(--swal-info) !important;
}

/* Delete confirmation button */
.swal-btn-delete {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  box-shadow:
    0 4px 14px rgba(239, 68, 68, 0.35),
    0 2px 4px rgba(239, 68, 68, 0.2) !important;
}

.swal-btn-delete:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  box-shadow:
    0 8px 24px rgba(239, 68, 68, 0.45),
    0 4px 8px rgba(239, 68, 68, 0.25) !important;
}

@keyframes swalIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes swalGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

/* ===== TITLE ===== */
.swal2-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--swal-text-primary) !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
}

/* ===== MESSAGE/CONTENT ===== */
.swal2-html-container {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: var(--swal-text-secondary) !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  line-height: 1.6 !important;
}

/* ===== BUTTONS CONTAINER ===== */
.swal2-actions {
  margin: 0 !important;
  padding: 0 !important;
  gap: 12px !important;
}

/* ===== CONFIRM BUTTON - Premium Glass Style ===== */
.swal2-confirm {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  padding: 14px 32px !important;
  border-radius: 14px !important;
  border: none !important;
  
  /* Gradient background */
  background: linear-gradient(
    135deg,
    var(--swal-primary) 0%,
    #6d28d9 100%
  ) !important;
  color: white !important;
  
  /* Premium shadow */
  box-shadow: 
    0 4px 14px rgba(var(--swal-primary-rgb), 0.35),
    0 2px 4px rgba(var(--swal-primary-rgb), 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
  
  /* Transition */
  transition: 
    transform var(--swal-duration-fast) var(--swal-ease-smooth),
    box-shadow var(--swal-duration-fast) var(--swal-ease-smooth),
    background var(--swal-duration-fast) ease !important;
  
  /* Cursor */
  cursor: pointer;
  
  /* Prep for hover glow */
  position: relative;
  overflow: hidden;
}

/* Button glow effect on hover */
.swal2-confirm::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--swal-ease-smooth), height 0.5s var(--swal-ease-smooth);
  border-radius: 50%;
  pointer-events: none;
}

.swal2-confirm:hover::before {
  width: 300px;
  height: 300px;
}

.swal2-confirm:hover {
  transform: translateY(-2px) !important;
  box-shadow: 
    0 8px 24px rgba(var(--swal-primary-rgb), 0.45),
    0 4px 8px rgba(var(--swal-primary-rgb), 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
}

.swal2-confirm:active {
  transform: translateY(0) scale(0.98) !important;
}

.swal2-confirm:focus {
  box-shadow: 
    0 4px 14px rgba(var(--swal-primary-rgb), 0.35),
    0 0 0 3px rgba(var(--swal-primary-rgb), 0.2) !important;
}

/* ===== CANCEL BUTTON ===== */
.swal2-cancel {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  padding: 14px 28px !important;
  border-radius: 14px !important;
  
  /* Glass style */
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: var(--swal-text-secondary) !important;
  
  /* Shadow */
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
  
  /* Transition */
  transition: 
    transform var(--swal-duration-fast) var(--swal-ease-smooth),
    box-shadow var(--swal-duration-fast) var(--swal-ease-smooth),
    background var(--swal-duration-fast) ease,
    border-color var(--swal-duration-fast) ease !important;
  
  cursor: pointer;
}

.swal2-cancel:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-1px) !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
  color: var(--swal-text-primary) !important;
}

.swal2-cancel:active {
  transform: translateY(0) scale(0.98) !important;
}

/* ===== DENY BUTTON ===== */
.swal2-deny {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  padding: 14px 28px !important;
  border-radius: 14px !important;
  background: var(--swal-error-soft) !important;
  border: 1px solid var(--swal-error-border) !important;
  color: var(--swal-error) !important;
  transition: all var(--swal-duration-fast) var(--swal-ease-smooth) !important;
  cursor: pointer;
}

.swal2-deny:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  transform: translateY(-1px) !important;
}

/* ===== INPUT FIELDS ===== */
.swal2-input,
.swal2-textarea,
.swal2-select {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 1rem !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: 
    border-color var(--swal-duration-fast) ease,
    box-shadow var(--swal-duration-fast) ease !important;
}

.swal2-input:focus,
.swal2-textarea:focus,
.swal2-select:focus {
  outline: none !important;
  border-color: var(--swal-primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--swal-primary-rgb), 0.1) !important;
}

/* ===== CLOSE BUTTON ===== */
.swal2-close {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: rgba(0, 0, 0, 0.04) !important;
  color: var(--swal-text-secondary) !important;
  font-size: 1.5rem !important;
  font-weight: 300 !important;
  transition: 
    background var(--swal-duration-fast) ease,
    color var(--swal-duration-fast) ease,
    transform var(--swal-duration-fast) var(--swal-ease-smooth) !important;
  top: 16px !important;
  right: 16px !important;
}

.swal2-close:hover {
  background: rgba(239, 68, 68, 0.1) !important;
  color: var(--swal-error) !important;
  transform: rotate(90deg) !important;
}

/* ===== TIMER PROGRESS BAR ===== */
.swal2-timer-progress-bar {
  background: linear-gradient(
    90deg,
    var(--swal-primary) 0%,
    #a78bfa 100%
  ) !important;
  height: 4px !important;
}

.swal2-timer-progress-bar-container {
  background: rgba(0, 0, 0, 0.05) !important;
  border-radius: 0 0 24px 24px !important;
  overflow: hidden;
}

/* ===== FOOTER ===== */
.swal2-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: var(--swal-text-secondary) !important;
  font-size: 0.875rem !important;
  margin-top: 24px !important;
  padding-top: 16px !important;
}

.swal2-footer a {
  color: var(--swal-primary) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: opacity var(--swal-duration-fast) ease !important;
}

.swal2-footer a:hover {
  opacity: 0.8 !important;
}

/* ===== VALIDATION MESSAGE ===== */
.swal2-validation-message {
  background: var(--swal-error-soft) !important;
  color: var(--swal-error) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 0.875rem !important;
  margin: 12px 0 0 !important;
  border: 1px solid var(--swal-error-border) !important;
}

.swal2-validation-message::before {
  display: none !important;
}

/* ===== LOADING STATE ===== */
.swal2-loading .swal2-confirm {
  background: linear-gradient(
    135deg,
    var(--swal-primary) 0%,
    #6d28d9 100%
  ) !important;
}

/* ===== TOAST VARIANT ===== */
.swal2-popup.swal2-toast {
  background: var(--swal-glass-bg) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px !important;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.6) !important;
  padding: 16px 20px !important;
}

.swal2-popup.swal2-toast .swal2-title {
  font-size: 0.9375rem !important;
  margin: 0 !important;
}

.swal2-popup.swal2-toast .swal2-icon {
  width: 28px !important;
  height: 28px !important;
  margin: 0 12px 0 0 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .swal2-popup {
    padding: 24px 20px 20px !important;
    border-radius: 20px !important;
    margin: 0 16px !important;
    max-width: calc(100vw - 32px) !important;
  }
  
  .swal2-icon {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 20px !important;
  }
  
  .swal2-title {
    font-size: 1.25rem !important;
  }
  
  .swal2-html-container {
    font-size: 0.9375rem !important;
    margin-bottom: 24px !important;
  }
  
  .swal2-confirm,
  .swal2-cancel,
  .swal2-deny {
    padding: 12px 24px !important;
    font-size: 0.875rem !important;
    border-radius: 12px !important;
  }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  .swal2-popup {
    --swal-glass-bg: rgba(30, 41, 59, 0.9);
    --swal-glass-border: rgba(255, 255, 255, 0.1);
    --swal-text-primary: #f1f5f9;
    --swal-text-secondary: #94a3b8;
    --swal-shadow-color: rgba(0, 0, 0, 0.3);
  }
  
  .swal2-cancel {
    background: rgba(51, 65, 85, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }
  
  .swal2-cancel:hover {
    background: rgba(71, 85, 105, 0.9) !important;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .swal2-popup,
  .swal2-popup::before,
  .swal2-popup::after,
  .swal2-icon,
  .swal2-confirm,
  .swal2-cancel,
  .swal2-deny,
  .swal2-close {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== SPECIAL STATES ===== */

/* Error state popup has subtle red tint */
.swal2-popup.swal2-icon-error {
  border-color: var(--swal-error-border) !important;
}

.swal2-popup.swal2-icon-error::before {
  background: radial-gradient(
    ellipse at center,
    rgba(239, 68, 68, 0.08) 0%,
    transparent 60%
  ) !important;
}

/* Success state popup has subtle green tint */
.swal2-popup.swal2-icon-success {
  border-color: rgba(16, 185, 129, 0.15) !important;
}

.swal2-popup.swal2-icon-success::before {
  background: radial-gradient(
    ellipse at center,
    rgba(16, 185, 129, 0.08) 0%,
    transparent 60%
  ) !important;
}

/* ===================================================================
   COMING SOON POPUP - Premium Aurora Glassmorphism
   Special styling for registration disabled popup
   =================================================================== */

.swal2-popup.coming-soon-popup {
  /* Enhanced glassmorphism */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 250, 252, 0.88) 100%
  ) !important;
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  
  /* Premium border with gradient effect */
  border: 1px solid rgba(167, 139, 250, 0.2) !important;
  border-radius: 28px !important;
  
  /* Multi-layer premium shadows */
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 32px 64px rgba(99, 102, 241, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 64px 120px -30px rgba(124, 58, 237, 0.15) !important;
  
  /* Generous padding */
  padding: 40px 44px 36px !important;
  
  /* Animation */
  animation: comingSoonSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

@keyframes comingSoonSlideIn {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Aurora glow - more vibrant for coming soon */
.swal2-popup.coming-soon-popup::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 100%;
  height: 180%;
  background: radial-gradient(
    ellipse at center,
    rgba(167, 139, 250, 0.18) 0%,
    rgba(124, 58, 237, 0.08) 40%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  animation: comingSoonAurora1 10s infinite alternate ease-in-out;
}

.swal2-popup.coming-soon-popup::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 80%;
  height: 140%;
  background: radial-gradient(
    ellipse at center,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(167, 139, 250, 0.08) 40%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
  animation: comingSoonAurora2 8s infinite alternate ease-in-out;
}

@keyframes comingSoonAurora1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(20px, 30px) scale(1.15); opacity: 1; }
}

@keyframes comingSoonAurora2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(-25px, -20px) scale(1.2); opacity: 0.9; }
}

/* Close button - premium style */
.swal2-popup.coming-soon-popup .swal2-close {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: rgba(124, 58, 237, 0.06) !important;
  color: #7c3aed !important;
  font-size: 1.5rem !important;
  font-weight: 300 !important;
  top: 18px !important;
  right: 18px !important;
  transition: 
    background 0.2s ease,
    color 0.2s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.swal2-popup.coming-soon-popup .swal2-close:hover {
  background: rgba(124, 58, 237, 0.12) !important;
  color: #6d28d9 !important;
  transform: rotate(90deg) scale(1.05) !important;
}

/* ===== COMING SOON CONTENT STYLES ===== */

.coming-soon-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Icon container with floating animation */
.coming-soon-icon {
  margin-bottom: 24px;
  perspective: 1000px;
}

.coming-soon-icon-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  
  /* Gradient background */
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.12) 0%,
    rgba(167, 139, 250, 0.08) 100%
  );
  
  /* Border */
  border: 1px solid rgba(124, 58, 237, 0.15);
  
  /* Shadow */
  box-shadow: 
    0 8px 24px rgba(124, 58, 237, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  
  /* Animation */
  animation: iconFloat 4s ease-in-out infinite;
  transform-style: preserve-3d;
}

.coming-soon-icon-inner i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes iconFloat {
  0%, 100% { 
    transform: translateY(0) rotateX(0) rotateY(0); 
  }
  25% { 
    transform: translateY(-6px) rotateX(3deg) rotateY(-3deg); 
  }
  50% { 
    transform: translateY(-10px) rotateX(0) rotateY(0); 
  }
  75% { 
    transform: translateY(-6px) rotateX(-3deg) rotateY(3deg); 
  }
}

/* Title */
.coming-soon-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  
  /* Subtle gradient text */
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Main text */
.coming-soon-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #475569;
  margin: 0 0 16px;
  line-height: 1.7;
}

.coming-soon-text strong {
  color: #1e293b;
  font-weight: 600;
}

/* Subtext */
.coming-soon-subtext {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #64748b;
  margin: 0 0 28px;
  line-height: 1.7;
}

.coming-soon-subtext strong {
  color: #7c3aed;
  font-weight: 600;
}

/* CTA Button - Premium Facebook style with glass */
.coming-soon-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  
  /* Facebook gradient */
  background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
  color: white;
  
  /* Premium shadow */
  box-shadow: 
    0 4px 14px rgba(24, 119, 242, 0.35),
    0 2px 4px rgba(24, 119, 242, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  
  /* Transition */
  transition: 
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Position for glow effect */
  position: relative;
  overflow: hidden;
}

.coming-soon-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  border-radius: 50%;
  pointer-events: none;
}

.coming-soon-cta:hover::before {
  width: 300px;
  height: 300px;
}

.coming-soon-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 24px rgba(24, 119, 242, 0.45),
    0 4px 8px rgba(24, 119, 242, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  color: white;
  text-decoration: none;
}

.coming-soon-cta:active {
  transform: translateY(-1px) scale(0.98);
}

.coming-soon-cta i {
  font-size: 1.25rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .swal2-popup.coming-soon-popup {
    padding: 32px 24px 28px !important;
    border-radius: 24px !important;
    margin: 0 16px !important;
    max-width: calc(100vw - 32px) !important;
  }
  
  .coming-soon-icon-inner {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }
  
  .coming-soon-icon-inner i {
    font-size: 2rem;
  }
  
  .coming-soon-title {
    font-size: 1.5rem;
  }
  
  .coming-soon-text {
    font-size: 0.9375rem;
  }
  
  .coming-soon-subtext {
    font-size: 0.875rem;
  }
  
  .coming-soon-cta {
    padding: 14px 28px;
    font-size: 0.9375rem;
    border-radius: 12px;
  }
}
