.overlay {
  position: fixed;
  inset: 0;
  background: var(--color-modal-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
}

.modal {
  background: var(--color-bg-modal-glass);
  backdrop-filter: var(--bf-glass-lg);
  -webkit-backdrop-filter: var(--bf-glass-lg);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card);
  max-width: 520px;
  width: 90vw;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-glass-light);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px 12px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--color-border-soft);
}

.title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.closeBtn {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.closeBtn:hover {
  color: var(--color-text-primary);
}

.content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-primary);
  word-break: break-word;
  padding: 16px 40px;
  overflow-y: auto;
  scrollbar-width: none;
  flex: 1;
}

.content::-webkit-scrollbar {
  display: none;
}

.footer {
  text-align: center;
  padding: 16px 0 20px;
  flex-shrink: 0;
}

.confirmBtn {
  padding: 8px 32px;
  background: var(--color-primary);
  border: none;
  border-radius: 8px;
  color: var(--color-on-primary);
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.confirmBtn:hover {
  opacity: 0.85;
}
