/* location-consent.css — 授权对话框样式 */

.lc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  animation: lc-fade-in 0.2s ease-out;
}

@keyframes lc-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lc-dialog {
  background: #fff;
  border-radius: 16px;
  width: min(480px, 92vw);
  padding: 28px 28px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif;
  animation: lc-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lc-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.lc-icon {
  font-size: 28px;
  line-height: 1;
}

.lc-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.lc-body {
  color: #333;
}

.lc-lead {
  line-height: 1.6;
  margin: 0 0 12px;
  font-size: 15px;
}

.lc-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #444;
  line-height: 1.7;
  font-size: 14px;
}

.lc-list li + li {
  margin-top: 8px;
}

.lc-list strong {
  color: #222;
  font-weight: 600;
}

.lc-note {
  font-size: 13px;
  color: #666;
  background: #f5f5f5;
  border-left: 3px solid #fbbf24;
  border-radius: 6px;
  padding: 10px 12px;
  margin: 0;
  line-height: 1.5;
}

.lc-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.lc-btn {
  flex: 1;
  padding: 11px 16px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.lc-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.lc-btn:active {
  transform: translateY(0);
}

.lc-deny {
  background: #f0f0f0;
  color: #444;
}

.lc-deny:hover {
  background: #e5e5e5;
}

.lc-allow {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.lc-allow:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
