/**
 * Megurio Subscriptions Frontend Styles
 * Minimal & Non-intrusive standard WooCommerce table styling
 */

.megurio-subscription-notice {
	box-sizing: border-box;
	clear: both;
	display: block;
	width: 100%;
	margin: 0.75em 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 0.95em;
	line-height: 1.5;
	color: inherit;
}

.megurio-subscription-notice strong {
	display: block;
	margin: 0 0 0.25em;
	font-weight: 600;
	color: inherit;
}

.megurio-subscription-badge {
	display: inline-block;
	padding: 0.15em 0.55em;
	background: #f0f8eb;
	border: 1px solid #c2ddb8;
	border-radius: 3px;
	font-size: 0.85em;
	font-weight: 600;
	color: #355b2f;
}

.megurio-subscription-interval {
	font-size: 0.9em;
	color: inherit;
	opacity: 0.8;
}

.megurio-price-interval {
	font-size: 0.8em;
	font-weight: normal;
	opacity: 0.75;
	margin-left: 0.2em;
}

.megurio-price-details {
	display: block;
	margin-top: 0.35em;
	font-size: 0.85em;
	font-weight: 600;
	line-height: 1.45;
	color: inherit;
}

.megurio-account-heading {
	margin-top: 24px;
	margin-bottom: 12px;
}

.woocommerce-account table.shop_table.order_details,
.woocommerce-account table.shop_table.subscription_details {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}

.woocommerce-account table.shop_table.order_details th,
.woocommerce-account table.shop_table.order_details td,
.woocommerce-account table.shop_table.subscription_details th,
.woocommerce-account table.shop_table.subscription_details td {
	padding: 10px 14px;
	border: 1px solid #e2e2e2;
	vertical-align: middle;
}

.woocommerce-account table.shop_table.order_details thead th {
	background: #f8f9fa;
	font-weight: 600;
	text-align: left;
}

.woocommerce-account table.shop_table.order_details thead th.product-actions {
	text-align: right;
}

.megurio-cancel-subscription-form {
	display: inline-block;
	margin: 0;
}

.megurio-cancel-subscription-form .button.megurio-button-danger {
	color: #b32d2e;
	text-decoration: underline;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px 8px;
	font-size: 0.9em;
	box-shadow: none;
}

.megurio-cancel-subscription-form .button.megurio-button-danger:hover {
	color: #8a2424;
	background: #fcf0f1;
}

.megurio-change-payment-details {
	margin: 16px 0;
	padding: 12px 16px;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
}

.megurio-token-list {
	list-style: none;
	margin: 12px 0;
	padding: 0;
}

.megurio-token-list li {
	margin-bottom: 8px;
}
