/* Add to your theme's CSS file */

.content-body {
	padding: 2rem;
}

/* Table Styles */
.dt-table-wrap {
	background: white;
	border-radius: var(--radius-input);
	box-shadow: unset;
	width: 100%;
}

#collections-table_wrapper,
#archived-collections-table_wrapper,
#active-task-groups-table_wrapper,
#archived-task-groups-table_wrapper,
#collections-table_wrapper .dt-scroll,
#archived-collections-table_wrapper .dt-scroll,
#active-task-groups-table_wrapper .dt-scroll,
#archived-task-groups-table_wrapper .dt-scroll,
#collections-table_wrapper .dt-scroll-head,
#archived-collections-table_wrapper .dt-scroll-head,
#active-task-groups-table_wrapper .dt-scroll-head,
#archived-task-groups-table_wrapper .dt-scroll-head,
#collections-table_wrapper .dt-scroll-headInner,
#archived-collections-table_wrapper .dt-scroll-headInner,
#active-task-groups-table_wrapper .dt-scroll-headInner,
#archived-task-groups-table_wrapper .dt-scroll-headInner,
#collections-table_wrapper .dt-scroll-body,
#archived-collections-table_wrapper .dt-scroll-body,
#active-task-groups-table_wrapper .dt-scroll-body,
#archived-task-groups-table_wrapper .dt-scroll-body {
	max-width: 100%;
	width: 100% !important;
}

#collections-table,
#archived-collections-table,
#active-task-groups-table,
#archived-task-groups-table,
#collections-table_wrapper .dt-scroll-headInner table,
#archived-collections-table_wrapper .dt-scroll-headInner table,
#active-task-groups-table_wrapper .dt-scroll-headInner table,
#archived-task-groups-table_wrapper .dt-scroll-headInner table {
	min-width: 100%;
	table-layout: fixed;
	width: 100% !important;
}

#collections-table th:first-child,
#collections-table td:first-child,
#archived-collections-table th:first-child,
#archived-collections-table td:first-child,
#active-task-groups-table th:first-child,
#active-task-groups-table td:first-child,
#archived-task-groups-table th:first-child,
#archived-task-groups-table td:first-child {
	width: 48px;
}

#collections-table th:nth-child(3),
#collections-table td:nth-child(3),
#archived-collections-table th:nth-child(3),
#archived-collections-table td:nth-child(3),
#active-task-groups-table th:nth-child(3),
#active-task-groups-table td:nth-child(3),
#archived-task-groups-table th:nth-child(3),
#archived-task-groups-table td:nth-child(3) {
	width: 140px;
}

#collections-table th:nth-child(4),
#collections-table td:nth-child(4),
#archived-collections-table th:nth-child(4),
#archived-collections-table td:nth-child(4),
#active-task-groups-table th:nth-child(4),
#active-task-groups-table td:nth-child(4),
#archived-task-groups-table th:nth-child(4),
#archived-task-groups-table td:nth-child(4) {
	width: 150px;
}

#collections-table th:nth-child(5),
#collections-table td:nth-child(5),
#archived-collections-table th:nth-child(5),
#archived-collections-table td:nth-child(5),
#active-task-groups-table th:nth-child(5),
#active-task-groups-table td:nth-child(5),
#archived-task-groups-table th:nth-child(5),
#archived-task-groups-table td:nth-child(5) {
	width: 220px;
}

#collections-table th:nth-child(6),
#collections-table td:nth-child(6),
#archived-collections-table th:nth-child(6),
#archived-collections-table td:nth-child(6),
#active-task-groups-table th:nth-child(6),
#active-task-groups-table td:nth-child(6),
#archived-task-groups-table th:nth-child(6),
#archived-task-groups-table td:nth-child(6) {
	white-space: nowrap;
	width: 132px;
}

#collections-table th.dt-mobile,
#collections-table td.dt-mobile,
#archived-collections-table th.dt-mobile,
#archived-collections-table td.dt-mobile,
#active-task-groups-table th.dt-mobile,
#active-task-groups-table td.dt-mobile,
#archived-task-groups-table th.dt-mobile,
#archived-task-groups-table td.dt-mobile {
	padding-left: 0;
	padding-right: 0;
	width: 1px;
}

.table {
	margin-bottom: 0;
}

.table thead th {
	border-bottom: 1px solid var(--grayscale-150);
	color: #687588;
	font-weight: 500;
	padding: 1rem;
}

.table tbody td {
	padding: 1rem;
	vertical-align: middle;
}

/* Action Icons */
.action-icon {
	color: #687588;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem;
	border-radius: var(--radius-sm);
	transition: background-color 0.2s;
}

.action-icon:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

/* Search and Buttons */
.search-container {
	position: relative;
	width: 300px;
}

.search-container input {
	width: 100%;
	padding: 0.5rem 1rem;
	border: 1px solid var(--grayscale-150);
	border-radius: var(--radius-md);
	background-color: #f9fafb;
}

.verimus-btn {
	padding: 0.5rem 1rem;
	border-radius: var(--radius-md);
	font-weight: 500;
}

.primary-verimus-btn {
	background-color: #ff7a45;
	color: white;
}

.primary-verimus-btn:hover {
	background-color: #ff6a35;
	color: white;
}

/* Empty State */
.empty-state {
	border-radius: var(--radius-input);
	padding: 2rem;
}

.empty-state h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.empty-state p {
	color: #6b7280;
	margin-bottom: 1.5rem;
}

/* Pagination */
.dt-table-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	border-top: 1px solid var(--grayscale-150);
}

.dt-table-info {
	color: #6b7280;
}

/* Pagination wrapper - actual button styles in custom-dataTable.css */
.dt-table-pagination {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* View Link */
.view-link {
	color: #ff7a45;
	text-decoration: none;
}

.view-link:hover {
	text-decoration: underline;
}
