/* Styles for the Download page (get-started/Download/index.php) */

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  margin-left: 5px;
  color: #666;
  vertical-align: middle;
  transition: color 0.2s, transform 0.1s;
}
.copy-btn:hover {
  color: #007bff;
}
.copy-btn:active {
  transform: scale(0.9);
}
.copy-btn.copied {
  color: #28a745;
}
/* Styles for image positioning overlay */
.launcher-preview-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 30px auto;
  clear: both;
}
.launcher-img {
  width: 100%;
  height: auto;
  display: block;
}
/* Updated font specs: bold, black, clear visibility */
.overlay-text {
  position: absolute;
  color: #000000;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 12px;
  box-sizing: border-box;
}
/* New alignments targeting inside the white boxes exactly */
.api-ip-pos {
  top: 22.8%;
  left: 3.5%;
  width: 93%;
}
.cdn-ip-pos {
  top: 39.0%;       /* Changed from 48% to shift it up into the correct empty box */
  left: 3.5%;
  width: 93%;
}
.path-pos {
  top: 73.5%;     /* CHANGED: Drops it into the executable path box */
  left: 3.5%;
  width: 83%;     /* Keeps it clear of the browse button */
}
/* NEW: Modern Copy Dashboard Badges */
.badge-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 18px 0;
  max-width: 100%;
}
.copy-badge {
  display: flex;
  background: #f8f9fa;
  border: 1px dashed #cbd5e1;
  border-radius: 5px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: monospace;
  font-size: 13px;
  transition: background 0.15s;
  position: relative;
  text-align: left;
  box-sizing: border-box;
}
.copy-badge:hover {
  background: #eef2f6;
  border-color: #007bff;
}
.badge-label {
  font-weight: bold;
  color: #4a5568;
  margin-right: 8px;
  flex-shrink: 0;
}
.badge-val {
  color: #2d3748;
}
.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}
.copy-badge::after {
  content: 'Click to copy';
  position: absolute;
  right: 12px;
  font-size: 11px;
  color: #94a3b8;
  font-family: sans-serif;
}
.copy-badge.copied-status::after {
  content: 'Copied! ✓';
  color: #28a745;
  font-weight: bold;
}
