/* Shared Commitment Styles (Goals & Debts) */

/* Commitment Detail Page */

.commitment-card-wrapper {
  max-width: 100%;
  margin-bottom: 2rem;
}

/* Sections without backgrounds - cleaner design */
.commitment-actions,
.commitment-transactions,
.commitment-note {
  margin-bottom: 2rem;
}

.commitment-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-default);
  margin-bottom: 1rem;
}

.commitment-note p {
  color: var(--text-muted);
  line-height: 1.6;
  padding: 1rem;
  background: var(--bg-surface);
  border-radius: 0.5rem;
  border: 1px solid var(--border-light);
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}

.empty-state p {
  font-size: 0.9375rem;
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  .commitment-card-wrapper {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .commitment-actions,
  .commitment-transactions,
  .commitment-note {
    margin-bottom: 1.5rem;
  }

  .action-buttons {
    gap: 0.75rem;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .commitment-section-title {
    font-size: 1rem;
  }

  .empty-state {
    padding: 2rem 1rem;
  }
}
