/* Popup WhatsApp Custom - Sleek Dark Theme */

@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.popup-whatsapp-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popupFadeIn 0.3s ease forwards;
}

.popup-whatsapp-modal {
  background: linear-gradient(135deg, rgba(20, 20, 22, 0.95), rgba(10, 10, 12, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  max-width: 90vw;
  width: 440px;
  padding: 40px 32px 32px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 
              0 0 40px rgba(255, 78, 142, 0.08), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  font-family: 'Inter', sans-serif;
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.popup-whatsapp-modal h2 {
  margin-top: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ff4e8e, #ff9369, #ffce59);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Info Box / Text Alignment & Styling */
.popup-info-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 28px;
}

.popup-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px 16px;
  transition: background 0.3s, border-color 0.3s;
}

.popup-info-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.popup-info-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #ff9369;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-info-text {
  color: #d2d2d7;
  font-size: 0.9rem;
  line-height: 1.5;
}

.popup-info-text strong {
  color: #ffffff;
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}

/* Primary Action Button (WhatsApp) */
.popup-whatsapp-modal .popup-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 1.05rem;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.popup-whatsapp-modal .popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  filter: brightness(1.1);
}

.popup-whatsapp-modal .popup-btn:active {
  transform: translateY(0);
}

.popup-whatsapp-modal .popup-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Secondary Cancel Button */
.popup-whatsapp-modal .popup-cancel-btn {
  background: none;
  border: none;
  color: #a1a1a6;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 16px;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.popup-whatsapp-modal .popup-cancel-btn:hover {
  color: #ffffff;
}

/* Close Button (Corner Cross) */
.popup-whatsapp-modal .popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #a1a1a6;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  padding: 0;
  line-height: 1;
}

.popup-whatsapp-modal .popup-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: rotate(90deg);
}
