/* ==========================================================
   APPLIED RESPONSE TRAINING
   PUBLIC CLASS REGISTRATION
   ========================================================== */

.artm-registration-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px 80px;
    font-family: "Montserrat", sans-serif;
    color: #252A31;
}

.artm-reg-page-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

.artm-reg-page-heading-compact {
    margin-bottom: 28px;
}

.artm-reg-kicker,
.artm-reg-summary-kicker {
    margin-bottom: 9px;
    color: #8C1D2C;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.artm-registration-shell h1 {
    margin: 0;
    color: #0B2A57;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.15;
}

.artm-registration-shell h2 {
    margin: 0 0 10px;
    color: #0B2A57;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
}

.artm-registration-shell p {
    font-size: 15px;
    line-height: 1.7;
}

.artm-reg-rule {
    width: 72px;
    height: 4px;
    margin: 18px 0 20px;
    background: #8C1D2C;
}

.artm-reg-class-list {
    display: grid;
    gap: 14px;
}

.artm-reg-class-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 28px;
    align-items: center;
    padding: 23px 26px;
    border: 1px solid #DDE2E8;
    border-radius: 10px;
    background: #FFF;
}

.artm-reg-class-date {
    margin-bottom: 6px;
    color: #8C1D2C;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.artm-reg-class-title {
    margin-bottom: 8px !important;
}

.artm-reg-class-title a {
    color: #0B2A57 !important;
    text-decoration: none !important;
}

.artm-reg-class-title a:hover,
.artm-reg-class-title a:focus {
    color: #8C1D2C !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.artm-reg-class-summary {
    max-width: 760px;
    margin: 0 0 16px !important;
    color: #4F5257;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.artm-reg-class-facts {
    display: grid;
    grid-template-columns: minmax(130px, .65fr) minmax(240px, 1.35fr) minmax(90px, .5fr);
    gap: 14px;
    margin-top: 14px;
}

.artm-reg-class-fact {
    min-width: 0;
    padding-left: 14px;
    border-left: 2px solid #E4E7EB;
}

.artm-reg-class-fact > span,
.artm-reg-class-fact > strong,
.artm-reg-class-fact > small {
    display: block;
}

.artm-reg-class-fact > span {
    margin-bottom: 3px;
    color: #6A7078;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.artm-reg-class-fact > strong {
    color: #252A31;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.artm-reg-class-fact > small {
    margin-top: 2px;
    color: #5B6169;
    font-size: 11.5px;
    line-height: 1.45;
}

.artm-reg-class-card-action {
    min-width: 150px;
    text-align: right;
}

.artm-reg-seats {
    margin-bottom: 10px;
    color: #4F5257;
    font-size: 12px;
    font-weight: 600;
}


/* v7.24 — keep minimum-enrollment details secondary on class cards */
.artm-reg-minimum-action-note {
    margin: -4px 0 10px;
    color: #7A8088;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.45;
}

.artm-reg-minimum-action-note span {
    display: block;
}

.artm-reg-details-link {
    display: block;
    margin: 0 0 9px;
    color: #0B2A57 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.artm-reg-details-link:hover,
.artm-reg-details-link:focus {
    color: #8C1D2C !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.artm-reg-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 19px;
    border: 1px solid #8C1D2C;
    border-radius: 6px;
    background: #8C1D2C;
    color: #FFF !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
}

.artm-reg-button:hover,
.artm-reg-button:focus {
    background: #741824;
    border-color: #741824;
    color: #FFF !important;
}

.artm-reg-button-secondary {
    background: #FFF;
    color: #0B2A57 !important;
    border-color: #0B2A57;
}

.artm-reg-button-secondary:hover,
.artm-reg-button-secondary:focus {
    background: #0B2A57;
    border-color: #0B2A57;
    color: #FFF !important;
}

.artm-reg-closed-label {
    color: #6A6F76;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.artm-reg-back-row {
    margin-bottom: 18px;
}

.artm-reg-back-row a {
    color: #0B2A57;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.artm-reg-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr);
    gap: 54px;
    align-items: start;
}

.artm-reg-form-section {
    padding: 25px 0;
    border-top: 1px solid #E1E4E8;
}

.artm-reg-form-section:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.artm-reg-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 20px;
}

.artm-reg-field {
    min-width: 0;
}

.artm-reg-field-wide {
    grid-column: 1 / -1;
}

.artm-reg-field label {
    display: block;
    margin-bottom: 7px;
    color: #303640;
    font-size: 13px;
    font-weight: 700;
}

.artm-reg-optional {
    color: #767C84;
    font-size: 11px;
    font-weight: 500;
}

.artm-reg-field input {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #C9CFD6;
    border-radius: 5px;
    background: #FFF;
    color: #252A31;
    font: inherit;
    font-size: 15px;
}

.artm-reg-field input:focus {
    border-color: #0B2A57;
    outline: 2px solid rgba(11,42,87,.16);
    outline-offset: 1px;
}

.artm-reg-submit-row {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    padding-top: 26px;
    border-top: 1px solid #E1E4E8;
}

.artm-reg-submit-note {
    max-width: 520px;
    margin: 0;
    color: #5B6169;
    font-size: 12px !important;
    line-height: 1.55 !important;
}

.artm-reg-summary {
    position: sticky;
    top: 28px;
    padding: 26px;
    border: 1px solid #DDE2E8;
    border-radius: 12px;
    background: #FAFBFC;
}

.artm-reg-summary h2 {
    margin-bottom: 18px;
    font-size: 19px;
}

.artm-reg-summary dl {
    margin: 0;
}

.artm-reg-summary dl > div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #E3E6EA;
}

.artm-reg-summary dt {
    color: #6A7078;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.artm-reg-summary dd {
    margin: 0;
    color: #303640;
    font-size: 13px;
    line-height: 1.5;
}

.artm-reg-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 14px;
    padding-top: 18px;
    border-top: 2px solid #0B2A57;
    color: #0B2A57;
}

.artm-reg-summary-total span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.artm-reg-summary-total strong {
    font-size: 20px;
}

.artm-reg-course-overview {
    margin: 0 0 28px;
    padding: 20px 22px;
    border-left: 4px solid #8C1D2C;
    background: #F7F8FA;
}

.artm-reg-course-overview h2 {
    margin-bottom: 8px;
    font-size: 19px;
}

.artm-reg-course-overview p {
    margin: 0;
    color: #4F5257;
    font-size: 14px;
    line-height: 1.65;
}

.artm-reg-notice {
    margin: 0 0 24px;
    padding: 14px 17px;
    border-left: 4px solid #0B2A57;
    background: #F2F5F9;
    color: #2D3540;
    font-size: 13px;
    line-height: 1.55;
}

.artm-reg-notice-success {
    border-left-color: #2E684C;
    background: #F0F6F3;
}

.artm-reg-notice-error {
    border-left-color: #8C1D2C;
    background: #FAF1F3;
}

.artm-reg-empty {
    max-width: 760px;
    padding: 36px 0;
}

.artm-reg-empty h1,
.artm-reg-empty h2 {
    margin-bottom: 12px;
}

.artm-reg-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 900px) {
    .artm-reg-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .artm-reg-summary {
        position: static;
    }
}

@media (max-width: 781px) {
    .artm-registration-shell {
        padding: 14px 20px 58px;
    }

    .artm-registration-shell h1 {
        font-size: 29px;
    }

    .artm-reg-class-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 21px;
    }

    .artm-reg-class-card-action {
        min-width: 0;
        text-align: left;
    }

    .artm-reg-class-meta {
        display: grid;
        gap: 5px;
    }

    .artm-reg-class-meta span:not(:last-child)::after {
        content: none;
    }

    .artm-reg-fields {
        grid-template-columns: 1fr;
    }

    .artm-reg-field-wide {
        grid-column: auto;
    }

    .artm-reg-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .artm-reg-submit-row .artm-reg-button {
        width: 100%;
    }
}

/* ==========================================================
   COMPACT CLASS CALENDAR + CLASS LIST HEADING
   ========================================================== */

.artm-reg-calendar-section {
    width: 100%;
    max-width: 430px;
    margin: 0 0 38px;
    padding: 18px;
    border: 1px solid #DDE2E8;
    border-radius: 10px;
    background: #FAFBFC;
}

.artm-reg-calendar-heading {
    margin-bottom: 14px;
}

.artm-reg-calendar-heading .artm-reg-kicker {
    margin-bottom: 5px;
}

.artm-reg-calendar-heading h2 {
    margin: 0 0 5px;
    font-size: 18px;
}

.artm-reg-calendar-heading p {
    margin: 0;
    color: #5B6169;
    font-size: 11.5px;
    line-height: 1.45;
}

.artm-reg-calendar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.artm-reg-calendar-month {
    min-width: 0;
    padding: 12px;
    border: 1px solid #E0E4E9;
    border-radius: 8px;
    background: #FFF;
}

.artm-reg-calendar-month-title {
    margin-bottom: 9px;
    color: #0B2A57;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.artm-reg-calendar-weekdays,
.artm-reg-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
}

.artm-reg-calendar-weekdays {
    margin-bottom: 3px;
}

.artm-reg-calendar-weekdays span {
    color: #747B83;
    font-size: 7.5px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.artm-reg-calendar-day {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #5A6169;
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none !important;
}

.artm-reg-calendar-day-empty {
    visibility: hidden;
}

.artm-reg-calendar-day-class {
    border-color: #8C1D2C;
    background: #8C1D2C;
    color: #FFF !important;
    font-weight: 700;
}

.artm-reg-calendar-day-class:hover,
.artm-reg-calendar-day-class:focus {
    border-color: #0B2A57;
    background: #0B2A57;
    color: #FFF !important;
}

.artm-reg-calendar-day-class small {
    position: absolute;
    top: 2px;
    right: 3px;
    font-size: 7px;
    line-height: 1;
}

.artm-reg-list-heading {
    margin: 0 0 17px;
}

.artm-reg-list-heading .artm-reg-kicker {
    margin-bottom: 6px;
}

.artm-reg-list-heading h2 {
    margin: 0 0 5px;
    font-size: 22px;
}

.artm-reg-list-heading p {
    margin: 0;
    color: #5B6169;
    font-size: 13px;
    line-height: 1.55;
}

.artm-reg-class-card {
    scroll-margin-top: 30px;
}

@media (max-width: 900px) {
    .artm-reg-class-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .artm-reg-class-fact-location {
        grid-column: 1 / -1;
    }
}

@media (max-width: 781px) {
    .artm-reg-calendar-section {
        max-width: 100%;
        margin-bottom: 30px;
        padding: 16px;
    }

    .artm-reg-calendar-month {
        padding: 10px;
    }

    .artm-reg-calendar-day {
        min-height: 36px;
        font-size: 11px;
    }

    .artm-reg-class-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 21px;
    }

    .artm-reg-class-card-action {
        min-width: 0;
        text-align: left;
    }

    .artm-reg-class-facts {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .artm-reg-class-fact-location {
        grid-column: auto;
    }

    .artm-reg-details-link {
        margin-bottom: 10px;
    }
}

/* ==========================================================
   v7.04 — REGISTRATION DECISION SUPPORT REFINEMENTS
   ========================================================== */

.artm-reg-class-list {
    margin-bottom: 34px;
}

.artm-reg-calendar-section {
    width: 100%;
    max-width: 680px;
    margin: 34px 0 0;
    padding: 16px 18px 18px;
}

.artm-reg-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.artm-reg-calendar-month {
    padding: 10px;
}

.artm-reg-calendar-month-title {
    margin-bottom: 7px;
    font-size: 12px;
}

.artm-reg-calendar-weekdays,
.artm-reg-calendar-days {
    gap: 2px;
}

.artm-reg-calendar-weekdays span {
    font-size: 6.5px;
}

.artm-reg-calendar-day {
    min-height: 25px;
    font-size: 9px;
}

.artm-reg-calendar-day-class small {
    top: 1px;
    right: 2px;
    font-size: 6px;
}

.artm-reg-certification-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 9px;
    margin: 13px 0 15px;
    padding: 10px 12px;
    border-left: 3px solid #8C1D2C;
    background: #F8F9FB;
}

.artm-reg-certification-line span {
    flex: 0 0 auto;
    color: #8C1D2C;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.artm-reg-certification-line strong {
    color: #0B2A57;
    font-size: 12.5px;
    font-weight: 700;
}

.artm-reg-certification-line small {
    color: #5B6169;
    font-size: 11px;
    font-weight: 600;
}

.artm-reg-course-link {
    display: inline-block;
    margin: 8px 0 12px;
    color: #0B2A57 !important;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.artm-reg-class-card-action .artm-reg-course-link {
    display: block;
    margin: 7px 0 13px;
    font-size: 10.5px;
}

.artm-reg-overview-certification {
    margin-top: 12px;
    color: #39414A;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 781px) {
    .artm-reg-calendar-section {
        max-width: 100%;
        margin-top: 28px;
        padding: 14px;
    }

    .artm-reg-calendar-grid {
        grid-template-columns: 1fr;
    }

    .artm-reg-calendar-day {
        min-height: 34px;
        font-size: 10.5px;
    }
}


/* ==========================================================
   v7.05 — REGISTRATION CONVERSION / SPACING REFINEMENTS
   ========================================================== */

/* Pull the registration content into the same visual zone as
   the other primary public pages. */
.artm-registration-shell {
    margin: -55px auto 0;
}

/* The registration page no longer uses a pre-title kicker. */
.artm-reg-page-heading {
    margin-top: 0;
}

/* Keep certification information focused on what changes the
   student's decision: how long the credential remains valid. */
.artm-reg-certification-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 13px 0 15px;
    padding: 9px 12px;
}

.artm-reg-certification-line strong {
    color: #303640;
    font-size: 12px;
    font-weight: 650;
}

/* Registration should remain the dominant action. External
   course-detail links are intentionally omitted from this flow. */
.artm-reg-class-card-action .artm-reg-button {
    margin-top: 2px;
}

@media (max-width: 900px) {
    .artm-registration-shell {
        margin-top: -32px;
    }
}

@media (max-width: 781px) {
    .artm-registration-shell {
        margin-top: 0;
    }
}

/* ==========================================================
   v7.07 — CLASS DISCOVERY TOOLS
   Upcoming classes remain primary; date and location tools
   support the decision without interrupting registration.
   ========================================================== */

/* The section title is sufficient on its own; remove the
   redundant AVAILABLE CLASSES kicker from the markup. */
.artm-reg-list-heading {
    margin-bottom: 17px;
}

/* Calendar + location map sit together below the class list. */
.artm-reg-discovery-tools {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .95fr);
    gap: 18px;
    align-items: stretch;
    margin-top: 34px;
}

.artm-reg-discovery-tools .artm-reg-calendar-section,
.artm-reg-map-section {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    padding: 16px 18px 18px;
    border: 1px solid #DDE2E8;
    border-radius: 10px;
    background: #FAFBFC;
}

.artm-reg-map-section {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.artm-reg-map-heading {
    margin-bottom: 12px;
}

.artm-reg-map-heading .artm-reg-kicker {
    margin-bottom: 5px;
}

.artm-reg-map-heading h2 {
    margin: 0 0 5px;
    font-size: 18px;
}

.artm-reg-map-heading p {
    margin: 0;
    color: #5B6169;
    font-size: 11.5px;
    line-height: 1.45;
}

.artm-reg-map-select-label {
    display: block;
    margin: 0 0 5px;
    color: #4D535B;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.artm-reg-map-select {
    width: 100%;
    min-height: 38px;
    margin: 0 0 10px;
    padding: 7px 9px;
    border: 1px solid #CDD3DA;
    border-radius: 5px;
    background: #FFF;
    color: #252A31;
    font-family: inherit;
    font-size: 12px;
}

.artm-reg-map-select:focus {
    border-color: #0B2A57;
    outline: 2px solid rgba(11, 42, 87, .14);
    outline-offset: 1px;
}

.artm-reg-map-location-name {
    min-height: 42px;
    margin: 0 0 10px;
    padding: 8px 10px;
    border-left: 3px solid #8C1D2C;
    background: #FFF;
}

.artm-reg-map-location-name strong,
.artm-reg-map-location-name span {
    display: block;
}

.artm-reg-map-location-name strong {
    color: #0B2A57;
    font-size: 12px;
    font-weight: 700;
}

.artm-reg-map-location-name span {
    margin-top: 2px;
    color: #5B6169;
    font-size: 10.5px;
    line-height: 1.35;
}

.artm-reg-map-frame-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 238px;
    overflow: hidden;
    border: 1px solid #E0E4E9;
    border-radius: 8px;
    background: #FFF;
}

.artm-reg-map-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 238px;
    border: 0;
}

.artm-reg-map-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    justify-content: space-between;
    margin-top: 10px;
}

.artm-reg-map-links a {
    color: #0B2A57 !important;
    font-size: 10.5px;
    font-weight: 700;
    text-decoration: none !important;
}

.artm-reg-map-links a:hover,
.artm-reg-map-links a:focus {
    color: #8C1D2C !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

@media (max-width: 980px) {
    .artm-reg-discovery-tools {
        grid-template-columns: 1fr;
    }

    .artm-reg-map-frame-wrap,
    .artm-reg-map-frame {
        min-height: 280px;
    }
}

@media (max-width: 781px) {
    .artm-reg-discovery-tools {
        gap: 14px;
        margin-top: 28px;
    }

    .artm-reg-discovery-tools .artm-reg-calendar-section,
    .artm-reg-map-section {
        padding: 14px;
    }

    .artm-reg-map-frame-wrap,
    .artm-reg-map-frame {
        min-height: 250px;
    }

    .artm-reg-map-links {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ==========================================================
   v7.08 — MAP PRESENTATION
   Slightly wider geographic view plus a restrained ART
   navy treatment without interfering with map interaction.
   ========================================================== */

.artm-reg-map-frame-wrap {
    isolation: isolate;
    background: #F5F7FA;
}

.artm-reg-map-frame {
    position: relative;
    z-index: 1;
    filter: saturate(.78) contrast(.96) brightness(1.02);
}

/* Light ART navy wash. This visually integrates the Google
   map with the site while leaving labels and controls legible. */
.artm-reg-map-frame-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: rgba(11, 42, 87, .055);
    mix-blend-mode: multiply;
}


.artm-reg-enrollment-status {
    display: inline-flex;
    margin: 8px 0 6px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.artm-reg-enrollment-status-pending_minimum {
    background: rgba(188,126,24,0.10);
    color: #8a5a00;
}

.artm-reg-enrollment-status-confirmed {
    background: rgba(47,109,69,0.10);
    color: #2f6d45;
}


/* v7.22 — minimum-enrollment public communication */
.artm-reg-minimum-expectation {
    margin: 7px 0 0;
    color: #5B6169;
    font-size: 12px;
    line-height: 1.5;
}

.artm-reg-minimum-panel {
    margin: 0 0 24px;
    padding: 18px 20px;
    border-left: 4px solid #8C1D2C;
    background: #F7F8FA;
}

.artm-reg-minimum-panel-confirmed {
    border-left-color: #2E7D4F;
    background: #F3F8F5;
}

.artm-reg-minimum-panel-title {
    margin: 0 0 7px;
    color: #0B2A57;
    font-size: 15px;
    font-weight: 750;
}

.artm-reg-minimum-panel p {
    margin: 0 0 7px;
    color: #4F5257;
    font-size: 14px;
    line-height: 1.6;
}

.artm-reg-minimum-panel p:last-child {
    margin-bottom: 0;
}

/* v7.25 — keep minimum-enrollment status secondary to the class itself */
.artm-reg-enrollment-status {
    display: none;
}

.artm-reg-minimum-action-note {
    margin: 3px 0 10px;
    color: #7A8088;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.45;
}

.artm-reg-minimum-action-note strong {
    font-weight: 600;
    color: #69717A;
}

.artm-reg-class-confirmed-note {
    color: #5F7667;
}

.artm-reg-minimum-panel {
    margin: 0 0 22px;
    padding: 12px 16px;
    border-left: 2px solid #C8CDD2;
    background: #FAFAFB;
}

.artm-reg-minimum-panel-pending_minimum {
    border-left-color: #C9A765;
    background: #FBFAF7;
}

.artm-reg-minimum-panel-confirmed {
    border-left-color: #AFC7B7;
    background: #F8FAF8;
}

.artm-reg-minimum-panel-title {
    margin: 0 0 4px;
    color: #4F5257;
    font-size: 12.5px;
    font-weight: 650;
}

.artm-reg-minimum-panel p {
    margin: 0 0 3px;
    color: #6A7077;
    font-size: 12px;
    line-height: 1.5;
}

.artm-reg-minimum-panel-secondary {
    font-size: 11px !important;
    color: #7A8088 !important;
}

/* ==========================================================
   v7.39 — BROWSABLE CALENDAR + PUBLIC DATE EMPHASIS
   ========================================================== */

.artm-reg-calendar-heading-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.artm-reg-calendar-heading-row .artm-reg-calendar-heading {
    margin-bottom: 0;
}

.artm-reg-calendar-nav {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
    padding-top: 2px;
}

.artm-reg-calendar-nav-button {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #CCD3DB;
    border-radius: 6px;
    background: #FFFFFF;
    color: #0B2A57;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.artm-reg-calendar-nav-button:hover:not(:disabled),
.artm-reg-calendar-nav-button:focus:not(:disabled) {
    border-color: #0B2A57;
    background: #0B2A57;
    color: #FFFFFF;
}

.artm-reg-calendar-nav-button:focus-visible {
    outline: 2px solid rgba(11, 42, 87, .22);
    outline-offset: 2px;
}

.artm-reg-calendar-nav-button:disabled {
    opacity: .35;
    cursor: default;
}

.artm-reg-calendar-month-hidden {
    display: none !important;
}

/* Make the actual class date easier to scan in the class listing. */
.artm-reg-class-date {
    margin-bottom: 8px;
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: .055em;
}

@media (max-width: 781px) {
    .artm-reg-calendar-heading-row {
        gap: 12px;
    }

    .artm-reg-calendar-nav-button {
        width: 34px;
        height: 34px;
    }

    .artm-reg-calendar-grid {
        grid-template-columns: 1fr;
    }

    .artm-reg-class-date {
        font-size: 13px;
    }
}


/* ==========================================================
   v7.40 — CLASS CARD SPACING + CLEAR LOCATION SELECTOR
   ========================================================== */

/* Keep the date visually tied to the class title. */
.artm-reg-class-date {
    margin-bottom: 3px;
}

/* Make the location control unmistakably a dropdown without
   forcing the full street address into the closed selector. */
.artm-reg-map-select-wrap {
    position: relative;
    margin: 0 0 10px;
}

.artm-reg-map-select-wrap::after {
    content: "\25BC";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: #0B2A57;
    font-size: 11px;
    line-height: 1;
    pointer-events: none;
}

.artm-reg-map-select {
    margin-bottom: 0;
    padding-right: 34px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* ==========================================================
   v7.69.37 — LOCATION-GROUP CLASS LIST
   ========================================================== */
.artm-reg-location-classes {
    margin-top: 12px;
    border-top: 1px solid #DDE2E8;
    padding-top: 10px;
}

.artm-reg-location-class-heading {
    margin-bottom: 6px;
    color: #0B2A57;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.artm-reg-location-class-group[hidden] {
    display: none !important;
}

.artm-reg-location-class-row {
    display: grid;
    grid-template-columns: minmax(118px, .9fr) minmax(145px, 1.4fr) auto;
    gap: 9px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #E5E8EC;
}

.artm-reg-location-class-row:first-of-type {
    border-top: 0;
}

.artm-reg-location-class-date,
.artm-reg-location-class-info {
    min-width: 0;
}

.artm-reg-location-class-date strong,
.artm-reg-location-class-date span,
.artm-reg-location-class-info strong,
.artm-reg-location-class-info span {
    display: block;
}

.artm-reg-location-class-date strong {
    color: #8C1D2C;
    font-size: 11.5px;
    font-weight: 800;
}

.artm-reg-location-class-date span,
.artm-reg-location-class-info span {
    margin-top: 1px;
    color: #626972;
    font-size: 10px;
    line-height: 1.3;
}

.artm-reg-location-class-info strong {
    color: #0B2A57;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.3;
}

.artm-reg-location-class-actions {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
}

.artm-reg-location-class-actions a {
    color: #0B2A57 !important;
    font-size: 9.5px;
    font-weight: 700;
    text-decoration: none !important;
}

.artm-reg-location-class-actions a:hover,
.artm-reg-location-class-actions a:focus {
    color: #8C1D2C !important;
    text-decoration: underline !important;
}

.artm-reg-location-class-actions .artm-reg-location-register {
    padding: 5px 8px;
    border-radius: 4px;
    background: #8C1D2C;
    color: #FFF !important;
}

.artm-reg-location-class-actions .artm-reg-location-register:hover,
.artm-reg-location-class-actions .artm-reg-location-register:focus {
    background: #711724;
    color: #FFF !important;
    text-decoration: none !important;
}

@media (max-width: 781px) {
    .artm-reg-location-class-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .artm-reg-location-class-actions {
        justify-content: flex-start;
        margin-top: 3px;
    }
}
