/* Order Page - Modals */
.order-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  padding: 20px 0;
}

.order-modal.show {
  opacity: 1;
  visibility: visible;
}

.order-modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 248, 0.95) 100%);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 25px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  border: 2px solid rgba(255, 255, 255, 0.8);
  position: relative;
  text-align: center;
  animation: slideUp 0.3s ease;
}

.order-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  color: #ff8c69;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.order-modal-close:hover {
  background: rgba(255, 140, 105, 0.1);
  transform: rotate(90deg);
}

.order-modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.order-modal-icon.success {
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.order-modal-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ff8c69;
  margin-bottom: 15px;
}

.order-modal-content p {
  font-size: 15px;
  color: #5a9997;
  margin-bottom: 10px;
  line-height: 1.6;
}

.order-id-display {
  font-size: 14px;
  font-weight: 600;
  color: #5ebdb8;
  margin-bottom: 15px;
  padding: 10px;
  background: rgba(94, 189, 184, 0.1);
  border-radius: 10px;
}

.order-id-display span {
  font-family: 'Courier New', monospace;
  font-weight: 700;
}

.phone-number {
  font-size: 28px;
  font-weight: 700;
  color: #ff8c69;
  margin: 20px 0;
  font-family: 'Courier New', monospace;
}

.order-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-height: 48px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Sans', sans-serif;
}

.modal-btn.primary {
  background: linear-gradient(135deg, #ff9a76 0%, #ffd89b 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 154, 118, 0.3);
}

.modal-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 154, 118, 0.4);
}

.modal-btn.secondary {
  background: linear-gradient(135deg, #fff5eb 0%, #f0f9f8 100%);
  color: #5a9997;
  border: 2px solid rgba(94, 189, 184, 0.3);
}

.modal-btn.secondary:hover {
  border-color: #5ebdb8;
  transform: translateY(-2px);
}

.modal-btn:active {
  transform: scale(0.98);
}

/* Pick Apps Modal */
.pick-apps-modal {
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
}

.apps-grid {
  display: grid;
  gap: 15px;
  margin-bottom: 25px;
}

.app-card {
  background: linear-gradient(135deg, #fff5eb 0%, #f0f9f8 100%);
  border-radius: 15px;
  padding: 18px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.app-card:hover {
  border-color: #ff8c69;
  box-shadow: 0 4px 12px rgba(255, 154, 118, 0.2);
}

.app-icon {
  font-size: 40px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.app-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #5ebdb8;
  margin-bottom: 6px;
}

.app-desc {
  font-size: 13px;
  color: #5a9997;
  margin-bottom: 10px;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.app-features span {
  font-size: 12px;
  color: #4a7b78;
  line-height: 1.5;
}

.app-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff9a76 0%, #ffd89b 100%);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 154, 118, 0.3);
}