/* 通用弹窗样式 */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(102, 126, 234, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18), 0 1.5px 8px rgba(0,0,0,0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: fadeIn 0.3s cubic-bezier(0.4,0,0.2,1);
  border: 1px solid rgba(102, 126, 234, 0.10);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

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

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-align: center;
}

.modal-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1rem;
  text-align: center;
  font-style: italic;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.modal-cancel {
  width: 100%;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  color: var(--accent);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: var(--radius);
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-cancel:hover {
  background: linear-gradient(135deg, #edf2f7, #e2e8f0);
  color: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
} 