/* ============================================
   NICOBAY レビュー投稿の完了ポップアップ
   「クーポンはメールでお送りします」を伝えるだけのモーダル。
   クーポンコード自体はここには出さない（メールで送る）。
   ============================================ */

.nbpdp-review-form__status {
	margin: 10px 0 0;
	min-height: 1em;
	font-size: 14px;
}

.nbpdp-review-form__status.is-busy {
	color: #666;
}

.nbpdp-review-form__status.is-error {
	color: #d6322c;
}

/* --- モーダル --- */

.nbpdp-review-done {
	position: fixed;
	inset: 0;
	/*
	 * 巨大値。coupon-modal.css と同じ理由で、テーマの sticky ヘッダーや
	 * 各種スタッキングコンテキストより確実に前面へ出す。
	 */
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	isolation: isolate;
	/*
	 * ★暗幕はここで描く。空の <div class="__overlay"> を重ねてはいけない
	 *   — base.css の `div:empty { display: none }` に消される。
	 */
	background: rgba(0, 0, 0, 0.6);
}

/* hidden 属性が付いている間は出さない（display:flex に負けないよう明示する）。 */
.nbpdp-review-done[hidden] {
	display: none;
}

/*
 * 開いている間は sticky ヘッダー類を背面に追いやる。
 * coupon-modal.css と同じ手当て（テーマ側の z-index は最大 1000 程度）。
 */
html.nb-review-done-open .nicobay-campaign-bar,
html.nb-review-done-open .site-header,
html.nb-review-done-open .nicobay-header,
html.nb-review-done-open .header-wrapper,
html.nb-review-done-open header.header {
	z-index: 0 !important;
	position: static !important;
}

html.nb-review-done-open {
	overflow: hidden;
}

.nbpdp-review-done__dialog {
	position: relative;
	width: 100%;
	max-width: 420px;
	padding: 32px 24px 24px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	text-align: center;
}

.nbpdp-review-done__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	border: 0;
	background: none;
	color: #666;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.nbpdp-review-done__title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
	color: #138808;
}

.nbpdp-review-done__lead {
	margin: 0 0 12px;
	font-size: 14px;
}

.nbpdp-review-done__text {
	margin: 0 0 12px;
	padding: 12px;
	border-radius: 8px;
	background: #e8f5e6;
	font-size: 14px;
	line-height: 1.7;
	text-align: left;
}

.nbpdp-review-done__note {
	margin: 0 0 20px;
	font-size: 12px;
	line-height: 1.7;
	color: #666;
	text-align: left;
}

.nbpdp-review-done__ok {
	width: 100%;
	padding: 13px 16px;
	border: 0;
	border-radius: 8px;
	background: #138808;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.nbpdp-review-done__ok:hover {
	background: #0f6e06;
}
