/* Profile page: settings tables shared styling */
/* Ensure consistent actions column width and no wrapping across all settings tables */
#bankingDetailsTable th.actions-col,
#bankingDetailsTable td.actions-col,
#noteTemplatesTable th.actions-col,
#noteTemplatesTable td.actions-col,
#emailTemplatesTable th.actions-col,
#emailTemplatesTable td.actions-col,
#teamsTable th.actions-col,
#teamsTable td.actions-col {
	width: 220px;
	white-space: nowrap;
}

/* Unify button look: consistent spacing, borders, and rounded corners */
#bankingDetailsTable td.actions-col .btn-group > .btn,
#noteTemplatesTable td.actions-col .btn-group > .btn,
#emailTemplatesTable td.actions-col .btn-group > .btn,
#teamsTable td.actions-col .btn-group > .btn {
	margin-right: .375rem; /* create a subtle gap between buttons */
	border-radius: var(--bs-btn-border-radius, .375rem) !important; /* each button rounded individually */
	border-width: 1px !important; /* ensure full borders on outline variants */
	border-style: solid !important;
	border-color: var(--bs-btn-border-color, var(--bs-border-color, #dee2e6)) !important;
	line-height: 1.25; /* normalize height across variants */
	padding: .25rem .5rem; /* align with btn-sm sizing */
}

/* Remove extra margin on the last button in the group */
#bankingDetailsTable td.actions-col .btn-group > .btn:last-child,
#noteTemplatesTable td.actions-col .btn-group > .btn:last-child,
#emailTemplatesTable td.actions-col .btn-group > .btn:last-child,
#teamsTable td.actions-col .btn-group > .btn:last-child {
	margin-right: 0;
}

/* Safety: ensure right-hand border exists for last buttons where Bootstrap collapse may hide it */
#bankingDetailsTable td.actions-col .btn-group > .btn:last-child,
#noteTemplatesTable td.actions-col .btn-group > .btn:last-child,
#emailTemplatesTable td.actions-col .btn-group > .btn:last-child,
#teamsTable td.actions-col .btn-group > .btn:last-child {
	border-right-width: 1px !important;
}

