/**
 * Booster for WooCommerce - Presets CSS
 *
 * Styles for preset cards on the dashboard.
 *
 * @version 7.5.1
 * @since   7.5.1
 * @package Booster_For_WooCommerce/assets/css/admin
 */

/* Preset Cards Container */
.wcj-preset-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

/* Individual Preset Card */
.wcj-preset-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 20px;
	text-align: center;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.wcj-preset-card:hover {
	border-color: #0073aa;
	box-shadow: 0 2px 8px rgba(0, 115, 170, 0.15);
}

/* Preset Card Icon */
.wcj-preset-card .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #0073aa;
	margin-bottom: 10px;
}

/* Preset Card Title */
.wcj-preset-card h3 {
	margin: 15px 0 10px;
	font-size: 16px;
	font-weight: 600;
	color: #1e1e1e;
}

/* Preset Card Description */
.wcj-preset-card p {
	color: #666;
	margin-bottom: 15px;
	font-size: 13px;
	line-height: 1.5;
}

/* Apply Button */
.wcj-preset-card .button.button-primary {
	width: 100%;
	padding: 8px 16px;
	font-size: 13px;
}

.wcj-preset-card .button.button-primary:disabled {
	opacity: 0.7;
	cursor: wait;
}

/* Success State */
.wcj-preset-success {
	text-align: center;
	padding: 10px 0;
}

.wcj-preset-success .dashicons-yes-alt {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #46b450;
	margin-bottom: 10px;
}

.wcj-preset-success .wcj-preset-message {
	font-size: 14px;
	font-weight: 600;
	color: #46b450;
	margin-bottom: 10px;
}

.wcj-preset-success .wcj-preset-first-win {
	font-size: 13px;
	color: #666;
	margin-bottom: 15px;
}

.wcj-preset-success .wcj-preset-first-win strong {
	color: #1e1e1e;
}

.wcj-preset-success .button {
	margin-top: 5px;
}

/* Section Header for Presets */
.wcj-presets-section {
	margin: 30px 0;
}

.wcj-presets-section h2 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 5px;
	color: #1e1e1e;
}

.wcj-presets-section .description {
	color: #666;
	margin-bottom: 20px;
	font-size: 14px;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
	.wcj-preset-cards {
		grid-template-columns: 1fr;
	}

	.wcj-preset-card {
		padding: 15px;
	}

	.wcj-preset-card .dashicons {
		font-size: 36px;
		width: 36px;
		height: 36px;
	}
}
