/* license-modal.css — 授权模态框样式（深色主题，直接引入页面即可） */

/* 授权模态框（深色主题） */
.license-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.license-modal:not(.hidden) { display: flex; }
.license-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}
.license-content {
  position: relative;
  width: min(420px, 90vw);
  background: #0d1826;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px;
  color: #e6f0ff;
  font-family: system-ui, sans-serif;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.license-content h2 { margin: 0 0 16px; font-size: 20px; }
.license-icon { font-size: 40px; text-align: center; margin-bottom: 8px; }
.license-item { margin-bottom: 14px; }
.license-item label {
  display: block; font-size: 13px; color: #8fb0d0; margin-bottom: 6px;
}
.license-row { display: flex; gap: 8px; align-items: center; }
.license-value {
  flex: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: monospace;
  font-size: 15px;
  color: #7cd9ff;
  word-break: break-all;
}
.license-row input {
  flex: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.license-row input:focus { border-color: #7cd9ff; }
.license-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.license-btn {
  padding: 9px 18px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.license-btn:hover { opacity: 0.85; }
.license-primary { background: #1a73e8; color: #fff; }
.license-secondary { background: rgba(255, 255, 255, 0.12); color: #e6f0ff; }
.license-outline { background: transparent; border: 1px solid rgba(124, 217, 255, 0.5); color: #7cd9ff; }

/* 轻量 toast 弹窗（复制成功 / 激活结果反馈） */
.license-toast {
  position: fixed;
  left: 50%;
  top: 22%;
  transform: translate(-50%, -10px);
  z-index: 100000;
  max-width: 80vw;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: #e6f0ff;
  background: rgba(13, 24, 38, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.license-toast:not(.hidden) {
  opacity: 1;
  transform: translate(-50%, 0);
}
.license-toast-success { border-color: rgba(124, 255, 176, 0.55); color: #b6ffd2; }
.license-toast-error { border-color: rgba(255, 124, 124, 0.55); color: #ffc2c2; }
