/* SaxMas Registration Box / Card Style — v2026.10.01-05 */

/* Keep the per-event Coming Soon ribbon above the page's cream-background reset. */
html body.saxmas-registration-page #main #saxmas-app > .card > section .event-choice .event-coming-soon-ribbon {
    background: #b22222 !important;
    color: #fff !important;
}

.saxmas-registration-card {
    background: #fff;
    border: 2px solid #c5c5c5;
    border-radius: 14px;
    padding: 22px;
    max-width: 600px;
    margin: 0 auto 30px auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    font-size: 16px;
}

.saxmas-registration-card h2 {
    margin-top: 0;
    font-size: 22px;
    text-align: left;
}

.saxmas-registration-card input,
.saxmas-registration-card select {
    width: 100%;
    padding: 8px;
    font-size: 15px;
    margin-bottom: 12px;
    border: 1px solid #aaa;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Player cards */
.saxmas-player-card {
    background: #f7f7f7;
    border: 1px solid #bbb;
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
    font-size: 15px;
}

/* Buttons */
.saxmas-btn-add {
    background: #008f2e;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 15px;
}

.saxmas-btn-remove {
    background: #c80000;
    color: white;
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.saxmas-btn-pay {
    background: #005ea6;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    width: 100%;
    font-size: 18px;
    cursor: pointer;
    margin-top: 15px;
}

/* Total Box */
.saxmas-total-box {
    background: #fffde7;
    border: 2px solid #bda900;
    padding: 12px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 12px;
    margin-bottom: 15px;
    text-align: right;
}


/* DEV3 global holly-and-mistletoe right-sidebar border — v2026.08.31-03 */
html body #sidebar-right {
    position: relative;
    padding: 18px;
    border: 4px solid #b22222 !important;
    border-radius: 18px;
    background: #fffdf0 !important;
}
html body #sidebar-right .widget {
    background: transparent !important;
}

/* DEV3 Join Us: Registration Setup-driven event flyers. */
html body.saxmas-join-us-page #main .saxmas-event-flyers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 18px 0;
    background: #fffdf0 !important;
}
html body.saxmas-join-us-page #main .saxmas-event-flyer-card {
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
    text-align: center;
    background: #fffdf0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
.saxmas-event-flyer-preview {
    position: relative;
    aspect-ratio: 8.5 / 11;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #b22222;
    border-radius: 8px;
}
.saxmas-event-flyer-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}
.saxmas-event-flyer-open {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    cursor: zoom-in;
    background: transparent !important;
    border: 0 !important;
}
.saxmas-event-flyer-open:focus-visible {
    outline: 4px solid #1f6338 !important;
    outline-offset: -4px;
}
html body.saxmas-join-us-page #main .saxmas-event-flyer-title {
    margin: 10px 6px 2px;
    color: #1f6338;
    font-size: 1.05rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.saxmas-event-flyers-empty {
    margin: 18px 0;
    text-align: center;
}
.saxmas-flyer-modal[hidden] {
    display: none !important;
}
.saxmas-flyer-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    padding: 20px;
}
.saxmas-flyer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .76) !important;
}
html body #main .saxmas-flyer-modal-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: min(980px, 96vw);
    height: min(900px, 94vh);
    padding: 16px !important;
    background: #fffdf0 !important;
    border: 4px solid #b22222 !important;
    border-radius: 18px;
}
.saxmas-flyer-modal-header {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.saxmas-flyer-modal-header h2 {
    margin: 0;
}
.saxmas-flyer-modal-close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    background: #b22222 !important;
    border: 0 !important;
    border-radius: 50%;
}
.saxmas-flyer-modal-frame {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    background: #fff;
    border: 1px solid #777;
}
.saxmas-flyer-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 12px 0 0;
}
body.saxmas-flyer-modal-open {
    overflow: hidden;
}
@media (max-width: 640px) {
    html body.saxmas-join-us-page #main .saxmas-event-flyers {
        grid-template-columns: 1fr;
    }
    .saxmas-flyer-modal {
        padding: 8px;
    }
    html body #main .saxmas-flyer-modal-panel {
        width: 100%;
        height: 96vh;
        padding: 10px !important;
    }
}

/* DEV3 Registration page: two equal event panels and expandable media. */
html body.saxmas-registration-page #main .saxmas-registration-landing,
html body.saxmas-registration-page #main .saxmas-registration-intro,
html body.saxmas-registration-page #main .saxmas-registration-events {
    background: #fffdf0 !important;
}
html body.saxmas-registration-page #main .saxmas-registration-intro {
    margin-bottom: 20px;
    text-align: center;
}
html body.saxmas-registration-page #main .saxmas-registration-events {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}
html body.saxmas-registration-page #main article.saxmas-registration-event-card {
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 18px !important;
    overflow: hidden;
    text-align: center;
    background: #fffdf0 !important;
    border: 4px solid #b22222 !important;
    border-radius: 18px;
}
html body.saxmas-registration-page #main .saxmas-registration-event-card h2 {
    margin: 0 0 10px;
    color: #1f6338;
    overflow-wrap: anywhere;
}
.saxmas-registration-event-location {
    margin: 0 0 12px;
}
html body.saxmas-registration-page #main .saxmas-registration-media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    background: #fffdf0 !important;
}
html body.saxmas-registration-page #main .saxmas-registration-media-item {
    min-width: 0;
    background: #fffdf0 !important;
}
.saxmas-registration-media-preview {
    position: relative;
    aspect-ratio: 8.5 / 11;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #b22222;
    border-radius: 8px;
}
.saxmas-registration-media-preview iframe,
.saxmas-registration-media-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
    pointer-events: none;
}
.saxmas-registration-media-open {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    cursor: zoom-in;
    background: transparent !important;
    border: 0 !important;
}
.saxmas-registration-media-open:focus-visible {
    outline: 4px solid #1f6338 !important;
    outline-offset: -4px;
}
html body.saxmas-registration-page #main .saxmas-registration-media-label {
    margin: 8px 4px 0;
    color: #1f6338;
    font-size: 1rem;
}
.saxmas-scroll-to-registration {
    display: inline-block;
    margin-top: 16px;
}
html body.saxmas-registration-page #main .saxmas-registration-form-section {
    margin-top: 32px;
    padding-top: 8px;
    background: #fffdf0 !important;
    scroll-margin-top: 28px;
}
@media (max-width: 700px) {
    html body.saxmas-registration-page #main .saxmas-registration-events {
        grid-template-columns: 1fr;
    }
}

html body.saxmas-registration-page #main .saxmas-registration-coming-soon {
    box-sizing: border-box;
    padding: 28px !important;
    text-align: center;
    background: #fffdf0 !important;
    border: 4px solid #b22222 !important;
    border-radius: 18px;
}
html body.saxmas-registration-page #main .saxmas-registration-coming-soon h1 {
    color: #b22222;
}

/* Registration artwork: preserve each image's natural proportions. */
html body.saxmas-registration-page #main .saxmas-registration-media-preview:has(> img) {
    aspect-ratio: 1772 / 1894;
}
html body.saxmas-registration-page #main .saxmas-registration-media-preview > img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
}

/* Keep the two event cards aligned when one event has no location line. */
@media (min-width: 769px) {
    html body.saxmas-registration-page #main .saxmas-registration-event-card:not(:has(> .saxmas-registration-event-location)) > .saxmas-registration-media-grid {
        margin-top: calc(1.8em + 22px);
    }
}

/* Normalize visible garment size: the San Jose source has substantially more white space. */
html body.saxmas-registration-page #main img[alt*="San Jose"][alt$="Sweatshirt"] {
    transform: translateY(30px) scale(1.27);
    transform-origin: center;
}

/* Separate the registration heading and event cards with visible white space. */
html body.saxmas-registration-page #main .saxmas-registration-landing,
html body.saxmas-registration-page #main .saxmas-registration-events {
    background: #fff !important;
}
html body.saxmas-registration-page #main .saxmas-registration-intro {
    box-sizing: border-box;
    margin-top: -8px;
    margin-bottom: 28px;
    padding: 14px 18px;
    background: #fffdf0 !important;
    border: 4px solid #b22222;
    border-radius: 18px;
}
html body.saxmas-registration-page #main .saxmas-registration-intro h1,
html body.saxmas-registration-page #main .saxmas-registration-intro p {
    margin-top: 0;
}
html body.saxmas-registration-page #main .saxmas-registration-intro p:last-child {
    margin-bottom: 0;
}

/* Remove the orphan form heading and standardize registration-step cards. */
html body.saxmas-registration-page #main .saxmas-registration-form-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #fff !important;
}
html body.saxmas-registration-page #main .saxmas-registration-form-section > h2 {
    display: none !important;
}
html body.saxmas-registration-page #main #saxmas-app > .card > section {
    background: #fffdf0 !important;
}
html body.saxmas-registration-page #main #saxmas-app .event-choice,
html body.saxmas-registration-page #main #saxmas-app .method-choice {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
}
html body.saxmas-registration-page #main #saxmas-app .event-choice input[type="checkbox"],
html body.saxmas-registration-page #main #saxmas-app .method-choice input[type="radio"] {
    flex: 0 0 auto;
    margin: 0;
}


/* DEV3 registration: use one continuous cream surface inside every step card. */
html body.saxmas-registration-page #main #saxmas-app .card,
html body.saxmas-registration-page #main #saxmas-app .event-detail,
html body.saxmas-registration-page #main #saxmas-app .performance-list,
html body.saxmas-registration-page #main #saxmas-app .detail-label,
html body.saxmas-registration-page #main #saxmas-app .sweatshirt,
html body.saxmas-registration-page #main #saxmas-app .sweatshirt figure,
html body.saxmas-registration-page #main #saxmas-app .registration-options,
html body.saxmas-registration-page #main #saxmas-app .section-title,
html body.saxmas-registration-page #main #saxmas-app .grid,
html body.saxmas-registration-page #main #saxmas-app .field,
html body.saxmas-registration-page #main #saxmas-app .merch-row,
html body.saxmas-registration-page #main #saxmas-app .total-box,
html body.saxmas-registration-page #main #saxmas-app .method-help,
html body.saxmas-registration-page #main #saxmas-app .method-choice {
    background: #fffdf0 !important;
}
html body.saxmas-registration-page #main #saxmas-app .sweatshirt img {
    mix-blend-mode: multiply;
}
.saxmas-flyer-modal-frame {
    background: #fffdf0 !important;
}


/* DEV3 registration: solid cream within cards; plain white between cards. */
html body.saxmas-registration-page #main #saxmas-app > .card {
    background: #fff !important;
}
html body.saxmas-registration-page #main #saxmas-app > .card > section,
html body.saxmas-registration-page #main #saxmas-app > .card > section :where(div, p, h1, h2, h3, label, figure, strong, span) {
    background: #fffdf0 !important;
}


/* Trim only the damaged empty right edge of the Sacramento sweatshirt image. */
html body.saxmas-registration-page #main img[alt*="Sacramento" i][alt*="Sweatshirt" i] {
    clip-path: inset(0 0.75% 0 0);
}


/* DEV3 registration: white separators only between bordered choices. */
html body.saxmas-registration-page #main #saxmas-app > .card > section .event-choices {
    background: #fff !important;
}
html body.saxmas-registration-page #main #saxmas-app .method-choice:not(:last-of-type) {
    box-shadow: 0 8px 0 #fff;
}


/* Registration Page Mode master switch — v2026.09.19-05 */
.saxmas-mode-banner { margin-bottom: 24px !important; }
body.saxmas-mode-coming-soon-page .saxmas-event-flyer-preview iframe,
.saxmas-registration-landing.saxmas-mode-coming-soon .saxmas-registration-media-preview iframe,
.saxmas-registration-landing.saxmas-mode-coming-soon .saxmas-registration-media-preview img {
    filter: blur(9px) !important;
}
body.saxmas-mode-coming-soon-page .saxmas-event-flyer-preview,
.saxmas-registration-landing.saxmas-mode-coming-soon .saxmas-registration-media-preview {
    overflow: hidden;
}
body.saxmas-mode-coming-soon-page .saxmas-event-flyer-open,
.saxmas-registration-landing.saxmas-mode-coming-soon .saxmas-registration-media-open,
.saxmas-registration-landing.saxmas-mode-coming-soon .saxmas-scroll-to-registration,
.saxmas-registration-landing.saxmas-mode-coming-soon .saxmas-registration-form-section {
    pointer-events: none !important;
}
.saxmas-registration-landing.saxmas-mode-coming-soon .saxmas-registration-form-section {
    display: none !important;
}
body.saxmas-mode-coming-soon-page .saxmas-event-flyer-preview::after,
.saxmas-registration-landing.saxmas-mode-coming-soon .saxmas-registration-media-preview::after {
    content: "Coming Soon";
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%,-50%) rotate(-6deg);
    z-index: 5;
    padding: .35em .7em;
    background: rgba(255,253,240,.94);
    border: 3px solid #b22222;
    border-radius: 8px;
    color: #b22222;
    font-weight: 800;
    font-size: clamp(1rem,2vw,1.5rem);
    white-space: nowrap;
}


/* Registration prompt visibility — v2026.09.19-08 */
html body.saxmas-registration-page #main #saxmas-app > .card > section > h2 {
    color: #b22222 !important;
    font-size: clamp(1.55rem, 2.6vw, 2rem) !important;
    font-weight: 900 !important;
}
html body.saxmas-registration-page #main #saxmas-app .section-title,
html body.saxmas-registration-page #main #saxmas-app .field > span,
html body.saxmas-registration-page #main #saxmas-app .detail-label {
    font-weight: 900 !important;
}
html body.saxmas-registration-page #main #saxmas-app .section-title {
    color: #b22222 !important;
    font-size: 1.45rem !important;
}
html body.saxmas-registration-page #main #saxmas-app .field > span,
html body.saxmas-registration-page #main #saxmas-app .detail-label {
    color: #1f6338 !important;
    font-size: 1.2rem !important;
}
html body.saxmas-registration-page #main #saxmas-app button {
    min-height: 48px;
    padding: 12px 22px !important;
    color: #111f4b;
    background: #ffc439;
    border: 2px solid #0070ba !important;
    border-radius: 9px !important;
    font-size: 1.2rem !important;
    font-weight: 900 !important;
}
html body.saxmas-registration-page #main #saxmas-app .event-choice,
html body.saxmas-registration-page #main #saxmas-app .method-choice {
    color: #1f6338 !important;
    background: #fff !important;
    border: 3px solid #1f6338 !important;
    border-radius: 10px !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
}

/* Registration UX refinements — v2026.09.19-08 */
html body.saxmas-registration-page #main #saxmas-app .method-choice {
    align-items: flex-start !important;
    gap: 14px !important;
}
html body.saxmas-registration-page #main #saxmas-app .method-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
html body.saxmas-registration-page #main #saxmas-app .method-name {
    color: #b22222;
    font-size: 1.35rem;
    line-height: 1.1;
}
html body.saxmas-registration-page #main #saxmas-app .method-instruction {
    color: #1f6338;
    font-size: 1.08rem;
    font-weight: 700;
}
html body.saxmas-registration-page #main #saxmas-app .size-row label {
    display: block;
    margin-bottom: 5px;
    color: #b22222;
    font-size: 1.08rem;
    text-align: left;
}
html body.saxmas-registration-page #main #saxmas-app .schedule-row {
    margin: 5px 0;
    font-size: 1.05rem;
}
html body.saxmas-registration-page #main #saxmas-app .schedule-note {
    margin: 3px 0 8px;
    font-style: italic;
}
/* Secure payment + festive completion — v2026.09.20-13 */
#card-payment-panel{max-width:620px;margin:20px auto;padding:22px;border:3px solid #176b43;border-radius:14px;background:#fffdf3}
.card-field{min-height:48px;margin:10px 0;padding:4px 10px;border:2px solid #176b43;border-radius:8px;background:#fff}
.card-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.payment-total{text-align:center;font-size:1.35rem;color:#b22222}.payment-divider{display:flex;align-items:center;gap:12px;max-width:620px;margin:20px auto;color:#176b43;font-weight:800}.payment-divider:before,.payment-divider:after{content:"";height:2px;background:#176b43;flex:1}.payment-divider span{border:2px solid #176b43;border-radius:50%;padding:8px}.festive-complete{max-width:900px;margin:0 auto 18px;padding:26px;text-align:center;background:#fffbea;border:4px solid #b22222;border-radius:18px}.festive-complete h1{margin:4px 0;color:#b22222;font-size:2.3rem}.festive-stars{color:#176b43;font-size:1.7rem;letter-spacing:.35em}@media(max-width:600px){.card-row{grid-template-columns:1fr}}


/* DEV3 registration notice modal — v2026.10.01-01 */
.saxmas-notice-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 24px;
    background: rgba(18, 42, 27, .58);
}
.saxmas-notice-panel {
    position: relative;
    box-sizing: border-box;
    width: min(520px, calc(100vw - 32px));
    padding: 30px 28px 26px;
    overflow: hidden;
    text-align: center;
    background: #fffaf0;
    border: 4px solid #b22222;
    border-radius: 18px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, .32);
}
.saxmas-notice-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #b22222 0 25%, #1f6338 25% 50%, #b22222 50% 75%, #1f6338 75% 100%);
}
.saxmas-notice-brand {
    margin: 4px 0 6px;
    color: #1f6338;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.saxmas-notice-panel h2 {
    margin: 4px 0 14px !important;
    color: #b22222 !important;
    font-size: 1.65rem !important;
    line-height: 1.15;
    text-align: center !important;
}
.saxmas-notice-panel p {
    margin: 0 auto 20px;
    max-width: 430px;
    color: #111;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
}
.saxmas-notice-panel button {
    min-width: 120px;
    margin: 0 auto;
    padding: 11px 24px;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    cursor: pointer;
    background: #b22222;
    border: 0;
    border-radius: 8px;
}
.saxmas-notice-panel button:hover,
.saxmas-notice-panel button:focus-visible {
    background: #8f1919;
    outline: 3px solid #1f6338;
    outline-offset: 3px;
}
@media (max-width: 520px) {
    .saxmas-notice-modal { padding: 14px; }
    .saxmas-notice-panel { width: 100%; padding: 28px 20px 22px; }
}
