﻿/* =========================================
   BASE VARIABLES
========================================= */

:root {

    /* -----------------------------------------
       Font Families
    ----------------------------------------- */

    --font-family-primary: museo-sans, "Trebuchet MS", "Segoe UI", Arial, sans-serif;



    /* -----------------------------------------
       Font Sizes
    ----------------------------------------- */

    /* Headings */
    --font-size-heading-xxl: clamp(2.5rem, 1.8rem + 3vw, 4rem); /* 40px → 64px */
    --font-size-heading-xl: clamp(2rem, 1.75rem + 1vw, 2.5rem); /* 32px → 40px */
    --font-size-heading-lg: clamp(1.75rem, 1.6rem + 0.6vw, 2rem); /* 28px → 32px */
    --font-size-heading-md: clamp(1.375rem, 1.25rem + 0.5vw, 1.5rem); /* 22px → 24px */
    --font-size-heading-sm: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); /* 18px → 20px */
    --font-size-heading-xs: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); /* 16px → 18px */

    /* Body */
    --font-size-body-lg: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem); /* 18px → 20px */
    --font-size-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); /* 16px → 18px */
    --font-size-body-sm: clamp(0.875rem, 0.82rem + 0.15vw, 1rem); /* 14px → 16px */
   
    /* Caption */
    --font-size-caption: clamp(0.75rem, 0.72rem + 0.1vw, 0.875rem); /* 12px → 14px */

     /* Eyebrow */
    --font-size-eyebrow: clamp(0.875rem, 0.82rem + 0.15vw, 1rem); /* 14px → 16px */

    

    /* -----------------------------------------
       Font Weights
    ----------------------------------------- */

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-heavy: 800;



    /* -----------------------------------------
       Line Heights
    ----------------------------------------- */

    --line-height-heading-xxl: 1;
    --line-height-heading-xl: 1.2;
    --line-height-heading-lg: 1.0625;
    --line-height-heading-md: 1.1;
    --line-height-heading-sm: 1.1;
    --line-height-heading-xs: 1.1;

    --line-height-body-lg: 1.8;
    --line-height-body: normal;
    --line-height-body-sm: 1.5;
    --line-height-caption: 1.43;

    --line-height-tight: 1.2;
    --line-height-loose: 2;



    /* -----------------------------------------
       Brand Colors
    ----------------------------------------- */

    --color-primary: #7170B3; /* purple */
    --color-secondary: #7AC142; /* green */

    --purple: #7170B3;
    --purple-dark: #32206f;
    --purple-light: #8584D0;
    --green: #7AC142;
    --green-dark: #54B948;
    --green-accent: #9FCF67;
    --pink: #CA0092;
    --magenta: #CA0092;
    --cyan: #18a8d8;
    --teal: #60C5BA;
    --aqua: #00B6DE;
    --yellow: #FFC425;
    --orange: #F89821;
    --black: #000;
    --white: #fff;

    --ink: #151515;
    --muted: #5f6368;
    --paper: #fff;

    --text-color: var(--color-ink);
    --bg-body: var(--color-paper);



    /* -----------------------------------------
       Links
    ----------------------------------------- */

    --link-color: var(--color-secondary);
    --link-hover-color: var(--color-primary);



    /* -----------------------------------------
       Spacing
    ----------------------------------------- */

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;



    /* -----------------------------------------
       Other
    ----------------------------------------- */
    
    --button-height: clamp(56px, 52px + 0.75vw, 64px);
    --border-radius-normal: 25px;
    --border-radius: clamp(32px, 6vw, 80px);
    --image-shadow-padding: clamp(12px, 2vw, 24px);



    /* -----------------------------------------
       Layout
    ----------------------------------------- */

    --container-width: 1320px;
    --section-padding: 5rem;



    /* -----------------------------------------
       Bootstrap Mapping
    ----------------------------------------- */

    --bs-body-font-family: var(--font-family-primary);
    --bs-body-font-size: var(--font-size-body);
    --bs-body-line-height: var(--line-height-body);
    --bs-body-color: var(--text-color);
    --bs-body-bg: var(--bg-body);

    --bs-link-color: var(--link-color);
    --bs-link-hover-color: var(--link-hover-color);
}


/* =========================================
   GLOBAL BASE
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--paper);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body-sm);
    color: var(--ink);
    overflow-x: clip;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================
   HEADINGS
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-heavy);
    margin-top: 0;
    margin-bottom: var(--space-sm);
    color: inherit;
}

.heading-xl,
h1 {
    margin-block: 0 1.25rem;
    font-size: var(--font-size-heading-xl);
    font-weight: 900;
    line-height: 1.2;
}

.heading-lg,
h2 {
    margin-block: 0 1rem;
    font-size: var(--font-size-heading-lg);
    font-weight: 900;
    line-height: 1.2;
}

.heading-md,
h3 {
    margin-block: 0 0.875rem;
    font-size: var(--font-size-heading-md);
    font-weight: 900;
    line-height: 1.25;
}

.heading-sm,
h4 {
    margin-block: 0 0.75rem;
    font-size: var(--font-size-heading-sm);
    font-weight: 900;
    line-height: 1.3;
}

.heading-xs,
h5,
h6 {
    margin-block: 0 0.625rem;
    font-size: var(--font-size-heading-xs);
    font-weight: 900;
    line-height: 1.35;
}


/* =========================================
   BODY TYPE
========================================= */

p {
    margin-top: 0;
    margin-bottom: var(--space-lg);
}

a {
	color: var(--pink);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
a:hover {
	color: var(--color-secondary);
	text-decoration: underline;
}

ol, ul {
    margin-bottom: var(--space-xl);
}

ul li p {
    margin-bottom: var(--space-xs);
}

.body,
.text-body {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
}

.body-large,
.text-body-large {
    font-size: var(--font-size-body-lg);
    line-height: var(--line-height-body-lg);
}

.body-small,
.text-body-small {
    font-size: var(--font-size-body-sm);
    line-height: var(--line-height-body-sm);
}

.caption,
.footnote,
.text-caption,
small {
    font-size: var(--font-size-caption);
    line-height: var(--line-height-caption);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* =========================================
   RTE STYLES
========================================= */

.text-purple {
	color: var(--purple);
}
.text-green {
	color: var(--green);
}
.text-pink {
	color: var(--pink);
}

/* paragraph styles */
.rte-row blockquote {
    margin: 2.5rem 0;
    border-left: 5px solid;
    color: var(--black);
    font-style: italic;
}
.rte-row blockquote p {
    width: 75%;
    padding-left: 1rem;
}
p.list-title {
    margin-bottom: var(--space-sm);
}

/* image styles */
img.image-align-left {
    float: left;
    max-width: 50%;
    margin: 0.5rem 1.5rem 1rem 0;
}
img.image-align-right {
    float: right;
    max-width: 50%;
    margin: 0.5rem 0 1rem 1.5rem;
}
img.image-align-left.image-align-right {
    float: none;
    margin-left: 0;
    margin-right: 0;
}
/* clearfix hack */
p.clear-image-wrap {
    clear: both;
}

/* table styles */
.table-grid-white,
.table-grid-black {
    border-collapse: collapse;
}
.table-grid-white,
.table-grid-white th,
.table-grid-white td {
    border: 1px solid #fff;
    padding: 1rem;
}
.table-grid-black,
.table-grid-black th,
.table-grid-black td {
    border: 1px solid #000;
    padding: 1rem;
}
.table-grid-white th {
   background-color: white;
}
.table-grid-black th {
   background-color: black;
   color: white;
}

/* Keep data tables readable without allowing them to widen the page. */
.rte-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.rte-table-scroll > table {
    width: max-content;
    min-width: 100%;
    margin-bottom: 0;
}

.rte-table-scroll :is(th, td) {
    padding: .75rem;
    vertical-align: top;
}

.rte-table-scroll :is(th, td) > :last-child {
    margin-bottom: 0;
}

.rte-table-scroll[tabindex="0"]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* CSS-only fallback until the responsive wrapper is added. */
.rte-row > table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 575.98px) {
    .rte-table-scroll :is(th, td) {
        padding: .5rem;
    }
}

/* =========================================
   MEMBERSHIP
========================================= */

.membership-listing {
    padding-block: 0;
}

.membership-listing__header {
    margin-bottom: 28px;
    color: var(--black);
}

.membership-listing__header h2 {
    color: var(--black);
    text-transform: none;
}

.membership-listing__items {
    display: grid;
    gap: 18px;
}

.membership-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.32fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    padding: clamp(24px, 4vw, 44px);
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: var(--border-radius-normal);
    background: var(--white);
}

.membership-option :where(h3, p, li, label, .button),
.membership-option .button:hover,
.membership-option .button:focus-visible {
    color: var(--black);
}

.membership-option__level {
    margin-bottom: 6px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.membership-option h3 {
    margin-bottom: 12px;
}

.membership-option__description {
    max-width: 68ch;
}

.membership-option__details {
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.membership-option__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: auto 0 0;
    padding: 18px 0 0;
    list-style: none;
}

.membership-option__features li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.membership-option__features li::before {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='%237AC142' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px;
}

.membership-option__purchase {
    display: grid;
    gap: 14px;
}

.membership-option__price {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.membership-option__price strong {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    line-height: 1;
}

.membership-option__amount {
    width: 100%;
    min-height: 48px;
    padding: 8px 12px;
    border: 2px solid var(--black);
}

.membership-option__renewal {
    display: flex;
    gap: 10px;
    align-items: center;
}

.membership-option__feedback,
.membership-listing__message {
    margin: 0;
    padding: 14px 18px;
    background: #f2f2f2;
}

.membership-option__feedback--success {
    background: #e4f4e7;
}

.membership-option__feedback--error {
    background: #fae3e3;
}

@media (max-width: 767px) {
    .membership-option {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   DONATION FORM
========================================= */

.content.donation-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
    padding-block: 0;
    color: #000;
}

.donation-block__introduction {
    max-width: 60ch;
}

.donation-block .donation-block__header .eyebrow {
    margin-bottom: 0.5rem;
}

.donation-block .donation-block__header h2 {
    margin-bottom: 1.5rem;
}

.donation-block--form-only {
    grid-template-columns: minmax(320px, 680px);
    justify-content: center;
}

.donation-form {
    display: grid;
    gap: 22px;
    padding: clamp(24px, 4vw, 40px);
    border: 2px solid #000;
    border-radius: 8px;
    background: #fff;
}

.donation-form__amounts {
    margin: 0;
    padding: 0;
    border: 0;
}

.donation-form__amounts legend,
.donation-form__field label {
    margin-bottom: 10px;
    font-weight: 700;
}

.donation-form__suggestions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.donation-form__suggestion {
    min-height: 52px;
    font: inherit;
    font-weight: 700;
}

.button.outline.donation-form__suggestion[aria-pressed="true"] {
    color: #fff;
    background-color: var(--green-dark);
    border-color: transparent;
}

.donation-form__field {
    display: grid;
}

.donation-form__field label span {
    font-weight: 400;
}

.donation-form__currency {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
}

.donation-form__anonymous {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.donation-form__summary {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding-top: 18px;
    border-top: 2px solid #000;
}

.donation-form__summary strong {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    line-height: 1;
}

.two-column .donation-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 0;
}

@media (max-width: 767px) {
    .content.donation-block {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =========================================
   FORMS
========================================= */

.field-group {
    display: grid;
    gap: 8px;
}

label {
    font-size: 0.82rem;
    font-weight: var(--font-weight-heavy);
    text-transform: uppercase;
}

input[type="checkbox"] {
    --checkbox-border-color: var(--black);
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-content: center;
    margin: 0;
    background: transparent;
    border: 2px solid var(--checkbox-border-color);
    border-radius: 2px;
    appearance: none;
    cursor: pointer;
}

input[type="checkbox"]::before {
    width: 12px;
    height: 7px;
    content: "";
    border-bottom: 3px solid var(--white);
    border-left: 3px solid var(--white);
    transform: translateY(-1px) rotate(-45deg) scale(0);
    transform-origin: center;
}

input[type="checkbox"]:checked {
    background: var(--color-secondary);
}

input[type="checkbox"]:checked::before {
    transform: translateY(-1px) rotate(-45deg) scale(1);
}

input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

/* =========================================
   ACCOUNT
========================================= */

.auth-shell {
    width: min(100% - 48px, var(--container-width));
    display: grid;
    place-items: center;
    min-height: 68vh;
    margin-inline: auto;
    padding: 80px 0;
}

.auth-panel {
    width: min(100%, 760px);
    padding: clamp(24px, 4vw, 40px);
    color: var(--white);
    background: var(--purple);
    border: 0;
    border-radius: var(--border-radius-normal);
    overflow: hidden;
}

.auth-panel-wide {
    width: min(100%, 980px);
}

.auth-panel-split {
    padding: 0;
    background: var(--purple);
    border-radius: var(--border-radius);
}

.auth-panel-header {
    padding: clamp(36px, 6vw, 64px);
    padding-bottom: var(--space-lg);
    background: var(--purple);
}

.auth-panel-header .auth-panel-copy {
    margin-bottom: 0;
}

.auth-panel-split > .auth-form,
.auth-panel-split > .auth-panel-content {
    padding: clamp(36px, 6vw, 64px);
    padding-top: var(--space-md);
    color: var(--white);
    background: var(--purple);
}

.auth-panel-split > .registration-form {
    margin-top: 0;
}

.auth-panel-login .field-group,
.auth-panel-login .validation-summary,
.auth-panel-forgot-password .field-group,
.auth-panel-forgot-password .validation-summary {
    max-width: 520px;
}

.auth-panel h1 {
    color: var(--white);
    line-height: var(--line-height-heading-xl);
    letter-spacing: 0;
    text-transform: none;
}

.auth-panel-split h1,
.auth-panel-split .auth-panel-copy {
    color: var(--white);
}

.auth-panel-register h1 {
    margin-bottom: 0;
}

.auth-panel-register .auth-panel-header > a {
    display: inline-block;
    margin-top: var(--space-sm);
}

.auth-panel-register {
    align-self: start;
}

.auth-panel-copy {
    color: var(--white);
    line-height: 1.65;
}

.auth-panel-login a:not(.button),
.auth-panel-forgot-password a:not(.button),
.auth-panel-register a:not(.button) {
    color: var(--black);
}

.auth-panel-login a:not(.button):hover,
.auth-panel-login a:not(.button):focus-visible,
.auth-panel-forgot-password a:not(.button):hover,
.auth-panel-forgot-password a:not(.button):focus-visible,
.auth-panel-register a:not(.button):hover,
.auth-panel-register a:not(.button):focus-visible {
    color: var(--white);
}

.auth-form,
.auth-form-grid {
    display: grid;
    gap: 16px;
}

.auth-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.auth-panel :where(.field-group) {
    width: 100%;
    max-width: 520px;
}

.auth-panel .form-control,
.donation-form .form-control {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    color: var(--ink);
    background-color: var(--white);
    border: 2px solid var(--black);
    border-radius: 4px;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-body-sm);
    line-height: var(--line-height-body-sm);
}

.auth-panel select.form-control {
    padding-right: 3rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23151515' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    appearance: none;
}

.auth-panel .form-control:focus,
.donation-form .form-control:focus {
    color: var(--ink);
    background-color: var(--white);
    border-color: var(--purple);
    outline: none;
    box-shadow: none;
}

.auth-panel .field-validation-error,
.auth-panel .validation-summary-errors {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--white);
    background: var(--pink);
    border-radius: var(--border-radius-normal);
    box-shadow: var(--space-xs) var(--space-xs) 0 var(--black);
}

.auth-panel .field-validation-error,
.auth-panel .field-validation-error *,
.auth-panel .validation-summary-errors,
.auth-panel .validation-summary-errors * {
    color: var(--white) !important;
}

.auth-panel .validation-summary-errors ul {
    margin: 0;
    padding-left: 1.25rem;
}

.auth-forgot-password {
    justify-self: start;
    font-size: var(--font-size-body-sm);
}

.auth-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.auth-actions-full {
    grid-column: 1 / -1;
}

.registration-form {
    margin-top: 30px;
}

.registration-required-note {
    margin: 0;
    color: var(--white);
    font-size: 0.875rem;
}

.registration-required-note span,
.registration-required-label::after {
    color: var(--pink);
    font-weight: var(--font-weight-bold);
}

.registration-required-label::after {
    content: " *";
}

.registration-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 2px dotted var(--white);
}

.registration-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    color: var(--white);
    background: color-mix(in srgb, var(--purple) 72%, var(--black));
    border: 0;
    border-radius: var(--border-radius-normal);
    font-family: var(--font-family-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-heavy);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.registration-step-number {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding-top: 0.1em;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-family: var(--font-family-primary);
    font-size: .8rem;
    line-height: 1;
    text-align: center;
    text-indent: 0.06em;
}

.registration-tab:not(:disabled):hover,
.registration-tab:focus-visible,
.registration-tab.active {
    color: var(--white);
    background: var(--ink);
}

.registration-tab:disabled {
    color: color-mix(in srgb, var(--white) 60%, transparent);
    cursor: not-allowed;
    opacity: 0.7;
}

.registration-tab-content {
    padding: var(--space-sm) 0 8px;
}

.registration-panel-heading {
    margin-bottom: 24px;
}

.registration-panel-heading h2,
.registration-address-heading h3 {
    margin-bottom: 6px;
}

.registration-panel-heading p {
    margin: 0;
}

.registration-field-full {
    grid-column: 1 / -1;
}

.registration-field-short {
    max-width: 280px;
}

.registration-email-field {
    max-width: 520px;
}

.registration-address .registration-field-full {
    max-width: 520px;
}

.registration-next,
.registration-add-address {
    margin-top: 24px;
}

.registration-address + .registration-address {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 2px solid #d7d7d7;
}

.registration-address-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.registration-address-actions {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.registration-address-actions .button {
    width: auto;
}

.registration-address-actions .registration-add-address {
    margin-top: 0;
}

.registration-address-actions .registration-remove-address {
    margin-left: auto;
}

.registration-add-address-home {
    display: flex;
    justify-content: flex-start;
}

.registration-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--ink);
}

.registration-actions[hidden] {
    display: none;
}

.account-message {
    margin: 0 0 18px;
    padding: 12px 14px;
    color: var(--ink);
    background: #f3e6ff;
    border-left: 5px solid var(--purple);
}

.account-header {
    margin-bottom: 0;
}

.account-header h1 {
    margin-bottom: 0;
}

.account-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: var(--space-xs);
}

.account-tabs + .registration-tab-content {
    padding-top: var(--space-lg);
}

.account-address-list {
    display: grid;
    gap: 24px;
}

.account-address-list .account-address-card {
    padding: 0;
}

.account-address-card {
    padding: 24px;
}

.account-address-card h3 {
    margin-top: 0;
}

.account-address-street-field {
    width: 100%;
    max-width: 520px;
}

.account-address-add-toggle {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--white);
}

.account-address-add-toggle .button[aria-expanded="true"] {
    display: none;
}

.account-address-add {
    margin-top: 16px;
    padding: 0;
}

.account-address-add .auth-actions {
    margin-top: var(--space-lg);
}

.account-address-defaults {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.account-address-defaults label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-address-defaults input[type="checkbox"] {
    --checkbox-border-color: var(--white);
}

.account-address-delete {
    margin: 0;
}

.account-address-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: calc(var(--space-lg) + var(--space-md));
}

.account-form-links {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    gap: var(--space-md);
    flex-wrap: wrap;
    padding-top: var(--space-sm);
}

.account-first-name-field {
    gap: var(--space-xs);
}

.account-first-name-field .field-validation-valid {
    display: none;
}

.account-field-link {
    display: block;
    width: fit-content;
    margin-top: 0;
}

.account-form-links a,
.account-field-link {
    color: var(--black);
}

.account-form-links a:hover,
.account-form-links a:focus-visible,
.account-field-link:hover,
.account-field-link:focus-visible {
    color: var(--white);
}

@media (max-width: 767.98px) {
    .auth-shell {
        width: min(100% - 28px, var(--container-width));
        padding-top: var(--space-lg);
        padding-bottom: var(--space-lg);
    }

    .auth-panel-header {
        padding-bottom: var(--space-xs);
    }

    .auth-panel-split > .auth-form,
    .auth-panel-split > .auth-panel-content {
        padding-top: var(--space-sm);
    }

    .auth-form-grid,
    .registration-tabs {
        grid-template-columns: 1fr;
    }

    .auth-panel :where(.field-group) {
        max-width: none;
    }

    .registration-tabs {
        border-bottom-width: 2px;
    }

    .registration-tab {
        display: none;
        justify-content: center;
        text-align: center;
    }

    .registration-tab.active {
        display: flex;
    }

    .registration-step-number {
        width: 40px;
        height: 40px;
        padding-top: 0;
        font-size: 0;
        text-indent: 0;
    }

    .registration-step-number::after {
        content: attr(data-step) "/3";
        font-size: 0.8rem;
        line-height: 1;
    }

    .registration-field-full {
        grid-column: auto;
    }
}
