/* Register / Log in / Account pages (Paid Member Subscriptions) in the SEQ Weather look. Loaded only on those pages by class-seqweather-members.php. */
.seqwmt-member-page .seq-page-header, .seqwmt-member-page .entry-title, .seqwmt-member-page .page-title { display: none; } /* the pages carry their own heading */
.seqwmt-member-page .sm-pitch h2 { color: #fff !important; }
.seqwmt-member-page .sm-form h3 { color: #0b2a42 !important; }

/* ---- two columns: the pitch and the form ---- */
.sm-join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; margin: 6px 0 4px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 34px rgba(8, 32, 58, .18); border: 1px solid #d6e0ea; background: #fff; font-family: "Segoe UI", system-ui, sans-serif; }
.sm-pitch { position: relative; padding: 34px 30px; color: #eaf3fb; overflow: hidden;
  background: radial-gradient(circle at 92% 8%, rgba(75, 170, 255, .38), transparent 42%), repeating-radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .07) 0 1px, transparent 1px 34px), linear-gradient(150deg, #06182f 0%, #0a2b52 58%, #0c4a86 100%); }
.sm-pitch > * { position: relative; }
.sm-eyebrow { display: inline-block; padding: 3px 11px; border-radius: 999px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); color: #bfe2ff; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sm-pitch h2 { margin: 14px 0 6px; color: #fff; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.sm-lead { margin: 0 0 20px; color: #bcd6ee; font-size: 16px; }
.sm-perks { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
.sm-perks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 11px; align-items: start; font-size: 15.5px; line-height: 1.4; }
.sm-perks svg { width: 26px; height: 26px; padding: 5px; box-sizing: border-box; border-radius: 50%; background: #22c070; fill: #fff; }
.sm-perks strong { color: #fff; }
.sm-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-plan { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); }
.sm-plan b { font-size: 13px; letter-spacing: .04em; color: #cfe5f8; }
.sm-plan span { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.25; }
.sm-plan small { font-size: 12px; color: #a9c6e0; }
.sm-plan-plus { border-color: #f4c542; background: linear-gradient(135deg, rgba(255, 241, 166, .2), rgba(217, 151, 26, .22)); }
.sm-plan-plus b { color: #ffe27a; }

/* ---- the form card ---- */
.sm-form { padding: 34px 32px; background: #fff; }
.sm-form h3 { margin: 0 0 18px; font-size: 24px; color: #0b2a42; letter-spacing: -.01em; }
.seqwmt-member-page form.pms-form { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.seqwmt-member-page .pms-form-fields-wrapper, .seqwmt-member-page .pms-account-section-wrapper { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.seqwmt-member-page .pms-field { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.seqwmt-member-page .pms-field label { margin: 0; font-size: 13px; font-weight: 700; color: #26405a; }
.seqwmt-member-page .pms-form input[type="text"], .seqwmt-member-page .pms-form input[type="email"], .seqwmt-member-page .pms-form input[type="password"] { width: 100%; box-sizing: border-box; height: 44px; padding: 0 13px; border: 1px solid #c3d0dc; border-radius: 10px; background: #f8fbfd; font: 400 16px "Segoe UI", system-ui, sans-serif; color: #14232f; transition: border-color .15s, box-shadow .15s, background .15s; }
.seqwmt-member-page .pms-form input:focus { outline: 0; border-color: #1792ff; background: #fff; box-shadow: 0 0 0 3px rgba(23, 146, 255, .2); }
.seqwmt-member-page .pms-account-section-wrapper { grid-template-columns: 1fr 1fr; }
.seqwmt-member-page .pms-account-section-wrapper .pms-user-login-field, .seqwmt-member-page .pms-account-section-wrapper .pms-user-email-field { grid-column: 1 / -1; }
.seqwmt-member-page .pms-field-subscriptions { margin-top: 2px; }
.seqwmt-member-page .pms-subscription-plan { padding: 10px 13px; border: 1px solid #cfe1f3; border-radius: 10px; background: #f1f8ff; font-size: 14px; }
.seqwmt-member-page .pms-subscription-plan.pms-hidden { display: none; }
.seqwmt-member-page .pms-subscription-plan-description { font-size: 13px; color: #53677a; }
.seqwmt-member-page .pms-form-submit, .seqwmt-member-page input[type="submit"].pms-form-submit { width: 100%; height: 50px; margin-top: 8px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #2a9dff, #0e7ae0); color: #fff; font: 800 17px "Segoe UI", system-ui, sans-serif; letter-spacing: .01em; cursor: pointer; box-shadow: 0 6px 16px rgba(14, 122, 224, .38); transition: transform .12s, box-shadow .12s, filter .12s; }
.seqwmt-member-page .pms-form-submit:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 9px 20px rgba(14, 122, 224, .46); }
.seqwmt-member-page .pms-form-submit:active { transform: none; }
.seqwmt-member-page .pms-form-errors-wrapper, .seqwmt-member-page .pms_error, .seqwmt-member-page .pms-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fde8e8; color: #8a1c1c; font-size: 14px; list-style: none; }
.sm-switch { margin: 16px 0 0; text-align: center; font-size: 14px; color: #53677a; }
.sm-switch a { font-weight: 700; }

/* ---- Account and Password reset pages: the same card, without the pitch ---- */
.seqwmt-member-account .entry-content, .seqwmt-member-lost .entry-content { max-width: 720px; margin-inline: auto; }
.seqwmt-member-account .pms-form, .seqwmt-member-lost .pms-form { padding: 22px 24px; border: 1px solid #d6e0ea; border-radius: 14px; background: #fff; box-shadow: 0 6px 22px rgba(8, 32, 58, .1); }

@media (max-width: 820px) { .sm-join { grid-template-columns: minmax(0, 1fr); } .sm-pitch { padding: 26px 22px; } .sm-form { padding: 26px 22px; } .sm-plans { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .seqwmt-member-page .pms-account-section-wrapper { grid-template-columns: minmax(0, 1fr); } }

/* the small print under the Register form (consent, marketing promise, billing terms) */
.sm-legal { margin: 14px 0 0; font-size: 12.5px; line-height: 1.55; color: #5a6f82; }
.sm-legal a { font-weight: 600; }

a.sm-plan-plus { text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s, filter .12s; }
a.sm-plan-plus:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 8px 22px rgba(244, 197, 66, .35); }
a.sm-plan-plus small { color: #ffe27a; font-weight: 700; }

/* ---- the gold SEQWeather + chip (Account page banner and the success message) ---- */
.sm-plus-chip { position: relative; display: inline-flex; align-items: center; height: 22px; padding: 0 11px; overflow: hidden; vertical-align: middle; box-sizing: border-box; border-radius: 999px; border: 1px solid #fff0a0;
  color: #3a2500; font: 800 13px/1 "Segoe UI", system-ui, sans-serif; letter-spacing: .01em; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 244, 190, .6);
  background: linear-gradient(135deg, #fff1a6 0%, #f4c542 32%, #d9971a 62%, #f7d75e 100%); box-shadow: 0 0 0 1px rgba(122, 78, 0, .45), 0 2px 8px rgba(245, 179, 1, .45), inset 0 1px 0 rgba(255, 255, 255, .7); }
.sm-plus-chip::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: sm-glint 4.5s ease-in-out infinite; }
@keyframes sm-glint { 0%, 55% { left: -40%; } 85%, 100% { left: 125%; } }
@media (prefers-reduced-motion: reduce) { .sm-plus-chip::after { animation: none; display: none; } }
.sm-plus-banner { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; border: 1px solid #f1d27a; font: 15px/1.45 "Segoe UI", system-ui, sans-serif; color: #4a3500;
  background: linear-gradient(135deg, #fff9df 0%, #fdeeb3 100%); box-shadow: 0 6px 18px rgba(217, 151, 26, .22); }
.sm-plus-banner strong { color: #3a2500; }
.sm-plus-banner .sm-plus-chip { font-size: 15px; height: 28px; padding: 0 15px; }
/* the plugin's SUCCESS! message after subscribing */
.sm-success { display: block; padding: 14px 16px; border-radius: 12px; border: 1px solid #f1d27a !important; background: linear-gradient(135deg, #f1faee, #fff6d6) !important; color: #2c4a1f; font: 600 15px/1.5 "Segoe UI", system-ui, sans-serif; box-shadow: 0 4px 14px rgba(217, 151, 26, .18); }
.sm-success .sm-plus-chip { margin-right: 6px; }
@media (max-width: 560px) { .sm-plus-banner { flex-direction: column; align-items: flex-start; } }
.sm-plus-chip { flex: none; }
.sm-plus-banner .sm-plus-chip { height: 30px; font-size: 15px; }

/* ---- My account: the action links as clear buttons ---- */
.pms-account-subscription-details-table__actions td:last-child { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sm-act { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 10px; border: 1px solid #1177dd; background: #fff; color: #0e5fb0 !important; font: 700 14px "Segoe UI", system-ui, sans-serif; text-decoration: none !important; cursor: pointer; transition: background .12s, color .12s, box-shadow .12s; }
.sm-act:hover { background: #1177dd; color: #fff !important; box-shadow: 0 4px 12px rgba(17, 119, 221, .3); }
.sm-act-cancel { border-color: #8798a8; color: #3d5266 !important; }
.sm-act-cancel:hover { background: #3d5266; color: #fff !important; box-shadow: 0 4px 12px rgba(61, 82, 102, .3); }
.sm-act-abandon { border-color: #d6b3b3; color: #a02a2a !important; font-weight: 600; }
.sm-act-abandon:hover { background: #a02a2a; color: #fff !important; box-shadow: 0 4px 12px rgba(160, 42, 42, .3); }
.sm-act-update { height: 30px; padding: 0 12px; font-size: 13px; margin-top: 6px; }
.sm-act-help { margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; background: #f5f9fc; border: 1px solid #dbe6ef; color: #46607a; font: 13.5px/1.6 "Segoe UI", system-ui, sans-serif; }

.sm-act-result { flex-basis: 100%; font: 600 13.5px/1.5 "Segoe UI", system-ui, sans-serif; color: #46607a; }
.sm-act-result.is-ok { color: #14612f; }
.sm-act-result.is-bad { color: #8a1c1c; }

.sm-plus-banner.is-cancelled { background: linear-gradient(135deg, #f6f8fa 0%, #e8edf2 100%); border-color: #c9d3dc; color: #34495e; box-shadow: 0 4px 14px rgba(52, 73, 94, .12); }
.sm-plus-banner.is-cancelled strong { color: #1f3042; }

/* a cancelled membership: the chip turns silver */
.sm-plus-chip.is-silver { color: #1f2933; border-color: #fff; text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
  background: linear-gradient(135deg, #fbfcfd 0%, #cdd4db 34%, #94a0ac 64%, #e6ebf0 100%); box-shadow: 0 0 0 1px rgba(60, 72, 84, .45), 0 2px 8px rgba(190, 205, 220, .4), inset 0 1px 0 rgba(255, 255, 255, .85); }

/* the Free and SEQWeather + boxes in the pitch: wide rectangles, one under the other (name left, price right, note underneath) */
.sm-plans { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sm-plan { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; padding: 12px 16px; }
.sm-plan b { flex: 0 0 auto; font-size: 15px; letter-spacing: .02em; }
.sm-plan span { flex: 1 1 auto; text-align: right; font-size: 15px; }
.sm-plan small { flex: 0 0 100%; font-size: 12.5px; }
a.sm-plan-plus small { color: #ffe27a; font-weight: 700; }

/* My account action buttons: grow to fit their text when the column is narrow */
.sm-act { height: auto; min-height: 36px; padding-top: 6px; padding-bottom: 6px; line-height: 1.25; text-align: center; justify-content: center; }

/* the rings behind the pitch spread slowly outward (just movement, nothing else) */
@property --sm-ring { syntax: "<length>"; inherits: false; initial-value: 0px; }
.sm-pitch {
  background:
    radial-gradient(circle at 92% 8%, rgba(75, 170, 255, .38), transparent 42%),
    repeating-radial-gradient(circle at 92% 8%, transparent var(--sm-ring), rgba(255, 255, 255, .10) calc(var(--sm-ring) + 1px), transparent calc(var(--sm-ring) + 2px), transparent calc(var(--sm-ring) + 38px)),
    linear-gradient(150deg, #06182f 0%, #0a2b52 58%, #0c4a86 100%);
  animation: sm-ring-out 9s linear infinite;
}
@keyframes sm-ring-out { to { --sm-ring: 38px; } }
@media (prefers-reduced-motion: reduce) { .sm-pitch { animation: none; } }
