* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0c10;
  font-family: 'Inter', system-ui, sans-serif;
  color: #eef2ff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.dashboard {
  min-width: 880px;
  width: 100%;
  background: #0f1117;
  border: 1px solid #262c36;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
}

.window-bar {
  background: #0b0d12;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid #232832;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.path-indicator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  background: #1a1e26;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  color: #9ca3b0;
}

.path-indicator i {
  margin-right: 6px;
  color: #3fb950;
}

.repo-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #161b24;
  padding: 0.3rem 1rem 0.3rem 0.9rem;
  border-radius: 32px;
}

.repo-header i {
  color: #e3e6eb;
}

.repo-name-text {
  font-weight: 500;
  font-size: 0.85rem;
}

.badge-pub {
  font-size: 0.65rem;
  background: #2a313c;
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
  color: #a0b3d9;
}

.content {
  padding: 1.8rem;
}

.transfer-panel {
  background: #080b10;
  border-radius: 18px;
  border: 1px solid #232832;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.8rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #7e8493;
}

.progress-track {
  background: #1a1e26;
  height: 4px;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: #3fb950;
  transition: width 0.05s linear;
  border-radius: 10px;
}

.status-message {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  margin-top: 0.8rem;
  color: #a1a9bb;
}

.action-row {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 1.2rem;
  justify-content: center;
}

.btn {
  border: none;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 60px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.2s ease;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.btn-primary {
  background: #2c6e3b;
  color: white;
}

.btn-primary:hover {
  background: #3fb950;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #1a1f2a;
  border: 1px solid #2f3540;
  color: #cdd9f4;
}

.btn-secondary:hover {
  background: #262d3a;
  border-color: #3fb950;
}

.btn-wrapper {
  display: none;
  flex: 1;
}

.btn-wrapper.visible {
  display: block;
  width: 100%;
}

.btn-wrapper .btn {
  width: 100%;
}

.password-row {
  background: #0d1016;
  border-radius: 14px;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  border: 1px solid #262c36;
  margin: 1rem 0 1.6rem;
}

.pass-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
}

.pass-key {
  background: #00000040;
  padding: 0.25rem 0.8rem;
  border-radius: 30px;
  font-family: monospace;
  font-weight: 700;
  border: 0.5px solid #3fb95060;
}

.copy-mini {
  background: none;
  border: 1px solid #3a4050;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.7rem;
  cursor: pointer;
  color: #bdc4d6;
  transition: 0.2s;
}

.copy-mini:hover {
  background: #3fb95020;
  border-color: #3fb950;
  color: white;
}

.specs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px dashed #20242c;
  padding: 0.5rem 0;
  font-size: 0.8rem;
}

.spec-label {
  color: #8e95a5;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: #d6e6ff;
}

.footer-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.65rem;
  color: #5d6679;
  border-top: 1px solid #1b1f27;
  padding-top: 1rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #12161f;
  border: 1px solid #2f3b4a;
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  overflow: hidden;
}

.modal-head {
  background: #0c0f16;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #29323f;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-head h3 {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #8e95a5;
  cursor: pointer;
}

.modal-body {
  padding: 1.5rem;
}

.step {
  display: flex;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.step-num {
  background: #1f252f;
  width: 26px;
  height: 26px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

.step-text p {
  font-size: 0.8rem;
  color: #b0bbd0;
}

code {
  background: #0a0e13;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-family: monospace;
}

@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  .content {
    padding: 1.2rem;
  }

  .window-bar {
    padding: 0.8rem 1rem;
  }

  .spec-row {
    flex-direction: column;
    gap: 4px;
  }

  .action-row {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn-wrapper {
    width: 100%;
  }

  .btn {
    white-space: normal;
  }
}