/* ============================================================
   Back In Stock Notify Pro — Frontend Styles
   ============================================================ */

/* --- Trigger Button --- */
#bisnp-trigger-modal {
	margin-top: 10px;
	display: inline-block;
	cursor: pointer;
}

/* --- Modal Overlay --- */
.bisnp-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.bisnp-modal-overlay.bisnp-active {
	opacity: 1;
}

/* --- Modal Box --- */
.bisnp-modal-wrapper {
	background: #fff;
	padding: 32px 28px 28px;
	border-radius: 12px;
	max-width: 460px;
	width: 92%;
	position: relative;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	transform: translateY(-20px);
	transition: transform 0.25s ease;
	text-align: center;
}
.bisnp-modal-overlay.bisnp-active .bisnp-modal-wrapper {
	transform: translateY(0);
}

/* --- Close Button --- */
.bisnp-modal-close-btn {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #aaa;
	padding: 0;
}
.bisnp-modal-close-btn:hover {
	color: #333;
}

/* --- Product Preview --- */
.bisnp-product-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0f0f0;
}
.bisnp-product-img-wrap {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #eee;
	flex-shrink: 0;
	background: #f9f9f9;
}
.bisnp-product-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bisnp-product-info {
	text-align: left;
}
.bisnp-product-info strong {
	display: block;
	font-size: 14px;
	color: #333;
	line-height: 1.3;
}
.bisnp-product-price {
	font-size: 13px;
	color: #555;
}

/* --- Heading --- */
#bisnp-modal-title {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: #222;
}
.bisnp-modal-subtitle {
	font-size: 13px;
	color: #777;
	margin: 0 0 18px;
	line-height: 1.5;
}

/* --- Form Groups --- */
.bisnp-form-group {
	margin-bottom: 14px;
	text-align: left;
}
.bisnp-form-group label {
	display: block;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 5px;
	color: #444;
}
.bisnp-form-group input {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
	background: #fff;
	color: #333;
}
.bisnp-form-group input:focus {
	outline: none;
	border-color: #f07800;
	box-shadow: 0 0 0 2px rgba(240, 120, 0, 0.12);
}

/* --- Submit Button --- */
.bisnp-submit-btn {
	width: 100%;
	padding: 13px;
	font-size: 14px;
	font-weight: 700;
	border-radius: 6px;
	cursor: pointer;
	letter-spacing: 0.5px;
	margin-top: 6px;
	background-color: #f07800 !important;
	color: #fff !important;
	border: none !important;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}
.bisnp-submit-btn:hover {
	background-color: #d96500 !important;
}
.bisnp-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* --- Feedback --- */
.bisnp-feedback-container {
	margin-bottom: 12px;
	font-size: 13px;
	min-height: 20px;
}
.bisnp-feedback-success {
	color: #27ae60;
	font-weight: 600;
}
.bisnp-feedback-error {
	color: #c0392b;
	font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 480px) {
	.bisnp-modal-wrapper {
		padding: 24px 18px 20px;
	}
	#bisnp-modal-title {
		font-size: 17px;
	}
}
