/* Keep the existing .psw-select2 class usable without the Select2 library. */
form select.psw-select2 {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: .65rem .85rem;
    color: inherit;
    font: inherit;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .375rem;
}
form select.psw-select2[multiple] { min-height: 8rem; }
form select.psw-select2:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
form[aria-busy="true"] button[type="submit"] { cursor: progress; }

/* Submission confirmation; independent of icon fonts and Bootstrap utilities. */
.psw-contact-confirmation {
    --psw-confirmation-ink: #0b1d3b;
    --psw-confirmation-accent: #0d7661;
    --psw-confirmation-tint: #e8f5ef;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 52px) clamp(20px, 4vw, 40px);
    text-align: center;
    color: var(--psw-confirmation-ink);
    background: linear-gradient(160deg, #fff 35%, #f4f9f7);
    border: 1px solid #dce8e2;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(11, 29, 59, .045);
    animation: psw-confirmation-appear .3s ease-out;
}
.psw-contact-confirmation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--psw-confirmation-accent);
}
.psw-contact-confirmation__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    color: var(--psw-confirmation-accent);
    background: var(--psw-confirmation-tint);
    border: 1px solid rgba(13, 118, 97, .12);
    border-radius: 50%;
}
.psw-contact-confirmation__icon svg { width: 34px; height: 34px; }
.psw-contact-confirmation .psw-contact-confirmation__title {
    margin: 0 0 14px;
    color: var(--psw-confirmation-ink);
    font-size: clamp(24px, 3.2vw, 30px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.psw-contact-confirmation .psw-contact-confirmation__message {
    max-width: 550px;
    margin: 0 auto;
    color: #4b5969;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.psw-contact-confirmation--warning {
    --psw-confirmation-accent: #8a5308;
    --psw-confirmation-tint: #fff1d6;
    background: #fffdf8;
    border-color: #eedcba;
}
.psw-contact-confirmation:focus-visible { outline: 2px solid #0b1d3b; outline-offset: 4px; }
@keyframes psw-confirmation-appear {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .psw-contact-confirmation { animation: none; }
}
