/* ERaNS registration fees — every selector is isolated with regfee */
.regfee-section {
    --regfee-ink: #142c30;
    --regfee-paper: #f7f8f1;
    --regfee-white: #fff;
    --regfee-lime: #d9f47a;
    --regfee-green: #789a45;
    --regfee-muted: #667671;
    --regfee-line: #dce3d9;
    position: relative;
    padding: 110px 0 120px;
    background: var(--regfee-paper);
    color: var(--regfee-ink);
    overflow: hidden;
    font-family: "DM Sans", Arial, sans-serif;
    isolation: isolate;
    contain: layout paint style;
}
.regfee-section::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -280px;
    top: 30px;
    border: 1px dashed #b9c8aa;
    border-radius: 50%;
    opacity: 0.65;
    pointer-events: none;
}
.regfee-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -160px;
    bottom: 90px;
    background: radial-gradient(circle, var(--regfee-lime) 0 2px, transparent 3px);
    background-size: 22px 22px;
    opacity: 0.28;
    transform: rotate(12deg);
    pointer-events: none;
}
.regfee-section * {
    box-sizing: border-box;
}
.regfee-shell {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}
.regfee-heading {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 50px;
    align-items: end;
    margin-bottom: 38px;
}
.regfee-kicker,
.regfee-summary-label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.5;
}
.regfee-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
}
.regfee-kicker span {
    width: 8px;
    height: 8px;
    background: var(--regfee-green);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(217, 244, 122, 0.48);
}
.regfee-heading h2 {
    margin: 16px 0 0;
    font:
        600 clamp(42px, 5vw, 70px)/1.04 "Manrope",
        Arial,
        sans-serif;
    letter-spacing: -0.06em;
}
.regfee-heading h2 em {
    position: relative;
    font-style: normal;
    font-weight: 450;
}
.regfee-heading h2 em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 4px;
    background: #9eba4f;
    border-radius: 50%;
    transform-origin: left;
}
.regfee-intro {
    margin: 0 0 7px;
    color: var(--regfee-muted);
    font-size: 14px;
    line-height: 1.7;
}
.regfee-package-switch {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 9px;
    padding: 9px;
    background: #53255b;
    border-radius: 21px;
    overflow: hidden;
}
.regfee-switch-label {
    display: grid;
    place-items: center;
    color: #b9c9c4;
    font-size: 8px;
    letter-spacing: 0.18em;
    font-weight: 700;
}
.regfee-package-button {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 15px 19px;
    border: 1px solid #496064;
    border-radius: 14px;
    background: transparent;
    color: white;
    text-align: left;
    cursor: pointer;
    transition:
        color 0.3s,
        border-color 0.3s,
        transform 0.3s;
}
.regfee-package-button:hover {
    transform: translateY(-2px);
}
.regfee-package-button.is-active {
    color: var(--regfee-ink);
    border-color: transparent;
}
.regfee-package-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 9px;
    flex: none;
}
.regfee-package-button strong {
    display: block;
    font:
        700 13px "Manrope",
        Arial,
        sans-serif;
}
.regfee-package-button small {
    display: block;
    font-size: 9px;
    opacity: 0.72;
    margin-top: 2px;
}
.regfee-switch-glow {
    position: absolute;
    z-index: 1;
    top: 9px;
    bottom: 9px;
    left: 109px;
    width: calc((100% - 118px) / 2 - 4px);
    background: var(--regfee-lime);
    border-radius: 14px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.regfee-package-switch[data-regfee-current="full"] .regfee-switch-glow {
    transform: translateX(calc(100% + 9px));
}
.regfee-package-summary {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
    padding: 29px 3px 22px;
}
.regfee-package-summary > div {
    display: flex;
    align-items: center;
    gap: 18px;
}
.regfee-summary-number {
    font:
        700 45px/1 "Manrope",
        Arial,
        sans-serif;
    color: #98b04f;
}
.regfee-package-summary h3 {
    margin: 4px 0 0;
    font:
        600 23px/1.25 "Manrope",
        Arial,
        sans-serif;
    letter-spacing: -0.04em;
}
.regfee-package-summary > p {
    margin: 0;
    color: var(--regfee-muted);
    font-size: 12px;
    line-height: 1.65;
}
.regfee-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}
.regfee-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 625px;
    padding: 28px;
    border: 1px solid var(--regfee-line);
    border-radius: 24px;
    background: var(--regfee-white);
    overflow: hidden;
    transition:
        transform 0.35s,
        box-shadow 0.35s,
        border-color 0.35s;
}
.regfee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(20, 44, 48, 0.1);
    border-color: #a8bc88;
}
.regfee-card.is-featured {
    background: #72566ddb;
    color: white;
    border-color: var(--regfee-ink);
}
.regfee-card.is-featured::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -95px;
    top: -95px;
    border: 35px solid rgba(217, 244, 122, 0.12);
    border-radius: 50%;
}
.regfee-card-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: start;
}
.regfee-phase {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--regfee-muted);
}
.regfee-card.is-featured .regfee-phase {
    color: #b7c6c1;
}
.regfee-card-badge {
    padding: 5px 9px;
    border-radius: 30px;
    background: #eef3e5;
    color: #66813c;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.regfee-card.is-featured .regfee-card-badge {
    background: var(--regfee-lime);
    color: var(--regfee-ink);
}
.regfee-card h3 {
    margin: 17px 0 4px;
    font:
        650 23px/1.25 "Manrope",
        Arial,
        sans-serif;
    letter-spacing: -0.04em;
}
.regfee-deadline {
    min-height: 22px;
    margin: 0;
    color: var(--regfee-muted);
    font-size: 10px;
}
.regfee-card.is-featured .regfee-deadline {
    color: #b9c7c3;
}
.regfee-price {
    display: flex;
    align-items: start;
    gap: 6px;
    margin: 22px 0 3px;
}
.regfee-price span {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
}
.regfee-price strong {
    font:
        700 61px/0.95 "Manrope",
        Arial,
        sans-serif;
    letter-spacing: -0.07em;
}
.regfee-price small {
    align-self: end;
    margin-bottom: 7px;
    font-size: 9px;
}
.regfee-card.is-featured .regfee-price strong {
    color: var(--regfee-lime);
}
.regfee-price-note {
    margin: 0 0 20px;
    color: var(--regfee-muted);
    font-size: 9px;
}
.regfee-card.is-featured .regfee-price-note {
    color: #b9c7c3;
}
.regfee-includes-title {
    margin: 0 0 10px;
    padding-top: 18px;
    border-top: 1px solid var(--regfee-line);
    font-size: 10px;
    font-weight: 700;
}
.regfee-card.is-featured .regfee-includes-title {
    border-color: #40575a;
}
.regfee-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.regfee-features li {
    position: relative;
    padding-left: 22px;
    font-size: 10px;
    line-height: 1.5;
}
.regfee-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef3e5;
    color: #66813c;
    font-size: 9px;
    font-weight: 700;
}
.regfee-card.is-featured .regfee-features li::before {
    background: var(--regfee-lime);
    color: var(--regfee-ink);
}
.regfee-exclusion {
    margin: 16px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f4f5ef;
    color: var(--regfee-muted);
    font-size: 9px;
    line-height: 1.5;
}
.regfee-card.is-featured .regfee-exclusion {
    background: #203b3f;
    color: #bdcbc7;
}
.regfee-card-bottom {
    margin-top: auto;
    padding-top: 18px;
}
.regfee-addon-details {
    border-top: 1px solid var(--regfee-line);
}
.regfee-card.is-featured .regfee-addon-details {
    border-color: #40575a;
}
.regfee-addon-details summary {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 15px 0 10px;
    list-style: none;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}
.regfee-addon-details summary::-webkit-details-marker {
    display: none;
}
.regfee-addon-details summary::after {
    content: "+";
    font-size: 18px;
    color: #7d9943;
    transition: transform 0.25s;
}
.regfee-addon-details[open] summary::after {
    transform: rotate(45deg);
}
.regfee-addon-list {
    display: grid;
    gap: 7px;
    padding-bottom: 12px;
}
.regfee-addon-option {
    display: grid;
    grid-template-columns: 19px 1fr auto;
    gap: 8px;
    align-items: start;
    cursor: pointer;
}
.regfee-addon-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.regfee-addon-check {
    width: 18px;
    height: 18px;
    border: 1px solid #aab7a6;
    border-radius: 5px;
    position: relative;
}
.regfee-addon-option input:checked + .regfee-addon-check {
    background: var(--regfee-lime);
    border-color: #8ca64b;
}
.regfee-addon-option input:checked + .regfee-addon-check::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--regfee-ink);
    font-size: 10px;
    font-weight: 700;
}
.regfee-addon-option input:focus-visible + .regfee-addon-check {
    outline: 3px solid #7f9a4a;
    outline-offset: 2px;
}
.regfee-addon-name {
    font-size: 9px;
    line-height: 1.4;
}
.regfee-addon-price {
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}
.regfee-total {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--regfee-line);
}
.regfee-card.is-featured .regfee-total {
    border-color: #4b6264;
}
.regfee-total span {
    font-size: 9px;
    color: var(--regfee-muted);
}
.regfee-card.is-featured .regfee-total span {
    color: #b9c7c3;
}
.regfee-total strong {
    font:
        700 20px "Manrope",
        Arial,
        sans-serif;
}
.regfee-register {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 15px;
    border: 1px solid var(--regfee-ink);
    border-radius: 10px;
    background: var(--regfee-ink);
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    transition:
        transform 0.25s,
        background 0.25s;
}
.regfee-card.is-featured .regfee-register {
    background: var(--regfee-lime);
    border-color: var(--regfee-lime);
    color: var(--regfee-ink);
}
.regfee-register:hover {
    transform: translateY(-2px);
    background: #294a4e;
}
.regfee-card.is-featured .regfee-register:hover {
    background: #e4f99d;
}
.regfee-compare-wrap {
    margin-top: 20px;
    border: 1px solid var(--regfee-line);
    border-radius: 18px;
    background: white;
    overflow: hidden;
}
.regfee-compare-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 22px;
    border: 0;
    background: white;
    color: var(--regfee-ink);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}
.regfee-compare-button span:last-child {
    font-size: 20px;
    color: var(--regfee-green);
    transition: transform 0.25s;
}
.regfee-compare-button[aria-expanded="true"] span:last-child {
    transform: rotate(45deg);
}
.regfee-comparison {
    padding: 0 22px 22px;
}
.regfee-comparison-head,
.regfee-comparison-row {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
    gap: 12px;
    align-items: center;
}
.regfee-comparison-head {
    padding: 13px 0;
    border-top: 1px solid var(--regfee-line);
    font-size: 9px;
    color: var(--regfee-muted);
}
.regfee-comparison-row {
    padding: 10px 0;
    border-top: 1px solid #edf0ea;
    font-size: 10px;
}
.regfee-comparison-row span:nth-child(n + 2) {
    text-align: center;
}
.regfee-yes {
    color: #66813c;
    font-weight: 700;
}
.regfee-no {
    color: #9a726b;
}
.regfee-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-top: 20px;
}
.regfee-notes > div {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 11px;
    padding: 16px;
    border: 1px solid var(--regfee-line);
    border-radius: 14px;
    background: #fbfcf8;
}
.regfee-notes > div > span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ebf1df;
    color: #66813c;
    font:
        600 13px "Manrope",
        Arial,
        sans-serif;
}
.regfee-notes p {
    margin: 0;
    color: var(--regfee-muted);
    font-size: 9px;
    line-height: 1.55;
}
.regfee-notes strong {
    display: block;
    color: var(--regfee-ink);
    font-size: 10px;
}
.regfee-notes code {
    font-size: 8px;
}
.regfee-section button:focus-visible,
.regfee-section a:focus-visible,
.regfee-section summary:focus-visible {
    outline: 3px solid #6f8e38;
    outline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
    .regfee-heading h2 em::after {
        animation: regfee-line 4.8s ease-in-out infinite;
    }
    .regfee-section::before {
        animation: regfee-orbit 38s linear infinite;
    }
    .regfee-card {
        animation: regfee-enter 0.55s both;
    }
    .regfee-card:nth-child(2) {
        animation-delay: 0.08s;
    }
    .regfee-card:nth-child(3) {
        animation-delay: 0.16s;
    }
    .regfee-card.regfee-refresh {
        animation: regfee-refresh 0.35s both;
    }
}
@keyframes regfee-line {
    0%,
    100% {
        transform: scaleX(0.3);
        opacity: 0.35;
    }
    40%,
    70% {
        transform: scaleX(1);
        opacity: 0.8;
    }
}
@keyframes regfee-orbit {
    to {
        transform: rotate(360deg);
    }
}
@keyframes regfee-enter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes regfee-refresh {
    from {
        opacity: 0.3;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@media (max-width: 991px) {
    .regfee-heading,
    .regfee-package-summary {
        grid-template-columns: 1fr;
    }
    .regfee-pricing-grid {
        grid-template-columns: 1fr;
    }
    .regfee-card {
        min-height: 0;
    }
    .regfee-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .regfee-notes {
        grid-template-columns: 1fr;
    }
    .regfee-package-summary > p {
        max-width: 680px;
    }
}
@media (max-width: 650px) {
    .regfee-section {
        padding: 75px 0;
    }
    .regfee-shell {
        width: min(100% - 28px, 1200px);
    }
    .regfee-heading {
        gap: 20px;
    }
    .regfee-heading h2 {
        font-size: 43px;
    }
    .regfee-package-switch {
        grid-template-columns: 1fr 1fr;
    }
    .regfee-switch-label {
        grid-column: 1/-1;
        display: block;
        padding: 4px 4px 0;
    }
    .regfee-switch-glow {
        top: 38px;
        left: 9px;
        bottom: 9px;
        width: calc((100% - 27px) / 2);
    }
    .regfee-package-switch[data-regfee-current="full"] .regfee-switch-glow {
        transform: translateX(calc(100% + 9px));
    }
    .regfee-package-button {
        padding: 12px 10px;
        gap: 8px;
    }
    .regfee-package-icon {
        width: 29px;
        height: 29px;
    }
    .regfee-package-button small {
        display: none;
    }
    .regfee-package-summary {
        gap: 10px;
    }
    .regfee-summary-number {
        font-size: 36px;
    }
    .regfee-package-summary h3 {
        font-size: 19px;
    }
    .regfee-card {
        padding: 22px;
    }
    .regfee-features {
        grid-template-columns: 1fr;
    }
    .regfee-comparison-head,
    .regfee-comparison-row {
        grid-template-columns: 1.35fr 0.65fr 0.65fr;
        font-size: 9px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .regfee-section *,
    .regfee-section::before,
    .regfee-section::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Registration-type navigation and add-on catalogue */
.regfee-category-tabs {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 13px;
    padding: 8px;
    border: 1px solid var(--regfee-line);
    border-radius: 18px;
    background: #fff;
}
.regfee-category-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 11px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--regfee-ink);
    text-align: left;
    cursor: pointer;
    transition:
        background 0.25s,
        color 0.25s,
        transform 0.25s;
}
.regfee-category-tab:hover {
    transform: translateY(-2px);
    background: #f1f4eb;
}
.regfee-category-tab.is-current {
    background: var(--regfee-ink);
    color: var(--regfee-lime);
}
.regfee-category-tab > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 8px;
    flex: none;
}
.regfee-category-tab strong {
    font:
        650 10px/1.35 "Manrope",
        Arial,
        sans-serif;
}
.regfee-addon-catalog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.regfee-addon-group {
    padding: 22px;
    border: 1px solid var(--regfee-line);
    border-radius: 18px;
    background: #fff;
}
.regfee-addon-group > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.regfee-addon-group > div > span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--regfee-lime);
    font-size: 8px;
}
.regfee-addon-group h3 {
    margin: 0;
    font:
        650 16px "Manrope",
        Arial,
        sans-serif;
    letter-spacing: -0.03em;
}
.regfee-addon-group p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    margin: 0;
    padding: 11px 0;
    border-top: 1px solid #edf0e9;
    font-size: 10px;
}
.regfee-addon-group p span {
    display: flex;
    flex-direction: column;
}
.regfee-addon-group p small {
    color: var(--regfee-muted);
    font-size: 8px;
    margin-top: 2px;
}
.regfee-addon-group p strong {
    font-size: 11px;
    white-space: nowrap;
}
.regfee-package-switch[hidden],
.regfee-compare-wrap[hidden],
.regfee-pricing-grid[hidden],
.regfee-addon-catalog[hidden] {
    display: none !important;
}
@media (max-width: 991px) {
    .regfee-category-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    .regfee-category-tab:first-child {
        grid-column: 1/-1;
    }
    .regfee-addon-catalog {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 650px) {
    .regfee-category-tabs {
        grid-template-columns: 1fr;
    }
    .regfee-category-tab:first-child {
        grid-column: auto;
    }
    .regfee-category-tab {
        min-height: 52px;
    }
    .regfee-addon-catalog {
        grid-template-columns: 1fr;
    }
}
.regfee-category-panel[hidden],
.regfee-student-package[hidden],
.regfee-comparison[hidden] {
    display: none !important;
}
/* Add this at the END of regfee-element.css */

/* Opens the shared Bootstrap add-on modal. */
.regfee-addon-open {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    padding: 15px 0 11px;
    border: 0;
    border-top: 1px solid var(--regfee-line);
    background: transparent;
    color: var(--regfee-ink);
    font:
        700 10px/1.4 "DM Sans",
        Arial,
        sans-serif;
    text-align: left;
    cursor: pointer;
}

.regfee-addon-open > span:last-child {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef3e5;
    color: #66813c;
    font-size: 19px;
    font-weight: 500;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.regfee-addon-open:hover > span:last-child {
    transform: rotate(90deg);
    background: var(--regfee-lime);
}

.regfee-addon-open:disabled {
    cursor: wait;
    opacity: 0.55;
}

.regfee-card.is-featured .regfee-addon-open {
    border-color: #40575a;
    color: #fff;
}

.regfee-card.is-featured .regfee-addon-open > span:last-child {
    background: var(--regfee-lime);
    color: var(--regfee-ink);
}

/* The modal is appended to body, so these selectors intentionally stand alone. */
.regfee-addon-modal {
    --bs-modal-width: 650px;
    color: #142c30;
    font-family: "DM Sans", Arial, sans-serif;
}

.regfee-addon-modal .modal-dialog {
    padding: 14px;
}

.regfee-addon-modal .modal-content {
    overflow: hidden;
    border: 1px solid #dce3d9;
    border-radius: 24px;
    background: #f9faf5;
    box-shadow: 0 30px 90px rgba(20, 44, 48, 0.24);
}

.regfee-addon-modal .modal-header {
    align-items: flex-start;
    padding: 25px 27px 20px;
    border-bottom: 1px solid #dce3d9;
    background: radial-gradient(circle at 92% 5%, rgba(217, 244, 122, 0.55), transparent 31%), #fff;
}

.regfee-addon-modal .modal-title {
    margin: 4px 0 0;
    color: #142c30;
    font:
        700 27px/1.15 "Manrope",
        Arial,
        sans-serif;
    letter-spacing: -0.045em;
}

.regfee-modal-kicker {
    margin: 0;
    color: #789a45;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.regfee-modal-context {
    margin: 7px 0 0;
    color: #667671;
    font-size: 11px;
}

.regfee-addon-modal .btn-close {
    margin: 0;
    box-shadow: none;
}

.regfee-addon-modal .modal-body {
    padding: 22px 27px;
}

.regfee-modal-addon-list {
    display: grid;
    gap: 9px;
}

.regfee-addon-modal .regfee-addon-option {
    grid-template-columns: 22px 1fr auto;
    gap: 11px;
    align-items: center;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid #dce3d9;
    border-radius: 12px;
    background: #fff;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.regfee-addon-modal .regfee-addon-option:hover {
    transform: translateY(-1px);
    border-color: #aabe85;
    background: #fbfdf5;
}

.regfee-addon-modal .regfee-addon-check {
    width: 21px;
    height: 21px;
}

.regfee-addon-modal .regfee-addon-name {
    color: #142c30;
    font-size: 12px;
    font-weight: 700;
}

.regfee-addon-modal .regfee-addon-name small {
    display: block;
    margin-top: 2px;
    color: #667671;
    font-size: 9px;
    font-weight: 500;
}

.regfee-addon-modal .regfee-addon-price {
    color: #567531;
    font-size: 12px;
    font-weight: 800;
}

.regfee-modal-empty {
    margin: 0;
    padding: 25px;
    border: 1px dashed #b8c5b2;
    border-radius: 13px;
    color: #667671;
    text-align: center;
}

.regfee-addon-modal .modal-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 18px 27px;
    border-top: 1px solid #dce3d9;
    background: #fff;
}

.regfee-modal-total {
    display: flex;
    flex-direction: column;
}

.regfee-modal-total span {
    color: #667671;
    font-size: 9px;
}

.regfee-modal-total strong {
    color: #142c30;
    font:
        750 23px/1.2 "Manrope",
        Arial,
        sans-serif;
}

.regfee-modal-done {
    align-self: center;
    padding: 11px 22px;
    border: 0;
    border-radius: 10px;
    background: #142c30;
    color: #fff;
    font:
        700 11px "DM Sans",
        Arial,
        sans-serif;
    cursor: pointer;
}

.regfee-modal-done:hover {
    background: #294a4e;
}

@media (max-width: 575.98px) {
    .regfee-addon-modal .modal-dialog {
        margin: 0;
        padding: 9px;
    }

    .regfee-addon-modal .modal-content {
        border-radius: 18px;
    }

    .regfee-addon-modal .modal-header,
    .regfee-addon-modal .modal-body,
    .regfee-addon-modal .modal-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .regfee-addon-modal .modal-footer {
        grid-template-columns: 1fr;
    }

    .regfee-modal-done {
        width: 100%;
    }
}

/* Mobile registration selector and period tabs */
.regfee-mobile-category,
.regfee-mobile-periods {
    display: none;
}

@media (max-width: 650px) {
    .regfee-category-tabs {
        display: none !important;
    }

    .regfee-mobile-category {
        position: relative;
        display: block;
        margin: 0 0 14px;
        padding: 11px;
        border: 1px solid var(--regfee-line);
        border-radius: 17px;
        background: #fff;
        box-shadow: 0 10px 28px rgba(20, 44, 48, 0.06);
    }

    .regfee-mobile-category label,
    .regfee-mobile-category label > span {
        display: block;
    }

    .regfee-mobile-category label > span {
        margin: 0 0 7px 3px;
        color: var(--regfee-muted);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .regfee-mobile-category select {
        width: 100%;
        height: 52px;
        padding: 0 44px 0 15px;
        border: 1px solid #cfd9ce;
        border-radius: 13px;
        background:
            linear-gradient(45deg, transparent 50%, var(--regfee-green) 50%) calc(100% - 20px) 22px / 6px 6px no-repeat,
            linear-gradient(135deg, var(--regfee-green) 50%, transparent 50%) calc(100% - 14px) 22px / 6px 6px no-repeat,
            #f8faf5;
        color: var(--regfee-ink);
        font:
            750 13px "Manrope",
            Arial,
            sans-serif;
        appearance: none;
        cursor: pointer;
        outline: none;
    }

    .regfee-mobile-category select:focus {
        border-color: var(--regfee-green);
        box-shadow: 0 0 0 4px rgba(120, 154, 69, 0.13);
    }

    .regfee-mobile-periods {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin: 5px 0 14px;
        padding: 6px;
        border: 1px solid var(--regfee-line);
        border-radius: 16px;
        background: #eef2e9;
    }

    .regfee-mobile-periods button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        min-height: 52px;
        padding: 8px 5px;
        border: 1px solid transparent;
        border-radius: 11px;
        background: transparent;
        color: var(--regfee-muted);
        cursor: pointer;
        transition:
            background 0.22s,
            color 0.22s,
            box-shadow 0.22s,
            transform 0.22s;
    }

    .regfee-mobile-periods button:hover:not(:disabled) {
        transform: translateY(-1px);
        color: #fff;
    }

    .regfee-mobile-periods button.is-active {
        border-color: rgba(20, 44, 48, 0.1);
        background: var(--regfee-ink);
        color: #fff;
        box-shadow: 0 8px 18px rgba(20, 44, 48, 0.16);
    }

    .regfee-mobile-periods button:disabled {
        opacity: 0.38;
        cursor: not-allowed;
    }

    .regfee-mobile-periods button span {
        font-size: 7px;
        font-weight: 800;
        letter-spacing: 0.12em;
        opacity: 0.68;
    }

    .regfee-mobile-periods button strong {
        overflow: hidden;
        max-width: 100%;
        font:
            750 10px/1.2 "Manrope",
            Arial,
            sans-serif;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .regfee-card.regfee-mobile-period-hidden {
        display: none !important;
    }

    .regfee-card:not(.regfee-mobile-period-hidden) {
        animation: regfee-mobile-card-in 0.32s ease both;
    }
}

#regfee-widget:not([data-regfee-fees-state="ready"]) .regfee-mobile-category,
#regfee-widget:not([data-regfee-fees-state="ready"]) .regfee-mobile-periods {
    display: none !important;
}

@keyframes regfee-mobile-card-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .regfee-addon-open > span:last-child,
    .regfee-addon-modal .regfee-addon-option {
        transition: none;
    }
}
#regfee-widget .regfee-modal-payment-split {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 4px;
}

#regfee-widget .regfee-modal-payment-split[hidden] {
    display: none !important;
}

#regfee-widget .regfee-modal-payment-split > div {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid rgba(25, 48, 51, 0.12);
    border-radius: 12px;
    background: rgba(248, 250, 239, 0.9);
}

#regfee-widget .regfee-modal-payment-split span {
    color: #52635f;
    font-size: 12px;
    font-weight: 800;
}

#regfee-widget .regfee-modal-payment-split strong {
    color: #193033;
    font-size: 19px;
}

#regfee-widget .regfee-modal-payment-split small {
    color: #60706e;
    font-size: 11px;
    line-height: 1.4;
}

#regfee-widget .regfee-modal-payment-split [data-regfee-modal-addon-deadline] {
    color: inherit;
    font-size: inherit;
    font-weight: 800;
}

@media (max-width: 575.98px) {
    #regfee-widget .regfee-modal-payment-split {
        grid-template-columns: 1fr;
    }
}
#regfee-widget .regfee-script-warning {
    max-width: 780px;
    margin: 24px auto;
    padding: 18px 20px;
    border: 1px solid #e2b866;
    border-left: 5px solid #d39322;
    border-radius: 12px;
    background: #fff8e8;
    color: #604614;
}

#regfee-widget .regfee-script-warning strong {
    display: block;
    margin-bottom: 5px;
    color: #49330d;
    font-size: 16px;
}

#regfee-widget .regfee-script-warning p {
    margin: 0;
    color: #715723;
    font-size: 14px;
    line-height: 1.6;
}

#regfee-widget:not([data-regfee-fees-state="ready"]) .regfee-category-tabs,
#regfee-widget:not([data-regfee-fees-state="ready"]) .regfee-category-panel,
#regfee-widget:not([data-regfee-fees-state="ready"]) .regfee-notes {
    display: none !important;
}

#regfee-widget[data-regfee-fees-state="ready"] .regfee-script-warning {
    display: none;
}
#regfee-widget .regfee-full-note {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    margin: 0 0 22px;
    padding: 17px 19px;
    overflow: hidden;
    border: 1px solid rgba(111, 148, 57, 0.28);
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(225, 246, 139, 0.2), rgba(255, 255, 255, 0.92));
    color: #315e55;
}

#regfee-widget .regfee-full-note::after {
    content: "";
    position: absolute;
    top: -35px;
    right: -20px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(225, 246, 139, 0.22);
    pointer-events: none;
}

#regfee-widget .regfee-full-note-icon {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #193033;
    color: #e1f68b;
    font-size: 16px;
}

#regfee-widget .regfee-full-note p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #52635f;
    font-size: 13px;
    line-height: 1.65;
}

#regfee-widget .regfee-full-note strong {
    display: block;
    margin-bottom: 3px;
    color: #193033;
    font-size: 14px;
}

@media (max-width: 575.98px) {
    #regfee-widget .regfee-full-note {
        gap: 10px;
        padding: 14px;
    }

    #regfee-widget .regfee-full-note-icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }
}
