/**
 * Booster Elite for WooCommerce - Back In Stock Notifications
 *
 * @version 1.0.0
 * @author  Pluggabl LLC.
 */

.wcj-back-in-stock-button-container {
	margin: 15px 0;
}
.wcj-back-in-stock-button {
	display: inline-block;
	padding: 10px 20px;
	background-color: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
}
.wcj-back-in-stock-button:hover {
	background-color: #e9e9e9;
}
.wcj-back-in-stock-button.loading {
	opacity: 0.7;
	cursor: wait;
}
/* Popup Styles */
.wcj-back-in-stock-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999999;
}
.wcj-back-in-stock-popup.active {
	display: flex;
	align-items: center;
	justify-content: center;
}
.wcj-back-in-stock-popup-content {
	position: relative;
	width: 90%;
	max-width: 500px;
	background-color: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.wcj-back-in-stock-popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	background-color: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #666;
	transition: all 0.3s ease;
	text-decoration: none;
	z-index: 10;
}
.wcj-back-in-stock-popup-close:hover {
	background-color: #e9e9e9;
	color: #333;
}
.wcj-back-in-stock-popup-form-container h3 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 18px;
}
.wcj-back-in-stock-form-fields {
	margin-top: 20px;
}
.wcj-back-in-stock-form-field {
	margin-bottom: 15px;
}
.wcj-back-in-stock-form-field label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}
.wcj-back-in-stock-form-field input {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-sizing: border-box;
}
.wcj-back-in-stock-form-submit {
	margin-top: 20px;
}
.wcj-back-in-stock-form-submit button {
	width: 100%;
	padding: 12px;
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.wcj-back-in-stock-form-submit button:hover {
	background-color: #45a049;
}
.wcj-back-in-stock-form-submit button.loading {
	opacity: 0.7;
	cursor: wait;
}
.wcj-back-in-stock-form-message {
	margin-top: 15px;
}
.wcj-back-in-stock-loading {
	text-align: center;
	padding: 20px;
	color: #666;
}
.wcj-back-in-stock-success {
	text-align: center;
	color: #4CAF50;
	font-weight: bold;
	padding: 20px;
}
.wcj-back-in-stock-error {
	color: #d9534f;
	font-weight: bold;
}
/* reCAPTCHA Styles */
.wcj-back-in-stock-recaptcha {
	margin: 15px 0;
	display: flex;
	justify-content: center;
}
.wcj-back-in-stock-recaptcha .g-recaptcha {
	display: inline-block;
}
/* Dark theme adjustments */
.wcj-back-in-stock-popup-content .g-recaptcha[data-theme="dark"] {
	filter: brightness(0.8) contrast(1.2);
}
.wcj-back-in-stock-message {
	margin: 15px 0;
	padding: 10px 15px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}
.wcj-back-in-stock-message-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}
.wcj-back-in-stock-message-error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}
