/* premium_promo.css
 * Premium promotion strip banner, upsell box and the premium offer page.
 * Loaded on every page by page_template_flc.php
 */

/* ---- strip banner (top of every page) ---- */
.promo-bar { position:relative; z-index:5; background:#0d117a; text-align:center; }
.promo-bar-link,
a.promo-bar-link {
	display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:6px 14px;
	padding:8px 15px; color:#FFF; text-decoration:none; font-size:14px; line-height:1.3;
}
.promo-bar-tag {
	display:inline-block; background:#FFD600; color:#000; font-weight:700; font-size:12px;
	text-transform:uppercase; letter-spacing:0.5px; padding:3px 9px; border-radius:3px; white-space:nowrap;
}
.promo-bar-txt b { color:#FFD600; }
.promo-bar-btn {
	display:inline-block; border:1px solid #FFF; border-radius:20px; padding:3px 12px;
	font-weight:600; font-size:13px; white-space:nowrap;
}
a.promo-bar-link:hover .promo-bar-btn { background:#FFF; color:#000; }

@media (max-width: 600px) {
	.promo-bar-link, a.promo-bar-link { font-size:13px; padding:7px 10px; }
	.promo-bar-btn { display:none; }
}

/* ---- upsell box (submit lines page, member home) ---- */
.premium-upsell {
	display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 20px;
	background:#FFF8E1; border:1px solid #FFD54F; border-left:5px solid #FF9900; border-radius:6px;
	padding:12px 16px; margin:1em 0; text-align:left;
}
.premium-upsell-txt { flex:1 1 260px; font-size:15px; line-height:1.4; color:#333; }
.premium-upsell-txt b { color:#000; }
.premium-upsell-offer { display:block; color:#D80000; font-weight:600; padding-top:2px; }
.premium-upsell .btn { white-space:nowrap; }

/* ---- "Keep playing free" (consent or pay, works without the cookie popup) - page_include/premium_status.php ---- */
.play-free-choice-btns { display:flex; flex-wrap:wrap; gap:8px; }
.play-free-choice-btns form { margin:0; }
.play-free-choice-small { display:block; font-size:13px; color:#666; padding-top:2px; }

/* ---- premium offer page  /member/premium-offer/ ---- */
.po-promo-hd {
	display:inline-block; color:#FFF; font-weight:700; font-size:14px; text-transform:uppercase;
	letter-spacing:0.5px; padding:5px 12px; border-radius:4px; margin:0 0 12px;
}
.po-ends { color:#D80000; font-weight:600; }

.po-terms { display:flex; flex-wrap:wrap; gap:14px; margin:1.5em 0; padding:0; }
.po-term { flex:1 1 170px; margin:0; }
.po-term button {
	position:relative; display:block; width:100%; height:100%; background:#FFF; border:2px solid #C9D3E3; border-radius:10px;
	padding:22px 12px 16px; text-align:center; cursor:pointer; font-family:inherit; color:#222;
	transition:border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.po-term-btn { transition:background-color 0.15s; }
/* the site's default button roll-over is a solid green fill - keep the card white, lift it and light up its own button */
#poTermForm .po-term button:hover,
#poTermForm .po-term button:focus {
	background:#FFF !important; color:#222 !important; border-color:#0045A5;
	box-shadow:0 4px 14px rgba(0,0,0,0.18); transform:translateY(-2px);
}
#poTermForm .po-terms-sub .po-term button:hover,
#poTermForm .po-terms-sub .po-term button:focus { background:#FFFBF2 !important; }
#poTermForm .po-term.po-term-best button:hover,
#poTermForm .po-term.po-term-best button:focus { border-color:#FF9900; }
.po-term button:hover .po-term-btn { background:#002F73; }
.po-term.po-term-best button:hover .po-term-btn { background:#E68A00; }
.po-term.po-term-best button { border-color:#FF9900; }
.po-term-flag {
	position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:#FF9900; color:#FFF;
	font-size:11px; font-weight:700; text-transform:uppercase; padding:3px 10px; border-radius:10px; white-space:nowrap;
}
.po-term-name { display:block; font-size:17px; font-weight:700; color:#0d117a; }
.po-term-was  { display:block; font-size:14px; color:#888; text-decoration:line-through; margin-top:8px; }
.po-term-now  { display:block; font-size:30px; font-weight:700; color:#D80000; line-height:1.1; }
.po-term-now.po-term-full { color:#0d117a; margin-top:8px; }
.po-term-pm   { display:block; font-size:13px; color:#555; margin-top:4px; line-height:1.4; }
.po-terms-sub .po-term { flex:1 1 240px; }
.po-terms-sub .po-term button { background:#FFFBF2; }
.po-group-hd  { margin:1.4em 0 0.2em; }
.po-group-txt { margin:0; font-size:14px; color:#555; }
.po-group-txt + .po-terms { margin-top:1.2em; }
.po-term-save { display:inline-block; background:#E8F5E9; color:#1B5E20; font-size:12px; font-weight:700; padding:3px 8px; border-radius:3px; margin-top:8px; }
.po-term-btn  { display:block; background:#0045A5; color:#FFF; font-weight:600; font-size:14px; border-radius:20px; padding:8px 10px; margin-top:14px; }
.po-term.po-term-best .po-term-btn { background:#FF9900; }

.po-summary { background:#F5F8FC; border-radius:8px; padding:16px 20px; margin:1em 0 1.5em; max-width:440px; }
.po-summary table { width:100%; border-collapse:collapse; }
.po-summary td { padding:5px 0; font-size:15px; color:#333; }
.po-summary td:last-child { text-align:right; font-weight:600; }
.po-summary tr.po-total td { border-top:1px solid #C9D3E3; padding-top:10px; font-size:19px; font-weight:700; color:#000; }
.po-summary tr.po-saving td { color:#1B5E20; }

#poPayPal { max-width:440px; margin:1em 0 0.5em; min-height:50px; }
#poMsg { max-width:440px; display:none; background:#FDECEA; border:1px solid #F5C6CB; color:#8A1C1C; border-radius:6px; padding:10px 14px; margin:1em 0; font-size:15px; }
#poMsg.po-msg-ok { background:#E8F5E9; border-color:#A5D6A7; color:#1B5E20; }
.po-small { font-size:13px !important; color:#777 !important; }
