/* Smart Media Cleanup — admin styles */

.smc-wrap h1 {
	margin-bottom: 16px;
}

/* Notice banners */
.smc-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 3px;
	margin-bottom: 20px;
	border-left: 4px solid transparent;
}

.smc-notice .dashicons {
	flex-shrink: 0;
	margin-top: 1px;
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.smc-notice--warning {
	background: #fff8e5;
	border-left-color: #dba617;
	color: #3c2e00;
}

.smc-notice--warning .dashicons {
	color: #dba617;
}

.smc-notice--info {
	background: #f0f6fc;
	border-left-color: #2271b1;
	color: #1d2327;
}

.smc-notice--info .dashicons {
	color: #2271b1;
}

/* Inline caution text under fields */
.smc-caution {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin-top: 8px;
	padding: 8px 12px;
	background: #fff8e5;
	border-left: 3px solid #dba617;
	color: #3c2e00;
	font-size: 13px;
	border-radius: 0 3px 3px 0;
}

.smc-caution .dashicons {
	flex-shrink: 0;
	font-size: 16px;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	color: #dba617;
}

/* Danger button */
.smc-btn-danger,
.smc-btn-danger:hover,
.smc-btn-danger:focus {
	background: #cc1818 !important;
	border-color: #a01010 !important;
	color: #fff !important;
	box-shadow: none !important;
}

.smc-btn-danger:hover {
	background: #a01010 !important;
}

/* Settings page */
.smc-wrap .form-table th {
	width: 220px;
}

/* Log page */
.smc-log-filters {
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.smc-log-table .smc-url-cell {
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Orphan page */
.smc-orphan-table img.smc-thumb {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 3px;
}

.smc-progress-wrap {
	margin: 16px 0;
	display: none;
}

.smc-progress-bar {
	height: 20px;
	background: #f0f0f1;
	border-radius: 3px;
	overflow: hidden;
}

.smc-progress-bar-inner {
	height: 100%;
	background: #2271b1;
	width: 0;
	transition: width 0.2s ease;
}

.smc-progress-label {
	margin-top: 6px;
	font-size: 13px;
	color: #646970;
}

/* Modal */
.smc-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.smc-modal {
	background: #fff;
	border-radius: 4px;
	padding: 24px;
	max-width: 420px;
	width: 90%;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.smc-modal-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.smc-modal-icon {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #dba617;
	flex-shrink: 0;
}

.smc-modal h2 {
	margin: 0;
	font-size: 18px;
}

.smc-modal-caution {
	margin-top: 10px;
	padding: 8px 12px;
	background: #fff0f0;
	border-left: 3px solid #cc1818;
	color: #6e0000;
	font-size: 13px;
	border-radius: 0 3px 3px 0;
}

.smc-modal .smc-modal-actions {
	margin-top: 20px;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}
