/* The Pool By The Bain: Membership page. Goes in the plugin as assets/pbb-member.css */
.pbm { --ink: #0E3A47; --soft: #3E5A60; --sand: #F3EEE6; --aqua: #7FD1D6; --line: #B9C9C9; --err: #9B1C1C;
	box-sizing: border-box; max-width: 560px; margin: 0 auto; padding: 16px; font-family: var(--pbb-body, Inter, system-ui, -apple-system, "Segoe UI", sans-serif); font-size: 17px; line-height: 1.45; color: var(--ink); }
.pbm *, .pbm *::before, .pbm *::after { box-sizing: border-box; }
.pbm h1 { margin: 0 0 12px; font-family: var(--pbb-display, Fraunces, Georgia, serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.pbm h2 { margin: 0 0 12px; font-family: var(--pbb-display, Fraunces, Georgia, serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.pbm p { margin: 0 0 10px; }
.pbm a { color: inherit; }
.pbm-lead { font-size: 19px; }
.pbm-perks { margin: 0 0 20px; padding: 0; list-style: none; }
.pbm-perks li { padding: 10px 0; border-top: 1px solid var(--line); }
.pbm-perks li:last-child { border-bottom: 1px solid var(--line); }
.pbm-card { margin: 0 0 16px; padding: 20px; border-radius: 20px; background: #fff; }
.pbm-big { font-size: 24px; font-weight: 600; }
.pbm label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 15px; }
.pbm input[type=text], .pbm input[type=email], .pbm input[type=tel], .pbm input[type=password] { width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.pbm input:focus-visible, .pbm button:focus-visible, .pbm a:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
.pbm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pbm-two > div { min-width: 0; }
.pbm .pbm-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.pbm .pbm-check input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.pbm-hp { position: absolute; left: -9999px; }
.pbm-tabs { display: flex; gap: 8px; margin: 0 0 4px; }
.pbm-tabs button { flex: 1; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.pbm-tabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pbm .pbm-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 16px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.pbm .pbm-btn[disabled] { opacity: .6; cursor: default; }
.pbm .pbm-light { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.pbm .pbm-danger { background: var(--err); }
.pbm-textbtn { border: 0; background: none; padding: 8px 0; font: inherit; color: var(--soft); text-decoration: underline; cursor: pointer; }
.pbm-small { font-size: 14px; color: var(--soft); margin-top: 14px; text-align: center; }
.pbm-note { font-size: 15px; color: var(--soft); margin-top: 14px; }
.pbm-ok { padding: 12px 14px; border-radius: 12px; background: #DDF1E4; color: #1D5B33; }
.pbm-error { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: #FBE9E9; color: var(--err); font-size: 15px; }
.pbm-confirm { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--line); }

/* 1.3.2: Paying on a phone. Page gutter + this page's padding + the card's padding left Stripe's form too little room on an
   iPhone, so it ran off the right-hand side. On phones the payment card widens into this page's padding and the form uses the
   card's full width; the heading and text keep their padding. */
.pbm #pbm-pay-box { min-width: 0; }
@media (max-width: 600px) {
	.pbm #pbm-pay-box { margin-left: -20px; margin-right: -20px; }
	.pbm .pbm-card:has(#pbm-pay-box) { margin-left: -16px; margin-right: -16px; }
	/* In this theme's page column there is also the theme's side gutter, so go to the screen edges. */
	.pbt-page .pbm .pbm-card:has(#pbm-pay-box) { margin-left: calc(-16px - var(--gutter, 20px)); margin-right: calc(-16px - var(--gutter, 20px)); border-radius: 0; }
}
