.participant-payment-page {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 14px;
    padding: 0;
    background: transparent;
}

.participant-payment-page__project-title {
    margin: 0 0 8px;
    color: #18454b;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.15;
}

.participant-payment-page__table-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 0 8px;
    color: #6f6f6f;
    font-size: 15px;
    font-weight: 500;
}

.participant-payment-page__table-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 40px;
}

.participant-payment-page__th {
    min-width: 80px;
    text-align: center;
}

.participant-payment-page__th--item {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    text-align: left;
}

.participant-payment-page__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 12px;
}

.participant-payment-page__item {
    background: #ffffff;
    border: 1px solid #d1c8bd;
    border-radius: 16px;
    overflow: hidden;
    -webkit-transition: border-color 0.2s ease, background 0.2s ease;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.participant-payment-page__item summary {
    list-style: none;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
}

.participant-payment-page__item summary::-webkit-details-marker {
    display: none;
}

.participant-payment-page__item[open] {
    background: #f4f1ef;
    border-color: #d1c8bd;
}

.participant-payment-page__item-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 16px;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 0;
}

.participant-payment-page__toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #18454b;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-weight: 700;
    color: #18454b;
    background: #dda81d;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.participant-payment-page__toggle::before {
    content: '+';
}

.participant-payment-page__item[open] .participant-payment-page__toggle {
    background: #f4f1ef;
    border-color: #18454b;
    color: #18454b;
}

.participant-payment-page__item[open] .participant-payment-page__toggle::before {
    content: '-';
}

.participant-payment-page__item-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.participant-payment-page__item-title {
    font-weight: 700;
    color: #18454b;
    font-size: 20px;
    line-height: 1.15;
}

.participant-payment-page__item-subtext {
    margin: 0;
    color: #1f2c35;
    font-size: 15px;
    line-height: 1.4;
}

.participant-payment-page__item-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 40px;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    min-width: 260px;
}

.participant-payment-page__item-price,
.participant-payment-page__item-qty {
    font-size: 18px;
    color: #252525;
    min-width: 70px;
    text-align: center;
}

.participant-payment-page__item-subtotal {
    color: #27587a;
    font-size: 22px;
    font-weight: 700;
    min-width: 90px;
    text-align: right;
    font-family: "Georgia", "Times New Roman", serif;
}

.participant-payment-page__item-body {
    padding: 0 28px 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 14px;
    background: #f4f1ef;
}

.participant-payment-page__item-instructions {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4f555b;
    font-style: italic;
    max-width: 730px;
}

.participant-payment-page__field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 400;
    color: #252525;
}

.participant-payment-page__field--inline {
    margin-top: 4px;
}

.participant-payment-page__required {
    color: #D02F35;
    font-weight: 700;
}

.participant-payment-page__participants {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
    width: 100%;
}

.participant-payment-page__participant {
    display: grid;
    grid-template-columns: minmax(0, 600px) auto;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
}

.participant-payment-page__participant input {
    width: 100%;
    max-width: 600px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid #8a939a;
    padding: 10px 16px;
    font-size: 15px;
    color: #2f3c44;
    background: #ffffff;
    -webkit-box-shadow: inset 0 0 0 1px transparent;
            box-shadow: inset 0 0 0 1px transparent;
    -webkit-transition: border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
    transition: border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, -webkit-box-shadow 0.15s ease;
}

.participant-payment-page__participant input:focus {
    outline: none;
    border-color: #18454b;
    -webkit-box-shadow: 0 0 0 1px #18454b;
            box-shadow: 0 0 0 1px #18454b;
}

.participant-payment-page__participant input::-webkit-input-placeholder {
    color: #9aa5ad;
}

.participant-payment-page__participant input::-moz-placeholder {
    color: #9aa5ad;
}

.participant-payment-page__participant input:-ms-input-placeholder {
    color: #9aa5ad;
}

.participant-payment-page__participant input::-ms-input-placeholder {
    color: #9aa5ad;
}

.participant-payment-page__participant input::placeholder {
    color: #9aa5ad;
}

.participant-payment-page__remove {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #2f3c44;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 0;
    -webkit-transition: color 0.15s ease;
    transition: color 0.15s ease;
}

.participant-payment-page__remove:hover {
    color: #18454b;
}

.participant-payment-page__remove svg {
    width: 18px;
    height: 18px;
}

.participant-payment-page__quick {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 8px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.participant-payment-page__quick.is-empty {
    display: none;
}

.participant-payment-page__quick-button {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid #d2c7bb;
    background: #ffffff;
    color: #252525;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    -webkit-transition: background 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
    transition: background 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
}

.participant-payment-page__quick-button:hover {
    background: #f4f1ef;
    -webkit-transform: translateY(-1px);
            transform: translateY(-1px);
    -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.participant-payment-page__quick-button::before {
    content: '+';
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    color: #252525;
}

.participant-payment-page__add-participant {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid #d2c7bb;
    background: #ffffff;
    color: #252525;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    -webkit-transition: background 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
    transition: background 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
    -ms-flex-item-align: start;
        align-self: flex-start;
}

.participant-payment-page__add-participant:hover {
    background: #f4f1ef;
    -webkit-transform: translateY(-1px);
            transform: translateY(-1px);
}

.participant-payment-page__add-participant:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    -webkit-transform: none;
            transform: none;
    -webkit-box-shadow: none;
            box-shadow: none;
}

.participant-payment-page__add-participant span {
    font-size: 18px;
    line-height: 1;
}

.participant-payment-page__participant-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
}

.participant-payment-page__item-note {
    margin: 0;
    color: #4f555b;
    font-size: 14px;
}

.participant-payment-page__stepper {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 12px;
    -ms-flex-item-align: start;
        align-self: flex-start;
}

.participant-payment-page__stepper-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #18454b;
    background: #ffffff;
    color: #18454b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    cursor: pointer;
    -webkit-transition: background 0.12s ease, color 0.12s ease, -webkit-transform 0.12s ease;
    transition: background 0.12s ease, color 0.12s ease, -webkit-transform 0.12s ease;
    transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
    transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease, -webkit-transform 0.12s ease;
}

.participant-payment-page__stepper-btn:hover:not(:disabled) {
    background: #18454b;
    color: #ffffff;
    -webkit-transform: translateY(-1px);
            transform: translateY(-1px);
}

.participant-payment-page__stepper-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.participant-payment-page__stepper-input {
    width: 56px;
    height: 40px;
    border: 1px solid #8a939a;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #2f3c44;
    background: #ffffff;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
            appearance: textfield;
}

.participant-payment-page__stepper-input::-webkit-outer-spin-button,
.participant-payment-page__stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.participant-payment-page__stepper-input:focus {
    outline: none;
    border-color: #18454b;
    -webkit-box-shadow: 0 0 0 1px #18454b;
            box-shadow: 0 0 0 1px #18454b;
}

.participant-payment-page__limit {
    margin: 0;
    color: #aa6200;
    font-size: 13px;
}

.participant-payment-page__placeholder-note {
    margin: 0;
    color: #6f6f6f;
    font-size: 13px;
    font-style: italic;
}

.participant-payment-page__footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 24px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-top: 8px;
}

.participant-payment-page__notice {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 360px;
            flex: 1 1 360px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
    padding: 18px 16px;
    background: #f6f3ef;
    border: 1px solid #d1c8bd;
    border-radius: 16px;
    color: #252525;
}

.participant-payment-page__notice-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #27587a;
    color: #f4f1ef;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-weight: 700;
    font-size: 15px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.participant-payment-page__notice-title {
    font-weight: 700;
    color: #18454b;
    margin-bottom: 4px;
}

.participant-payment-page__notice-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #252525;
}

.participant-payment-page__summary-card {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 320px;
            flex: 0 0 320px;
    background: #18454b;
    color: #f4f1ef;
    border-radius: 16px;
    padding: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 16px;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.participant-payment-page__total {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
}

.participant-payment-page__total-label {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 26px;
    color: #f4f1ef;
}

.participant-payment-page__total-value {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 30px;
    font-weight: 600;
    color: #f4f1ef;
    text-align: right;
}

.participant-payment-page__checkout {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 999px;
    background: #dda81d;
    color: #252525;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 0 18px;
    cursor: pointer;
    -webkit-transition: background 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
    transition: background 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
}

.participant-payment-page__checkout:disabled {
    background: #d8c483;
    color: #6b5a1f;
    cursor: not-allowed;
    -webkit-box-shadow: none;
            box-shadow: none;
    -webkit-transform: none;
            transform: none;
}

.participant-payment-page__checkout:not(:disabled):hover {
    background: #f2c32c;
    -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    -webkit-transform: translateY(-1px);
            transform: translateY(-1px);
}

.participant-payment-page__checkout:not(:disabled):active {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

@media (max-width: 960px) {
    .participant-payment-page__table-head {
        display: none;
    }

    .participant-payment-page__item summary {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
        gap: 14px;
    }

    .participant-payment-page__item-meta {
        width: 100%;
        min-width: 0;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
        gap: 20px;
    }

    .participant-payment-page__item-price,
    .participant-payment-page__item-qty,
    .participant-payment-page__item-subtotal {
        text-align: left;
    }

    .participant-payment-page__summary-card {
        -ms-flex-preferred-size: 100%;
            flex-basis: 100%;
    }
}

