/* Additions for the MVC version. The original styles are unchanged in ecards.css. */

.validation-summary-errors {
    margin: 0 auto 10px auto;
    padding: 8px 12px;
    color: #a00;
    background: #fff4f4;
    border: 1px solid #e3b4b4;
    font-size: 13px;
    text-align: left;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 18px;
    }

.validation-summary-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #c00;
}

/* Category thumbnails are now real links (keyboard accessible) instead of div onclick handlers. */
#subBoxes a.subBox {
    display: block;
}

#personalize #form label {
    font-weight: bold;
}

/* ---------------------------------------------------------------------- */
/* UPMC logo links back to the home page                                  */
/* ---------------------------------------------------------------------- */
a#upmcBanner {
    display: block;
    width: 200px; /* just the logo, not the empty space beside it */
}

    a#upmcBanner:focus-visible {
        outline: 3px solid #c9a6c0;
        outline-offset: 2px;
    }

/* ====================================================================== */
/* UPMC.com look: Montserrat, UPMC purple #4D104A buttons, upmc.com forms  */
/* (form styles mirror the .upmc-form rules on https://www.upmc.com/contact) */
/* ====================================================================== */
:root {
    --upmc-purple: #4D104A;
    --upmc-purple-hover: #3A0C38;
    --upmc-purple-tint: #F6EEF5;
    --upmc-purple-light: #964096; /* text on the white secondary pill */
    --upmc-text: #363533;
    --upmc-label: #505050;
    --upmc-border: #ccc; /* 3.4:1 on white – upmc.com's #CCC is only 1.6:1 (WCAG 1.4.11) */
    --upmc-border-light: #E6E6E6;
    --upmc-placeholder: #757575;
    --upmc-error: #D53233;
    --upmc-focus-ring: #4D104A; /* 14:1 on white (the pink #F37F88 was only 2.6:1) */
}

body,
#content,
button,
input,
select,
textarea {
    font-family: "Montserrat", sans-serif;
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 220px;
    min-height: 54px;
    padding: 14px 32px;
    border: 2px solid transparent;
    border-radius: 999px; /* pill */
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

    .btn:focus-visible {
        outline: 2px solid var(--upmc-focus-ring);
        outline-offset: 2px;
    }

    .btn:disabled {
        background-color: #DBD9D6;
        border-color: #DBD9D6;
        color: #6B6B6B;
        cursor: default;
    }

.btn-primary {
    background-color: var(--upmc-purple);
    border-color: var(--upmc-purple);
    color: #fff;
}

    .btn-primary:hover:not(:disabled) {
        background-color: var(--upmc-purple-hover);
        border-color: var(--upmc-purple-hover);
    }

/* Secondary actions (Edit My Card, Choose Another Card): white pill with a soft shadow */
.btn-secondary {
    background-color: #fff;
    border-color: #fff;
    color: var(--upmc-purple-light);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

    .btn-secondary:hover:not(:disabled) {
        color: var(--upmc-purple);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    }

.btn-sm {
    min-width: 0;
    min-height: 0;
    padding: 8px 18px;
    font-size: 14px;
}

/* "Preview My Card" – ecards.css forces #btnPreview to the old image width */
#btnPreview.btn {
    width: 240px !important;
    margin: 0;
}

/* Send / Edit side by side, centred, same size */
.button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

    .button-row form {
        margin: 0;
    }

    .button-row .btn {
        width: 240px;
    }

/* Space between a button row and the text / row under it */
.button-row + .button-row {
    margin-top: 16px;
}

#footer .button-row {
    margin-bottom: 24px;
}

/* "Personalize" label shown over a thumbnail on hover, centred */
.personalizeRolloverButtonOff.btn {
    display: none;
}

.personalizeRolloverButton.btn {
    display: inline-flex;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ---------------------------------------------------------------------- */
/* Forms (match upmc.com .upmc-form)                                      */
/* ---------------------------------------------------------------------- */
.upmc-form {
    box-sizing: border-box;
    width: 100%;
    margin: 8px 0 24px 0;
    padding: 0 20px 22px 20px;
    border: 1px solid var(--upmc-border-light);
    border-radius: 5px;
    background: #fff;
    text-align: left;
    color: var(--upmc-text);
}

    .upmc-form .form-field {
        margin: 0;
        min-width: 0;
    }

    .upmc-form label {
        display: block;
        margin: 12px 0 0 0;
        padding: 12px 0 5px 0;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.6;
        letter-spacing: 0.01em;
        color: var(--upmc-label);
        cursor: text;
    }

        .upmc-form label .optional {
            font-weight: 400;
        }

    /* Higher specificity than ecards.css "#personalize #form input" (260px wide) */
    #personalize #form .upmc-form input,
    #personalize #form .upmc-form select,
    #personalize #form .upmc-form textarea,
    .upmc-form input,
    .upmc-form select,
    .upmc-form textarea {
        display: block;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        padding: 10px;
        border: 2px solid var(--upmc-border);
        border-radius: 5px;
        background-color: #fff;
        font-family: "Montserrat", sans-serif;
        font-size: 16px; /* 16px also stops iOS zooming into the field */
        font-weight: 400;
        line-height: 1.5;
        color: var(--upmc-text);
        box-shadow: none;
    }

    #personalize #form .upmc-form textarea,
    .upmc-form textarea {
        resize: vertical;
        min-height: 140px;
    }

    #personalize #form .upmc-form select,
    .upmc-form select {
        -webkit-appearance: none;
        appearance: none;
        padding-right: 40px;
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%234D104A' stroke-width='2'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
    }

        .upmc-form select:required:invalid {
            color: var(--upmc-placeholder);
        }

        .upmc-form select option {
            color: var(--upmc-text);
        }

    .upmc-form input::placeholder,
    .upmc-form textarea::placeholder {
        color: var(--upmc-placeholder);
        opacity: 1;
    }

    #personalize #form .upmc-form input:focus,
    #personalize #form .upmc-form select:focus,
    #personalize #form .upmc-form textarea:focus,
    .upmc-form input:focus,
    .upmc-form select:focus,
    .upmc-form textarea:focus {
        border-color: var(--upmc-purple);
        outline: none;
        box-shadow: none;
    }

    /* Room + Unit side by side */
    .upmc-form .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .upmc-form .char-count {
        margin-top: 6px;
        font-size: 13px;
        color: var(--upmc-placeholder);
        text-align: right;
    }

        /* ecards.css floats the old #countdown input; it's a plain number now */
        .upmc-form .char-count #countdown {
            float: none;
            margin: 0 !important;
        }

    /* Validation (same colours as upmc.com) */
    #personalize #form .upmc-form .input-validation-error,
    .upmc-form .input-validation-error,
    .upmc-form .input-validation-error:focus {
        border-color: var(--upmc-error);
    }

    .upmc-form .field-validation-error {
        display: block;
        margin-top: 6px;
        font-size: 14px;
        font-weight: 500;
        color: var(--upmc-error);
    }

    .upmc-form .field-validation-valid {
        display: none;
    }

/* Old table-based layout leftovers from ecards.css */
#personalize #form {
    font-size: 14px;
}

/* ====================================================================== */
/* Accessibility (WCAG 2.2 AA)                                            */
/* ====================================================================== */

/* Text for screen readers only */
.visually-hidden {
    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;
}

/* "Skip to main content" – hidden until it receives keyboard focus */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    background: var(--upmc-purple);
    color: #fff !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-decoration: none;
}

    .skip-link:focus {
        top: 0;
    }

#content:focus {
    outline: none; /* focus target of the skip link, not an interactive element */
}

/*
 * Visible keyboard focus. ecards.css removes the outline from every link (a { outline: none }),
 * which leaves keyboard users with no idea where they are (WCAG 2.4.7).
 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid var(--upmc-focus-ring) !important;
    outline-offset: 2px;
}

/* Form fields already show focus with a purple border; add a ring so it doesn't rely on colour alone */
.upmc-form input:focus-visible,
.upmc-form select:focus-visible,
.upmc-form textarea:focus-visible {
    outline: 2px solid var(--upmc-focus-ring) !important;
    outline-offset: 1px;
}

/* Card tiles: show the hover look + "Personalize" label for keyboard users too */
#subBoxes .subBox:focus-visible,
#mainBoxes > a:focus-visible,
#holidayBoxes > a:focus-visible {
    outline-offset: 4px;
}

    #subBoxes .subBox:focus-visible .thumbCardImage {
        opacity: 0.5;
    }

    #subBoxes .subBox:focus-visible .personalizeRolloverButtonOff.btn {
        display: inline-flex;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

/* Left menu: headings replace the old invalid nested lists */
#leftNav h2.mainCatagory {
    margin: 3px 0 0 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
}

/* Bigger tap targets for the menu links (WCAG 2.5.8: at least 24 x 24px) */
#leftNav .subCatagory a {
    display: inline-block;
    min-height: 24px;
    line-height: 24px;
}

#leftNav .subCatagory {
    padding: 0;
}

#backtohome a,
#socialLinks a {
    display: inline-block;
    min-height: 24px;
    line-height: 24px;
}

.share-after-cards {
    clear: both;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px dashed #e6dbe4;
}

    .share-after-cards.footer-share {
        margin-top: 14px;
    }

    .share-after-cards .nav-share {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 12px;
    }

    .share-after-cards.footer-share .nav-share {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .share-after-cards.footer-share .nav-share .socialText {
        white-space: nowrap;
    }

    .share-after-cards.footer-share #socialLinks a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        line-height: 1.2;
    }

    .share-after-cards.footer-share #socialLinks a img {
        float: none;
        margin: 0;
    }

    .share-after-cards.footer-share #socialLinks .socialText {
        padding: 0;
        margin: 0;
        white-space: nowrap;
    }

    #content .share-after-cards p {
        margin: 0;
    }

/* "LET OTHERS KNOW…" olive #959836 was 3.1:1; this shade is 5.2:1 */
#content p#thankyouFooter {
    font-size: 22px;
    margin: 0;
    color: #6E7024;
    text-align: center;
}

/* Social text is now a span (was a div inside the link) */
#socialLinks .socialText,
#socialLarge .socialText {
    display: inline-block;
}

/* Respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

/* ====================================================================== */
/* Preview page                                                           */
/* ====================================================================== */
#content p.preview-intro {
    margin: 22px 0 0 0;
    font-size: 16px;
    text-align: center;
    color: var(--upmc-text);
}

#preview #card {
    margin: 16px auto 24px auto;
    padding: 24px 37px 36px 37px;
    background: #F4F2F4;
    border-radius: 12px;
}

#content p.card-part-label {
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--upmc-label);
}

    #content p.card-part-label + .card-inside,
    #content .card-front + p.card-part-label {
        margin-top: 24px;
    }

#preview .card-front {
    display: block;
    width: 100%;
    max-width: 517px;
    height: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Inside of the card: message and hospital logo */
.card-inside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 517px;
    min-height: 355px;
    box-sizing: border-box;
    padding: 36px 50px 12px 50px;
    background: #fff;
    border: 1px solid #DFDFDF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.card-inside-text {
    font-family: Arial, Helvetica, sans-serif; /* the printed card uses Arial */
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    min-width: 0;
}

    #content .card-inside-text p {
        margin: 0 0 14px 0;
        font-size: 15px;
    }

    #content .card-inside-text p.card-inside-message {
        margin-bottom: 0;
        white-space: pre-line;
        overflow-wrap: anywhere;
    }

.card-inside-logo {
    margin-top: 24px;
    text-align: center;
}

    .card-inside-logo img {
        display: inline-block;
        max-width: 100%;
        height: auto;
    }

/* Delivery details summary */
.delivery-details {
    max-width: 591px;
    margin: 0 auto 8px auto;
    padding: 20px 24px;
    box-sizing: border-box;
    border: 1px solid var(--upmc-border-light);
    border-radius: 12px;
    background: #fff;
    color: var(--upmc-text);
}

    #content .delivery-details h2 {
        margin: 0 0 12px 0;
        font-size: 18px;
        font-weight: 700;
        color: var(--upmc-purple);
    }

    .delivery-details dl {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 24px;
        margin: 0;
    }

        .delivery-details dl > div {
            min-width: 0;
        }

    .delivery-details dt {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--upmc-label);
    }

    .delivery-details dd {
        margin: 2px 0 0 0;
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    #content .delivery-details p.delivery-note {
        margin: 16px 0 0 0;
        padding-top: 14px;
        border-top: 1px solid var(--upmc-border-light);
        font-size: 13px;
        line-height: 1.55;
        color: var(--upmc-label);
    }

#preview #footer {
    padding-top: 16px;
}

/* hCaptcha on the personalize form – sits right above "Preview My Card" */
.captcha-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 20px 0;
    text-align: center;
}

    .captcha-field .field-validation-error {
        display: block;
        margin-top: 8px;
        font-size: 14px;
        font-weight: 500;
        color: var(--upmc-error);
    }

    .captcha-field .field-validation-valid {
        display: none;
    }

#content p.captcha-hint {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: var(--upmc-label);
}

.captcha-label {
    display: block;
    padding: 12px 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--upmc-label);
}

/* The real hCaptcha widget is invisible – UPMC's custom "I am human" box below is what people see. */
.captcha-widget {
    height: 0;
    overflow: hidden;
}

/* ---------------------------------------------------------------------- */
/* UPMC custom captcha box (from UPMC's shared captcha styles, SCSS flattened) */
/* ---------------------------------------------------------------------- */
:root {
    --form-control-color: #4d104a;
    --form-control-disabled: #ccc;
}

.custom-captcha-wrapper .custom-captcha {
    width: 360px;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 21px 0 21px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #F8F8F8;
    box-sizing: border-box;
    text-align: left;
}

@media (max-width: 760px) {
    .custom-captcha-wrapper .custom-captcha {
        width: 100%;
        padding: 21px 0 21px;
    }

    .custom-captcha-wrapper .custom-captcha-inner {
        padding: 15px 15px 0;
    }
}

.custom-captcha-wrapper .custom-captcha-logo {
    width: 140px;
}

    .custom-captcha-wrapper .custom-captcha-logo img {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

.custom-captcha-wrapper .custom-captcha-inner-1 {
    padding: 0 0 0 14px;
}

.custom-captcha-wrapper .custom-captcha-inner-2 {
    padding: 0 14px 0 0;
}

.custom-captcha-wrapper .custom-captcha-privacy {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    gap: 12px;
}

    /* 1.6rem on UPMC's sites (10px root) = 16px here */
    .custom-captcha-wrapper .custom-captcha-privacy a {
        color: #00819F;
        font-size: 16px;
    }

        .custom-captcha-wrapper .custom-captcha-privacy a:hover {
            color: #BC3DC9;
        }

        .custom-captcha-wrapper .custom-captcha-privacy a:visited {
            color: #904199;
        }

.custom-captcha-wrapper .required-checkbox {
    margin-right: 10px;
}

.custom-captcha-wrapper .checkbox-label {
    font-size: 16px;
    line-height: 1.5;
    float: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.custom-captcha-wrapper .error-message {
    color: red;
    font-size: 14px;
}

.custom-captcha-wrapper .required-checkbox.has-error + .error-message {
    display: block !important;
    margin-top: 8px;
}

.custom-captcha-wrapper .GetCaptcha {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: var(--form-background, #fff);
    margin: 0 0 -2px 0;
    font: inherit;
    color: currentColor;
    width: 2em !important;
    height: 2em !important;
    border: 1px solid currentColor;
    border-radius: 0.25em;
    box-sizing: border-box;
    display: grid;
    place-content: center;
    position: relative;
    cursor: pointer;
}

.custom-captcha-wrapper .captcha-agreement {
    margin: 4px 0 0 5px;
}

.custom-captcha-wrapper .GetCaptcha::before {
    content: "";
    width: 1.2em;
    height: 1.2em;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transform-origin: bottom left;
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1rem 1rem var(--form-control-color);
    background-color: CanvasText; /* For high contrast mode */
}

.custom-captcha-wrapper .GetCaptcha:checked::before {
    transform: scale(1);
}

.custom-captcha-wrapper .GetCaptcha:focus {
    outline: 2px solid #ccc;
    outline-offset: 2px;
}

/* Keyboard focus also needs to be visible against the grey box (WCAG 2.4.7) */
.custom-captcha-wrapper .GetCaptcha:focus-visible {
    outline: 3px solid var(--upmc-focus-ring);
}

.custom-captcha-wrapper .GetCaptcha:disabled {
    --form-control-color: var(--form-control-disabled);
    color: var(--form-control-disabled);
    cursor: not-allowed;
}

    /* Pulsing square = hCaptcha is loading / working */
    .custom-captcha-wrapper .GetCaptcha:disabled::after {
        content: "";
        width: .8em;
        height: .8em;
        background-color: #771B61;
        border-radius: 0.15em;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: captcha-pulse 1.5s infinite;
    }

    .custom-captcha-wrapper .GetCaptcha.load-failed:disabled::after {
        content: none;
    }

@keyframes captcha-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .custom-captcha-wrapper .GetCaptcha:disabled::after {
        animation: none;
    }
}

.custom-captcha-wrapper #modal-bg {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 2;
}

    .custom-captcha-wrapper #modal-bg.active {
        display: block;
    }

.captcha-field.has-error .custom-captcha {
    border-color: var(--upmc-error);
}

/* ---------------------------------------------------------------------- */
/* Test mode (/test-mode)                                                 */
/* ---------------------------------------------------------------------- */
.test-mode-banner {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 16px;
    padding: 8px 16px;
    background: #FFF4CE;
    border-bottom: 2px solid #E0B000;
    color: #3d2e00;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

    .test-mode-banner form {
        margin: 0;
    }

.test-mode-banner__off {
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid #3d2e00;
    border-radius: 999px;
    background: #fff;
    color: #3d2e00;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

    .test-mode-banner__off:hover {
        background: #3d2e00;
        color: #fff;
    }

    .test-mode-banner__off:focus-visible {
        outline: 3px solid var(--upmc-focus-ring);
        outline-offset: 2px;
    }

.test-mode-page {
    max-width: 560px;
    margin: 24px auto 32px auto;
    color: var(--upmc-text);
    font-size: 15px;
    line-height: 1.5;
}

    .test-mode-page h1 {
        color: var(--upmc-purple);
        font-size: 26px;
    }

    .test-mode-page h2 {
        margin-top: 28px;
        color: var(--upmc-purple);
        font-size: 16px;
    }

    .test-mode-page .button-row {
        justify-content: flex-start;
        margin-top: 18px;
    }

.test-mode-status {
    margin: 0 0 14px 0;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
}

.test-mode-status--on {
    background: #FFF4CE;
    border: 1px solid #E0B000;
    color: #3d2e00;
}

.test-recipient {
    margin: 12px -8px 4px -8px !important;
    padding: 0 8px 12px 8px;
    border: 1px dashed #E0B000;
    border-radius: 6px;
    background: #FFFBEA;
}

.test-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 0 8px;
    border-radius: 999px;
    background: #E0B000;
    color: #3d2e00;
    font-size: 11px;
    letter-spacing: 0.06em;
    vertical-align: middle;
}

.field-hint {
    margin: 6px 0 0 0;
    font-size: 13px;
    color: var(--upmc-label);
}

.test-recipient p {
    margin: 0;
}

.test-recipient__label {
    padding: 12px 0 4px 0;
    font-size: 16px;
    font-weight: 700;
}

.test-recipient__to {
    font-size: 15px;
    word-break: break-word;
}

/* Thank-you page: "Send Another Card" button under the message box */
.button-row.thankyou-actions {
    justify-content: center;
    margin: 4px auto 28px auto;   /* also on phones, where .button-row gets margin: 0 auto */
}

@media (max-width: 600px) {
    .button-row.thankyou-actions {
        margin: 8px auto 40px auto;   /* more breathing room under the full-width button on phones */
    }
}

/* Error / "Please slow down" / not-found page: "Choose a Card" button */
.button-row.error-actions {
    justify-content: flex-start;
    margin: 20px 0 28px 0;
}

@media (max-width: 600px) {
    .button-row.error-actions {
        margin: 20px auto 32px auto;
    }
}
