/**
 * Frontend CSS
 *
 * Styling for addon options in variations table.
 *
 * @package WC_Variation_Addon_Fees
 */

/* Addon Option Rows in Variations Table */
.wc-vaf-addon-option-row {
	/* Inherits table styling from WooCommerce */
}

.wc-vaf-addon-option-row .label {
	/* Match WooCommerce variations table label styling */
	vertical-align: top;
	padding: 0.5em 0;
}

.wc-vaf-addon-option-row .value {
	/* Match WooCommerce variations table value styling */
}

.wc-vaf-addon-select {
	/* Match WooCommerce select styling */
	width: 100%;
	max-width: 100%;
	padding: 0.5em;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-size: inherit;
	line-height: 1.5;
}

.wc-vaf-addon-select:focus {
	border-color: #999;
	outline: none;
}

/* Price Display */
.wc-vaf-addon-total {
	margin-top: 16px;
	padding: 8px 12px;
	background: #f7f7f7;
	border-left: 3px solid #0073aa;
	font-size: 0.95em;
}

.wc-vaf-addon-total small {
	color: #555;
}

.wc-vaf-addon-total strong {
	color: #0073aa;
	font-weight: 600;
}

/* Reset Variations Wrapper */
.wc-vaf-reset-variations-wrapper {
	margin-top: 1rem;
	text-align: left;
}

.wc-vaf-reset-variations-wrapper .reset_variations {
	display: inline-block;
	font-size: 0.875rem;
	color: #6b7280;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.wc-vaf-reset-variations-wrapper .reset_variations:hover {
	color: #111827;
}

/* Responsive Design */
@media (width <= 768px) {
	.wc-vaf-addon-option-row .label,
	.wc-vaf-addon-option-row .value {
		display: block;
		width: 100%;
		padding: 0.5em 0;
	}

	.wc-vaf-addon-select {
		width: 100%;
	}
}
