.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal-container {
  background: rgba(255, 255, 255, 0.95);
  width: 90%;
  max-width: 480px;
  max-height: 80vh;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 24px 28px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #1e293b;
  font-weight: 700;
}

.close-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
  transform: rotate(90deg);
}

.modal-content {
  padding: 24px 28px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.modal-content h3 {
  font-size: 1.05rem;
  color: #334155;
  margin: 24px 0 12px;
  font-weight: 600;
  line-height: 1.3;
}

.modal-content h4 {
  font-size: 0.95rem;
  color: #1e293b;
  margin: 20px 0 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.modal-content h3:first-child {
  margin-top: 0;
}

.modal-content .last-updated {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 24px;
  font-style: italic;
}

.modal-content p {
  margin-bottom: 14px;
}

.modal-content ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.modal-content li {
  margin-bottom: 8px;
}

.modal-footer {
  padding: 20px 28px 24px;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.accept-btn {
  background: linear-gradient(135deg, #ff80b0 0%, #ff60a0 100%);
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 96, 160, 0.25);
  transition: all 0.2s ease;
}

.accept-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 96, 160, 0.35);
}

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

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

/* Custom Scrollbar */
.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 10px;
}
