/**
 * My Account storefront polish (load last — beats Dokan/Blocksy notice/button colors).
 */

/* Woo notice CTAs: white label on solid blue (never link-blue-on-blue). */
body.woocommerce-account .woocommerce-info a.button,
body.woocommerce-account .woocommerce-message a.button,
body.woocommerce-account .woocommerce-error a.button,
body.woocommerce-account .woocommerce-info a.woocommerce-Button,
body.woocommerce-account .woocommerce-message a.woocommerce-Button,
body.woocommerce-account .woocommerce-error a.woocommerce-Button,
body.woocommerce-account .woocommerce-info .button,
body.woocommerce-account .woocommerce-message .button,
body.woocommerce-account .woocommerce-error .button,
body.woocommerce-account .woocommerce-info a.button:visited,
body.woocommerce-account .woocommerce-message a.button:visited,
body.pg-account .woocommerce-info a.button,
body.pg-account .woocommerce-message a.button,
body.pg-account .woocommerce-info a.woocommerce-Button,
body.pg-account .woocommerce-message a.woocommerce-Button {
	background-color: #00a8ff !important;
	background-image: none !important;
	color: #ffffff !important;
	border: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

body.woocommerce-account .woocommerce-info a.button:hover,
body.woocommerce-account .woocommerce-message a.button:hover,
body.woocommerce-account .woocommerce-error a.button:hover,
body.woocommerce-account .woocommerce-info a.woocommerce-Button:hover,
body.woocommerce-account .woocommerce-message a.woocommerce-Button:hover,
body.woocommerce-account .woocommerce-info a.button:focus,
body.woocommerce-account .woocommerce-message a.button:focus,
body.pg-account .woocommerce-info a.button:hover,
body.pg-account .woocommerce-message a.button:hover {
	background-color: #0047ff !important;
	color: #ffffff !important;
}

/*
 * Dokan .dokan-error defaults to white card; storefront body text is white → invisible.
 * Keep dark elevated panel + readable text on My Account.
 */
body.woocommerce-account .dokan-error,
body.woocommerce-account .dokan-message,
body.woocommerce-account .dokan-info,
body.woocommerce-account .dokan-alert,
body.woocommerce-account .dokan-support-customer-listing .dokan-error,
body.woocommerce-account .dokan-support-topic-wrapper .dokan-error,
body.pg-account .dokan-error,
body.pg-account .dokan-message,
body.pg-account .dokan-info,
body.pg-account .dokan-alert {
	background: #1a1f29 !important;
	background-color: #1a1f29 !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 59, 92, 0.45) !important;
	border-top-width: 3px !important;
	border-radius: 8px !important;
	padding: 0.9rem 1rem 0.9rem 3rem !important;
}

body.woocommerce-account .dokan-info,
body.woocommerce-account .dokan-message,
body.pg-account .dokan-info,
body.pg-account .dokan-message {
	border-color: rgba(0, 168, 255, 0.4) !important;
}

body.woocommerce-account .dokan-error:before,
body.woocommerce-account .dokan-info:before,
body.woocommerce-account .dokan-message:before,
body.pg-account .dokan-error:before,
body.pg-account .dokan-info:before,
body.pg-account .dokan-message:before {
	color: #ffffff !important;
}

body.woocommerce-account .dokan-support-topic-counts,
body.woocommerce-account .dokan-support-topic-counts a,
body.pg-account .dokan-support-topic-counts,
body.pg-account .dokan-support-topic-counts a {
	color: #a8b0bd !important;
}

body.woocommerce-account .dokan-support-topic-counts a:hover,
body.woocommerce-account .dokan-support-topic-counts .current,
body.pg-account .dokan-support-topic-counts a:hover,
body.pg-account .dokan-support-topic-counts .current {
	color: #00a8ff !important;
}

/* Followed vendors empty / listing on My Account */
body.woocommerce-account .dokan-seller-listing-wrap,
body.woocommerce-account #dokan-seller-listing-wrap,
body.pg-account .dokan-seller-listing-wrap {
	color: #ffffff;
}

body.woocommerce-account .dokan-seller-listing-wrap .dokan-error,
body.pg-account .dokan-seller-listing-wrap .dokan-error {
	background: #1a1f29 !important;
	color: #ffffff !important;
}
