
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-0) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.card-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card strong {
  color: #e7f2ff;
  font-weight: 700;
}

.card-head strong {
  font-size: 16px;
}

.muted-line {
  color: var(--text-2);
}

.hidden {
  display: none !important;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.row.split > * {
  flex: 1 1 220px;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.row-actions.wrap {
  flex-wrap: wrap;
}

.row-actions.end {
  justify-content: flex-end;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 34px;
  padding: 6px 13px;
  background: linear-gradient(180deg, rgba(54, 56, 62, 0.98) 0%, rgba(44, 46, 52, 0.98) 100%);
  color: var(--text-0);
  font-weight: 700;
  letter-spacing: 0.005em;
  transition: filter 100ms ease, transform 80ms ease, border-color 120ms ease;
}

.btn:hover {
  filter: brightness(1.05);
  border-color: rgba(169, 186, 210, 0.42);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  border-color: rgba(127, 151, 191, 0.5);
  background: linear-gradient(180deg, #6e86ac 0%, #5f7699 100%);
  color: #f7f9fc;
}

.btn-success {
  border-color: rgba(127, 168, 142, 0.42);
  background: linear-gradient(180deg, #617d6c 0%, #567061 100%);
}

.btn-warning {
  border-color: rgba(168, 149, 116, 0.42);
  background: linear-gradient(180deg, #786c59 0%, #6b6050 100%);
}

.btn-danger {
  border-color: rgba(159, 125, 125, 0.44);
  background: linear-gradient(180deg, #785f5f 0%, #6c5656 100%);
}

.btn-light {
  background: linear-gradient(180deg, rgba(50, 52, 58, 0.98) 0%, rgba(42, 44, 50, 0.98) 100%);
}

.btn-icon-sm {
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  font-size: 14px;
}

.mt-1 {
  margin-top: 4px;
}
