/**
 * Professional Enrollment Modal Styles
 * Modern Age Coders - Clean, Professional Design
 * Inspired by Google, Stripe, and modern SaaS platforms
 */

/* Modal Overlay */
.professional-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 20px;
  box-sizing: border-box;
  animation: fadeIn 0.2s ease;
}

/* Modal Container */
.professional-modal-container {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

/* Close Button */
.professional-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.professional-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

/* Modal Header */
.professional-modal-header {
  padding: 40px 32px 24px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.professional-modal-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.professional-modal-header p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}

/* Modal Body */
.professional-modal-body {
  padding: 32px;
}

/* Enrollment Option Cards */
.enrollment-option-card {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.enrollment-option-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.enrollment-option-card:last-of-type {
  margin-bottom: 24px;
}

/* Option Header */
.option-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.option-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.online-option .option-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

.whatsapp-option .option-icon {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
}

.option-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px;
}

.option-header p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Option Features */
.option-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.option-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: #374151;
}

.option-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Option Buttons */
.option-button {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.primary-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.whatsapp-button {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.option-button svg {
  flex-shrink: 0;
}

/* Support Section */
.support-section {
  background: #f3f4f6;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.support-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 0.9375rem;
}

.support-text svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.support-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.support-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #667eea;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.support-link:hover {
  color: #764ba2;
}

.support-link svg {
  flex-shrink: 0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .professional-modal-container {
    border-radius: 12px;
    max-height: 95vh;
  }

  .professional-modal-header {
    padding: 32px 24px 20px;
  }

  .professional-modal-header h2 {
    font-size: 1.5rem;
  }

  .professional-modal-body {
    padding: 24px;
  }

  .enrollment-option-card {
    padding: 20px;
  }

  .option-header {
    gap: 12px;
  }

  .option-icon {
    width: 44px;
    height: 44px;
  }

  .option-header h3 {
    font-size: 1.0625rem;
  }

  .option-features li {
    font-size: 0.875rem;
  }

  .option-button {
    padding: 12px 20px;
    font-size: 0.9375rem;
  }

  .support-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .support-links {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .professional-modal-overlay {
    padding: 12px;
  }

  .professional-modal-header {
    padding: 28px 20px 16px;
  }

  .professional-modal-header h2 {
    font-size: 1.375rem;
  }

  .professional-modal-body {
    padding: 20px;
  }

  .enrollment-option-card {
    padding: 18px;
  }
}

/* Smooth Scrolling */
.professional-modal-container {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db #f3f4f6;
}

.professional-modal-container::-webkit-scrollbar {
  width: 8px;
}

.professional-modal-container::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 0 16px 16px 0;
}

.professional-modal-container::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.professional-modal-container::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}
