@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
}

:root {
  --glass: rgba(15, 23, 42, 0.72);
  --border: rgba(148, 163, 184, 0.2);
  --accent: #10b981;
  --accent-2: #22d3ee;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  background:
    radial-gradient(circle at top, rgba(16, 185, 129, 0.2), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.2), transparent 40%),
    linear-gradient(180deg, #0f172a 0%, #020617 100%);
  z-index: 0;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  position: relative;
}

.dashboard-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dashboard-stack {
  display: grid;
  gap: 28px;
}

.dashboard-actions {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 2;
}

.panel {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 22px;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.panel-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.skin-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.info-list {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.info-list span {
  color: #94a3b8;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.info-list strong {
  color: #e2e8f0;
  font-weight: 600;
}

.select {
  width: 100%;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
}

.divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.2);
  margin: 18px 0;
}

.launcher-buttons {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.launcher-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, border 0.2s ease;
}

.launcher-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.6);
}

.launcher-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: #cbd5f5;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.file-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


.file-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 36px;
  height: 36px;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0f172a;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
}

.file-button:hover {
  filter: brightness(1.05);
}

.file-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.6);
}

.file-name {
  color: #94a3b8;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.primary {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0f172a;
  font-weight: 600;
  text-align: center;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}

.ghost {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.85rem;
}

.ghost:hover {
  border-color: rgba(125, 211, 252, 0.6);
}

.alert {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.alert.success {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert.error {
  background: rgba(244, 63, 94, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.link {
  color: #7dd3fc;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}
