/**
 * Imadero admin styles.
 *
 * @package Imadero
 */

.imadero-wrap {
	max-width: 800px;
}

.imadero-description {
	font-size: 14px;
	color: #50575e;
	margin-bottom: 24px;
}

.imadero-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 24px;
	margin-bottom: 20px;
}

.imadero-card h2 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 16px;
}

.imadero-card > p {
	margin-bottom: 16px;
	color: #50575e;
}

/* Progress bar */
.imadero-progress {
	margin-top: 16px;
}

.imadero-progress-bar {
	width: 100%;
	height: 24px;
	background: #f0f0f1;
	border-radius: 12px;
	overflow: hidden;
}

.imadero-progress-fill {
	height: 100%;
	width: 0;
	background: #2271b1;
	border-radius: 12px;
	transition: width 0.3s ease;
}

.imadero-progress-text {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	color: #50575e;
}

/* Results */
.imadero-results {
	display: flex;
	gap: 32px;
	margin-top: 20px;
	padding: 20px;
	background: #f0f6fc;
	border-radius: 4px;
	border-left: 4px solid #2271b1;
}

.imadero-results-success {
	background: #edfaef;
	border-left-color: #00a32a;
	flex-direction: column;
}

.imadero-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.imadero-stat-number {
	font-size: 28px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.2;
}

.imadero-stat-label {
	font-size: 13px;
	color: #50575e;
	margin-top: 4px;
}

.imadero-success-message {
	font-size: 14px;
	color: #1d2327;
	margin: 0;
}

/* Preventer toggle */
.imadero-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.imadero-toggle input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
}

.imadero-toggle-label {
	font-size: 14px;
	font-weight: 500;
}

.imadero-help-text {
	margin-top: 8px;
	margin-left: 28px;
	font-size: 13px;
	color: #646970;
}

.imadero-notice {
	margin-top: 12px;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 13px;
}

.imadero-notice-success {
	background: #edfaef;
	border-left: 4px solid #00a32a;
	color: #1d2327;
}

.imadero-notice-error {
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	color: #1d2327;
}

/* Button states */
.imadero-card .button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.imadero-retry-btn {
	margin-top: 10px;
}
