/* App Install Modal Styles */
.app-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.app-modal-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-modal {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  padding: 32px 24px 24px;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.app-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #F5F5F5;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  font-size: 20px;
  color: #666;
}

.app-modal-close:hover {
  background: #E0E0E0;
}

.app-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(107, 70, 193, 0.2);
}

.app-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #191F28;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.3;
}

.app-modal-description {
  font-size: 15px;
  color: #666666;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 28px;
}

.app-modal-button {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #6B46C1 0%, #3E3D7B 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.app-modal-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(107, 70, 193, 0.3);
}

.app-modal-button:active {
  transform: translateY(0);
}

.app-modal-button svg {
  width: 20px;
  height: 20px;
}

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

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

/* Mobile responsive */
@media (max-width: 480px) {
  .app-modal {
    width: calc(100% - 32px);
    margin: 0 16px;
  }
}