/* TargetResume - Install Prompt Modal */

.install-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.install-modal {
  background: white;
  border-radius: 20px;
  max-width: 400px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.install-header {
  padding: 24px 24px 16px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.install-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.install-icon img {
  width: 40px;
  height: 40px;
}

.install-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.install-subtitle {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.5;
}

.install-content {
  padding: 24px;
}

.install-section {
  margin-bottom: 24px;
}

.install-section:last-child {
  margin-bottom: 0;
}

.install-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.install-platform-icon {
  font-size: 18px;
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.install-step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.install-step-text {
  flex: 1;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  padding-top: 4px;
}

.install-footer {
  padding: 16px 24px 24px;
}

.install-btn-primary {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.install-btn-primary:active {
  transform: scale(0.98);
  background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 640px) {
  .install-modal {
    max-height: 85vh;
  }
  
  .install-title {
    font-size: 20px;
  }
  
  .install-subtitle {
    font-size: 14px;
  }
}


/* Remove individual animations - let everything animate together */
.install-header,
.install-content,
.install-footer {
  /* Don't add separate animations here */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}