.src-rsvp {
    max-width: 460px;
    margin: 0 auto;
    font-family: Born2, sans-serif;
    color: #1f2933;
}

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

.src-rsvp__title {
    text-align: center;
    font-family: Born2, sans-serif;
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 32px;
    color: #222;
}

.src-rsvp__field {
    margin-bottom: 13px;
}

.src-rsvp__field label {
    display: block;
    font-family: Born2, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    margin: 0 0 7px;
    color: #222;
}

.src-rsvp__field input,
.src-rsvp__field select,
.src-rsvp__field textarea {
    width: 100%;
    border: 1px solid #cfd7df;
    border-radius: 0;
    padding: 11px 13px;
    font-family: "Merchant Copy", Sans-serif;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 400;
    color: #1f2933;
    background: #fff;
    outline: none;
    box-shadow: none;
}

.src-rsvp__field input::placeholder,
.src-rsvp__field textarea::placeholder {
    color: #6b7280;
    opacity: 1;
}

.src-rsvp__field input:focus,
.src-rsvp__field select:focus,
.src-rsvp__field textarea:focus {
    border-color: #b58d3a;
    box-shadow: none;
    outline: none;
}

.src-rsvp__field textarea {
    min-height: 86px;
    resize: vertical;
}

.src-rsvp__phone {
    display: flex;
    align-items: center;
    border: 1px solid #cfd7df;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

.src-rsvp__phone:focus-within {
    border-color: #b58d3a;
}

.src-rsvp__phone span {
    min-height: 38px;
    padding: 0 13px;
    border-right: 1px solid #d6dde4;
    display: flex;
    align-items: center;
    font-family: Born2, sans-serif;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 400;
    color: #222;
    background: #fff;
}

.src-rsvp__phone input {
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0;
    flex: 1;
    min-width: 0;
    background: transparent;
}

.src-rsvp__phone input:focus {
    border: 0 !important;
    box-shadow: none;
    outline: none;
}

/* Pixelated button */
.src-rsvp__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 18px);
    min-height: 48px;
    margin: 18px auto 0;
    padding: 12px 30px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible;
    isolation: isolate;
    color: #ffffff !important;
    font-family: Born2, sans-serif;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    transition: none;
}

.src-rsvp__button::before,
.src-rsvp__button::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(
        10px 0,
        calc(100% - 10px) 0,
        calc(100% - 10px) 4px,
        calc(100% - 4px) 4px,
        calc(100% - 4px) calc(50% - 8px),
        100% calc(50% - 8px),
        100% calc(50% + 8px),
        calc(100% - 4px) calc(50% + 8px),
        calc(100% - 4px) calc(100% - 4px),
        calc(100% - 10px) calc(100% - 4px),
        calc(100% - 10px) 100%,
        10px 100%,
        10px calc(100% - 4px),
        4px calc(100% - 4px),
        4px calc(50% + 8px),
        0 calc(50% + 8px),
        0 calc(50% - 8px),
        4px calc(50% - 8px),
        4px 4px,
        10px 4px
    );
    pointer-events: none;
}

.src-rsvp__button::before {
    background: #ffffff;
    z-index: -2;
}

.src-rsvp__button::after {
    inset: 4px;
    background: #222222;
    z-index: -1;
}

.src-rsvp__button:hover,
.src-rsvp__button:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    outline: none;
}

.src-rsvp__button:active {
    transform: translate(2px, 2px);
}

.src-rsvp__button:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.src-rsvp__button:disabled::before,
.src-rsvp__button:disabled::after {
    opacity: 1;
}

.src-rsvp__alert {
    font-family: Born2, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 18px;
    text-align: center;
}

.src-rsvp__alert.is-success {
    color: #14843b;
}

.src-rsvp__alert.is-error {
    color: #c5221f;
}

.src-rsvp__divider {
    border-top: 1px solid #d9dee3;
    margin: 30px 0 24px;
}

.src-rsvp__empty {
    font-family: Born2, sans-serif;
    font-size: 14px;
    text-align: center;
    color: #667085;
    padding: 18px 10px;
}

.src-rsvp__card {
    display: flex;
    gap: 12px;
    border: 1px solid #edf0f2;
    border-radius: 0;
    padding: 13px 10px;
    margin-bottom: 12px;
    background: #fff;
    font-family: Born2, sans-serif;
}
.src-rsvp__avatar {
    position: relative;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 0;
    border: 0;
    background: transparent !important;
    color: var(--src-avatar-color, #111);
    font-family: Born2, sans-serif;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: visible;
}

.src-rsvp__avatar::before,
.src-rsvp__avatar::after {
    content: "";
    position: absolute;
    pointer-events: none;
    clip-path: polygon(
        38% 0,
        62% 0,
        62% 5%,
        75% 5%,
        75% 10%,
        84% 10%,
        84% 16%,
        90% 16%,
        90% 25%,
        95% 25%,
        95% 38%,
        100% 38%,
        100% 62%,
        95% 62%,
        95% 75%,
        90% 75%,
        90% 84%,
        84% 84%,
        84% 90%,
        75% 90%,
        75% 95%,
        62% 95%,
        62% 100%,
        38% 100%,
        38% 95%,
        25% 95%,
        25% 90%,
        16% 90%,
        16% 84%,
        10% 84%,
        10% 75%,
        5% 75%,
        5% 62%,
        0 62%,
        0 38%,
        5% 38%,
        5% 25%,
        10% 25%,
        10% 16%,
        16% 16%,
        16% 10%,
        25% 10%,
        25% 5%,
        38% 5%
    );
}

.src-rsvp__avatar::before {
    inset: 0;
    background: var(--src-avatar-color, #111);
    z-index: -2;
}

.src-rsvp__avatar::after {
    inset: 4px;
    background: var(--src-avatar-bg, #fff);
    z-index: -1;
}
.src-rsvp__avatar--1 {
    --src-avatar-bg: #fff8e8;
    --src-avatar-color: #c08a24;
    color: #c08a24;
}

.src-rsvp__avatar--2 {
    --src-avatar-bg: #f4efe6;
    --src-avatar-color: #3a2f24;
    color: #3a2f24;
}

.src-rsvp__avatar--3 {
    --src-avatar-bg: #edf3e8;
    --src-avatar-color: #5f6f45;
    color: #5f6f45;
}

.src-rsvp__avatar--4 {
    --src-avatar-bg: #f7ece2;
    --src-avatar-color: #9a5b2f;
    color: #9a5b2f;
}

.src-rsvp__avatar--5 {
    --src-avatar-bg: #f2edf8;
    --src-avatar-color: #6d4a8f;
    color: #6d4a8f;
}

.src-rsvp__content {
    flex: 1;
    min-width: 0;
}

.src-rsvp__name-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.src-rsvp__name-row strong {
    font-family: Born2, sans-serif;
    font-size: 20px;
    line-height: 1.2;
    color: #111;
    font-weight: 500;
}

.src-rsvp__badge {
    background: #bdeff2;
    color: #15616d;
    font-family: Born2, sans-serif;
    font-size: 11px;
    line-height: 1.1;
    padding: 3px 6px;
    border-radius: 0;
}

.src-rsvp__message {
    font-family: "Merchant Copy", Sans-serif;
    font-size: 10px;
    line-height: 1.45;
    font-weight: 400;
    color: #222222;
    margin-bottom: 7px;
    overflow-wrap: anywhere;
}

.src-rsvp__date {
    font-family: Born2, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    color: #696969;
}

@media (max-width: 480px) {
    .src-rsvp {
        max-width: 100%;
    }

    .src-rsvp__button {
        width: calc(100% - 18px);
    }

    .src-rsvp__card {
        padding: 12px 9px;
    }
}

/* Minimal centered pagination */
.src-rsvp__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
    font-family: Born2, sans-serif;
}

.src-rsvp__page {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #222222;
    font-family: Born2, sans-serif;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    appearance: none;
    transition: none;
}

.src-rsvp__page:hover,
.src-rsvp__page:focus {
    background: transparent;
    color: #b58d3a;
    outline: none;
}

.src-rsvp__page.is-active {
    background: #222222;
    color: #ffffff;
    border-radius: 0;
    box-shadow:
        0 -3px 0 #222222,
        0 3px 0 #222222,
        -3px 0 0 #222222,
        3px 0 0 #222222;
}

.src-rsvp__page:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.src-rsvp__page:disabled:hover,
.src-rsvp__page:disabled:focus {
    color: #222222;
}

.src-rsvp__list.is-loading {
    opacity: .55;
    pointer-events: none;
}