/* =========================================================================
   SelectAvo Coming Soon Popup Styles
   ========================================================================= */

/* Overlay */
.selectavo-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: selectavo-fadeIn 0.3s ease forwards;
}

@keyframes selectavo-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Modal */
.selectavo-popup-modal {
  background: white;
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: selectavo-slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes selectavo-slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Close Button */
.selectavo-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  color: #071a4d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  font-weight: 300;
  line-height: 1;
}

.selectavo-popup-close:hover {
  background: #071a4d;
  color: white;
  transform: scale(1.1);
}

/* Content Layout */
.selectavo-popup-content {
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .selectavo-popup-content {
    flex-direction: row;
    align-items: stretch;
  }
}

/* Poster Wrapper */
.selectavo-poster-wrapper {
  flex: 1;
  min-height: 280px;
  background: linear-gradient(135deg, #071a4d 0%, #0891b2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.selectavo-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info Section */
.selectavo-popup-info {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

/* Typography */
.selectavo-popup-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #071a4d;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.selectavo-popup-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0891b2;
  margin: 0 0 16px 0;
}

.selectavo-popup-desc {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

/* Features Grid */
.selectavo-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .selectavo-features {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.selectavo-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #071a4d;
}

.selectavo-feature-icon {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA Group */
.selectavo-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

@media (min-width: 480px) {
  .selectavo-cta-group {
    flex-direction: row;
    align-items: center;
  }
}

/* Buttons */
.selectavo-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #071a4d 0%, #0891b2 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
  flex: 1;
}

.selectavo-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

.selectavo-btn-primary svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.selectavo-btn-secondary {
  padding: 14px 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #071a4d;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
}

.selectavo-btn-secondary:hover {
  border-color: #071a4d;
  background: #f8fafc;
}

/* Responsive */
@media (max-width: 639px) {
  .selectavo-popup-modal {
    border-radius: 16px;
    max-height: 85vh;
  }

  .selectavo-popup-info {
    padding: 24px;
  }

  .selectavo-popup-title {
    font-size: 24px;
  }

  .selectavo-poster-wrapper {
    min-height: 200px;
  }
}

/* Scrollbar */
.selectavo-popup-modal::-webkit-scrollbar {
  width: 8px;
}

.selectavo-popup-modal::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.selectavo-popup-modal::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.selectavo-popup-modal::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
