/**
 * File Path: assets/css/mbs-admin-broadcast.css
 *
 * Admin styles for broadcast preview modal and buttons.
 *
 * @package MyBookShowroom
 * @since   1.1.1
 */

/* ── Modal overlay ─────────────────────────────────────────────────────── */
#mbs-broadcast-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.55);
	z-index: 100000;
	align-items: center;
	justify-content: center;
}
#mbs-broadcast-modal-overlay.mbs-modal-open {
	display: flex;
}

/* ── Modal dialog ───────────────────────────────────────────────────────── */
#mbs-broadcast-modal {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.28);
	width: 700px;
	max-width: 95vw;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
}
#mbs-broadcast-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid #ddd;
	font-weight: 600;
	font-size: 14px;
}
#mbs-broadcast-modal-close {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	color: #666;
	padding: 0;
}
#mbs-broadcast-modal-close:hover {
	color: #000;
}
#mbs-broadcast-modal-body {
	padding: 0;
	overflow: hidden;
	flex: 1;
}
#mbs-broadcast-preview-frame {
	width: 100%;
	height: 520px;
	border: none;
}
#mbs-broadcast-modal-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 18px;
	border-top: 1px solid #ddd;
	font-size: 13px;
}
#mbs-test-send-result {
	color: #2c7a2c;
	flex: 1;
	margin-right: 12px;
}
#mbs-test-send-result.mbs-error {
	color: #b32d2e;
}
