/* Database Backup Manager – Admin Styles */

.dbm-wrap h1 {
	margin-bottom: 20px;
}

/* Stats cards */
.dbm-stats-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
}

.dbm-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1 1 180px;
	min-width: 160px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.dbm-card-icon {
	font-size: 32px;
	color: #2271b1;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.dbm-card-body {
	line-height: 1.3;
}

.dbm-card-label {
	margin: 0;
	font-size: 12px;
	color: #777;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.dbm-card-value {
	margin: 4px 0 0;
	font-size: 20px;
	font-weight: 600;
	color: #1d2327;
}

/* Two-column layout */
.dbm-columns {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.dbm-panel {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	min-width: 240px;
}

.dbm-panel h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 0;
	font-size: 14px;
	font-weight: 600;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 16px;
}

.dbm-panel-wide {
	flex: 1 1 500px;
	overflow-x: auto;
}

/* Table search */
.dbm-search-input {
	margin-left: auto;
	padding: 4px 8px;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-size: 13px;
}

/* Sortable column headers */
.dbm-sortable {
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}

.dbm-sortable:hover {
	color: #2271b1;
}

/* Missing file indicator */
.dbm-missing {
	color: #b32d2e;
	font-style: italic;
	font-size: 12px;
}

/* Delete form inline */
.dbm-delete-form {
	margin-left: 4px;
}

/* Responsive */
@media screen and (max-width: 782px) {
	.dbm-columns {
		flex-direction: column;
	}
	.dbm-stats-cards {
		gap: 10px;
	}
}
