/* Dialog overlay */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(2px);
}

.dialog-overlay.hidden {
  display: none;
}

/* Dialog box */
.dialog {
  background: #2a2a2a;
  color: #e8e8e8;
  border-radius: 12px;
  padding: 32px;
  min-width: 320px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.dialog h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.dialog p {
  margin-bottom: 20px;
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.5;
}

.dialog-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.dialog-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dialog-stat-value {
  font-size: 24px;
  font-weight: 700;
}

.dialog-stat-label {
  font-size: 12px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.dialog-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.dialog-buttons button {
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms;
}

.dialog-btn-primary {
  background: #4a9e6d;
  color: white;
}

.dialog-btn-primary:hover {
  background: #5ab87f;
}

.dialog-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e8e8e8;
}

.dialog-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Settings dialog */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 18px;
}

.setting-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.setting-row input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: #4a9e6d;
  flex-shrink: 0;
}

.setting-text {
  display: flex;
  flex-direction: column;
}

.setting-label {
  font-weight: 600;
  font-size: 15px;
}

.setting-help {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.4;
}

.settings-keys {
  font-size: 13px;
  opacity: 0.7;
}
