/* Support Modal Styles - Isolated */

.support-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: supportModalFadeIn 0.3s ease-in-out;
  padding: 20px;
  backdrop-filter: blur(2px);
}

@keyframes supportModalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes supportModalSlideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes supportModalFadeOut { from { opacity: 1; } to { opacity: 0; } }

.support-modal-overlay.closing {
  animation: supportModalFadeOut 0.3s ease-in-out;
}

/* Main Modal Container */
.am-support-modal {
  background: #ffffff !important;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  max-width: 550px;
  width: 100%;
  position: relative;
  animation: supportModalSlideUp 0.4s ease-out;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Close Button */
.am-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none !important;
  border: none !important;
  font-size: 32px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.2s, transform 0.2s, background-color 0.2s;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 10;
}

.am-modal-close:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  transform: rotate(90deg);
}

/* Header */
.am-modal-header {
  text-align: center;
  padding: 40px 30px 30px;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%) !important;
}

.am-modal-icon {
  font-size: 56px !important;
  line-height: 1;
  margin-bottom: 15px;
  display: inline-block;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif !important;
}

.am-modal-header h2 {
  margin: 0;
  font-size: 28px !important;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.am-modal-subtitle {
  font-size: 15px !important;
  color: #edfaf1 !important;
  margin: 10px 0 0 0 !important;
  font-weight: 500;
}

/* Content & Body Insulation */
.am-modal-content {
  padding: 35px 30px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.am-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.am-modal-body p {
  margin: 0;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #333333 !important;
}

.am-modal-body p strong {
  font-weight: 600;
  color: #1a1a1a !important;
}

/* Support Reasons */
.am-support-reasons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
  padding: 18px;
  background: #f8f9fb !important;
  border-radius: 10px;
  border: 1px solid #e8eef5 !important;
}

.am-reason {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px !important;
  color: #333333 !important;
  font-weight: 500;
}

.am-reason-icon {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.am-reason-text {
  flex: 1;
  color: #333333 !important;
}

/* Actions */
.am-modal-actions {
  display: flex;
  gap: 14px;
  padding: 24px 30px;
  background-color: #fafafa !important;
  border-top: 1px solid #e8e8e8 !important;
}

.am-btn-support {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: #FFDD00 !important;
  color: #000000 !important;
  text-decoration: none !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 221, 0, 0.25) !important;
}

.am-btn-support:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 221, 0, 0.4) !important;
}

.am-btn-maybe-later {
  flex: 1;
  padding: 14px 20px;
  background-color: #ffffff !important;
  color: #666666 !important;
  border: 2px solid #dddddd !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.am-btn-maybe-later:hover {
  background-color: #f9f9f9 !important;
  border-color: #999999 !important;
  color: #333333 !important;
}

/* Responsive Design */
@media (max-width: 600px) {
  .am-support-modal { max-width: 95vw; border-radius: 14px; }
  .am-modal-header { padding: 30px 25px 25px; }
  .am-modal-icon { font-size: 48px !important; margin-bottom: 12px; }
  .am-modal-header h2 { font-size: 24px !important; }
  .am-modal-content { padding: 28px 25px; }
  .am-support-reasons { padding: 15px; gap: 10px; margin: 15px 0; }
  .am-reason { font-size: 14px !important; gap: 12px; }
  .am-modal-actions { flex-direction: column; padding: 20px 25px; gap: 12px; }
  .am-btn-support, .am-btn-maybe-later { width: 100%; padding: 12px 16px; font-size: 14px; }
  .am-modal-close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 28px; }
}