.db-page {
  width: 100%;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

.action-card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);

  &.danger-card {
    border-top: 3px solid var(--color-danger);
  }

  &.accent-card {
    border-top: 3px solid var(--color-accent);
  }

  &.backup-card {
    border-top: 3px solid #10b981;
  }
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;

  .danger-card & {
    background: rgba(239, 68, 68, 0.08);
    color: var(--color-danger);
  }

  .accent-card & {
    background: var(--color-accent-glow);
    color: var(--color-accent-dark);
  }

  .backup-card & {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
  }
}

.card-content {
  h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
  }

  p {
    margin: 0.375rem 0 0;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
  }
}

.card-meta {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.card-action {
  margin-top: 0.5rem;
}

.result-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 0.8125rem;
  color: var(--color-success);

  i {
    font-size: 1rem;
    flex-shrink: 0;
  }
}

// Backup section
.backup-section {
  margin-top: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-surface-border);
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  i { color: #10b981; font-size: 1.1rem; }
  h3 { margin: 0; font-size: 0.95rem; font-weight: 700; }
}

.action-buttons {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.mono { font-family: monospace; }
.text-center { text-align: center; }
