.vs-deploy-card-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(45, 55, 72, 0.8);
}

.vs-deploy-card-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.12);
  color: #e9d5ff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.vs-deploy-card-btn:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(168, 85, 247, 0.65);
}

.vs-deploy-card-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vs-deploy-card-btn.is-deployed {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
}

.vs-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.vs-card-timeframe-badge,
.vs-card-live-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vs-card-timeframe-badge {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #7dd3fc;
}

.vs-card-live-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.vs-deploy-overlay {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.vs-deploy-modal {
  width: min(480px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  color: #e5e7eb;
  font: 13px/1.45 Inter, system-ui, sans-serif;
}

.vs-deploy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #374151;
}

.vs-deploy-modal-header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #f9fafb;
}

.vs-deploy-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.vs-deploy-modal-body {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.vs-deploy-meta {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid #2d3748;
}

.vs-deploy-meta strong {
  display: block;
  color: #f3f4f6;
  margin-bottom: 4px;
}

.vs-deploy-meta span {
  color: #9ca3af;
  font-size: 12px;
}

.vs-deploy-field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
  margin-bottom: 6px;
}

.vs-deploy-field select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #374151;
  background: #0f172a;
  color: #e5e7eb;
}

.vs-deploy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #d1d5db;
}

.vs-deploy-results {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  white-space: pre-wrap;
  border: 1px solid #374151;
  background: #0f172a;
  min-height: 48px;
}

.vs-deploy-results.ok { border-color: rgba(16, 185, 129, 0.35); color: #6ee7b7; }
.vs-deploy-results.warn { border-color: rgba(245, 158, 11, 0.35); color: #fcd34d; }
.vs-deploy-results.error { border-color: rgba(239, 68, 68, 0.35); color: #fca5a5; }

.vs-deploy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

.vs-deploy-actions button {
  flex: 1;
  min-width: 120px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #374151;
  background: #1f2937;
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.vs-deploy-actions button.primary {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.55);
  color: #f3e8ff;
}

.vs-deploy-actions button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.vs-deploy-active-badge {
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
  font-size: 12px;
}

.vs-sweep-max-dd-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.vs-sweep-max-dd-wrap label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vs-sweep-max-dd-wrap input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #374151;
  background: #0f172a;
  color: #e5e7eb;
  font-size: 12px;
}
