/**
 * PlugeTune Database Cleanup Styles
 *
 * @package PlugeTune
 */

.db-cleanup-wrapper .description {
	margin-bottom: 10px;
}

.plugetune-cleanup-warning {
	background: #fef3c7;
	border-left: 4px solid #f59e0b;
	padding: 10px 15px;
	margin: 15px 0;
}

.plugetune-cleanup-warning p {
	margin: 0;
	font-size: 12px;
}

.plugetune-cleanup-warning i {
	color: #d97706;
}

.plugetune-cleanup-confirm {
	margin-bottom: 15px;
}

.plugetune-cleanup-confirm label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.plugetune-cleanup-confirm input[type="checkbox"] {
	width: 16px;
	height: 16px;
}

.plugetune-cleanup-confirm span {
	font-size: 13px;
}

.plugetune-cleanup-actions {
	margin: 15px 0;
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

#db-cleanup-status {
	font-size: 13px;
}

#db-cleanup-progress {
	display: none;
}

.plugetune-cleanup-progress-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
}

.plugetune-cleanup-progress-bar {
	background: #e2e8f0;
	height: 6px;
	border-radius: 3px;
	overflow: hidden;
}

#db-cleanup-progress-fill {
	background: linear-gradient(90deg, #3b82f6, #1d4ed8);
	width: 0%;
	height: 100%;
	transition: width 0.3s;
}

#db-cleanup-summary {
	margin-top: 15px;
	display: none;
}

.plugetune-cleanup-summary-box {
	background: #f0fdf4;
	border-radius: 8px;
	padding: 12px;
	border: 1px solid #bbf7d0;
}

.plugetune-cleanup-summary-box h4 {
	margin: 0 0 8px 0;
	font-size: 13px;
}

.plugetune-cleanup-table {
	width: 100%;
}

.plugetune-cleanup-table td {
	padding: 8px 0;
}

.plugetune-text-right {
	text-align: right;
}

.plugetune-text-success {
	color: #059669;
}