/**
 * PB-Buyers live messaging styles.
 */

.pb-msg-page-wrap {
    min-height: 100vh;
    background: #f3f0e9;
    color: #07284a;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

.pb-msg-page-wrap *,
.pb-msg-page-wrap *::before,
.pb-msg-page-wrap *::after {
    box-sizing: border-box;
}

.pb-msg-page-main {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 18px 48px;
}

body.pb-buyers-messaging-page {
    background: #f3f0e9;
}

body.pb-buyers-messaging-page #page,
body.pb-buyers-messaging-page .site,
body.pb-buyers-messaging-page .site-content,
body.pb-buyers-messaging-page .content-area,
body.pb-buyers-messaging-page main.site-main,
body.pb-buyers-messaging-page article,
body.pb-buyers-messaging-page .entry-content {
    max-width: none !important;
    overflow-x: visible !important;
    width: 100% !important;
}

.pb-msg-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid rgba(18, 49, 79, 0.14);
    border-radius: 22px;
    background: #f8f6f0;
    color: #07284a;
    font-family: inherit;
}

.pb-msg-shell *,
.pb-msg-shell *::before,
.pb-msg-shell *::after,
.pb-msg-button-wrap *,
.pb-msg-button-wrap *::before,
.pb-msg-button-wrap *::after {
    box-sizing: border-box;
}

.pb-msg-shell--notice {
    max-width: 680px;
    text-align: center;
}

.pb-msg-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(18, 49, 79, 0.12);
}

.pb-msg-kicker {
    margin: 0 0 6px;
    color: #c2a052;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.pb-msg-header h2,
.pb-msg-thread-header h3,
.pb-msg-modal-card h3 {
    margin: 0 0 8px;
    color: #071f3d;
    line-height: 1.05;
}

.pb-msg-header h2 {
    font-size: clamp(26px, 3vw, 42px);
}

.pb-msg-profile-link {
    color: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.pb-msg-profile-link:hover,
.pb-msg-profile-link:focus {
    color: #1f6fac;
}

.pb-msg-profile-separator {
    margin: 0 6px;
    color: #7c8fa3;
}

.pb-msg-thread-header h3,
.pb-msg-modal-card h3 {
    font-size: clamp(20px, 2vw, 28px);
}

.pb-msg-header p,
.pb-msg-modal-card p {
    max-width: 660px;
    margin: 0;
    color: #35506d;
    font-size: 15px;
}

.pb-msg-count {
    display: inline-flex;
    min-width: 106px;
    justify-content: center;
    padding: 9px 13px;
    border: 1px solid rgba(74, 145, 218, 0.28);
    border-radius: 999px;
    background: #edf5fc;
    color: #1b5f9f;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.pb-msg-layout {
    display: grid;
    grid-template-columns: minmax(290px, 390px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.pb-msg-list-panel,
.pb-msg-thread-panel,
.pb-msg-report-panel {
    min-height: 560px;
    border: 1px solid rgba(18, 49, 79, 0.12);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 18px 42px rgba(8, 31, 59, 0.08);
}

.pb-msg-list-panel {
    overflow: hidden;
}

.pb-msg-list-toolbar {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid rgba(18, 49, 79, 0.1);
    background: #fbfaf6;
}

.pb-msg-list-toolbar strong {
    color: #071f3d;
    font-size: 14px;
}

.pb-msg-search {
    width: 100%;
    min-height: 38px;
    padding: 9px 12px;
    border: 1px solid rgba(18, 49, 79, 0.14);
    border-radius: 12px;
    background: #fff;
    color: #071f3d;
    font-size: 13px;
}

.pb-msg-list {
    max-height: 640px;
    overflow: auto;
}

.pb-msg-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 62px;
    gap: 12px;
    width: 100%;
    padding: 15px;
    border: 0;
    border-bottom: 1px solid rgba(18, 49, 79, 0.09);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.pb-msg-row:hover,
.pb-msg-row:focus,
.pb-msg-row--selected {
    background: #edf5fc;
    outline: none;
}

.pb-msg-row--selected {
    box-shadow: inset 4px 0 0 #4a91da;
}

.pb-msg-row--loading {
    opacity: 0.68;
}

.pb-msg-avatar {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #c2a052;
    border-radius: 50%;
    background: linear-gradient(145deg, #0c314f, #6f879d);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    flex: 0 0 auto;
}

.pb-msg-avatar--large {
    width: 62px;
    height: 62px;
    font-size: 17px;
}

.pb-msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-msg-row-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.pb-msg-row-title {
    overflow: hidden;
    color: #071f3d;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pb-msg-row-preview,
.pb-msg-row-meta,
.pb-msg-time {
    overflow: hidden;
    color: #5f738b;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pb-msg-row-meta {
    color: #1f6fac;
    font-weight: 700;
}

.pb-msg-row-side {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
}

.pb-msg-time {
    padding-top: 2px;
    font-size: 11px;
}

.pb-msg-unread {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 999px;
    background: #d53d43;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.pb-msg-thread-panel {
    position: relative;
    overflow: hidden;
}

.pb-msg-thread-panel--loading::after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 253, 248, 0.72);
    color: #071f3d;
    content: 'Loading conversation...';
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 3;
}

.pb-msg-thread-placeholder,
.pb-msg-empty {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    text-align: center;
}

.pb-msg-thread-placeholder strong,
.pb-msg-empty strong {
    color: #071f3d;
    font-size: 18px;
}

.pb-msg-thread-placeholder p,
.pb-msg-empty p,
.pb-msg-empty-small {
    max-width: 520px;
    margin: 8px auto 0;
    color: #61758c;
    font-size: 14px;
}

.pb-msg-thread-wrap {
    display: grid;
    min-height: 560px;
    grid-template-rows: auto auto minmax(280px, 1fr) auto auto;
}

.pb-msg-thread-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid rgba(18, 49, 79, 0.1);
    background: linear-gradient(135deg, #fffdf8, #edf5fc);
}

.pb-msg-thread-person {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.pb-msg-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.pb-msg-labels span,
.pb-msg-review-badge {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid rgba(31, 111, 172, 0.2);
    border-radius: 999px;
    background: #edf5fc;
    color: #1f6fac;
    font-size: 11px;
    font-weight: 800;
}

.pb-msg-thread-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.pb-msg-light-btn,
.pb-msg-bubble-action {
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(18, 49, 79, 0.14);
    border-radius: 999px;
    background: #fff;
    color: #24445f;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.pb-msg-light-btn--warning {
    border-color: rgba(213, 61, 67, 0.26);
    background: #fff0f1;
    color: #823037;
}

.pb-msg-thread {
    display: flex;
    min-height: 320px;
    max-height: 520px;
    flex-direction: column;
    gap: 12px;
    overflow: auto;
    padding: 18px;
    background: #f7fafc;
}

.pb-msg-bubble {
    display: grid;
    gap: 7px;
    max-width: min(78%, 620px);
    padding: 12px 14px;
    border: 1px solid rgba(18, 49, 79, 0.09);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 10px 22px rgba(8, 31, 59, 0.06);
}

.pb-msg-bubble--mine {
    align-self: flex-end;
    border-color: rgba(74, 145, 218, 0.22);
    background: #eaf4ff;
}

.pb-msg-bubble--theirs,
.pb-msg-bubble--review {
    align-self: flex-start;
}

.pb-msg-bubble--review {
    max-width: 88%;
}

.pb-msg-bubble--highlighted {
    outline: 3px solid rgba(194, 160, 82, 0.62);
    box-shadow: 0 0 0 7px rgba(194, 160, 82, 0.16), 0 10px 22px rgba(8, 31, 59, 0.08);
}

.pb-msg-bubble-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #66798f;
    font-size: 11px;
}

.pb-msg-bubble-meta strong {
    color: #071f3d;
}

.pb-msg-bubble-body {
    color: #12314f;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.pb-msg-bubble-action {
    justify-self: start;
    min-height: 28px;
    padding: 5px 9px;
    color: #8a3035;
}

.pb-msg-status-note {
    margin: 14px 18px 0;
    padding: 11px 13px;
    border: 1px solid rgba(31, 111, 172, 0.18);
    border-radius: 14px;
    background: #edf5fc;
    color: #35506d;
    font-size: 13px;
    font-weight: 700;
}

.pb-msg-status-note--warning {
    border-color: rgba(213, 61, 67, 0.22);
    background: #fff0f1;
    color: #823037;
}

.pb-msg-composer,
.pb-msg-note-form,
.pb-msg-starter-form {
    display: grid;
    gap: 10px;
}

.pb-msg-composer {
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(18, 49, 79, 0.1);
    background: #fffdf8;
}

.pb-msg-composer textarea,
.pb-msg-note-form textarea,
.pb-msg-starter-form textarea {
    width: 100%;
    min-height: 92px;
    resize: vertical;
    padding: 12px;
    border: 1px solid rgba(18, 49, 79, 0.16);
    border-radius: 14px;
    background: #fff;
    color: #071f3d;
    font: inherit;
    font-size: 14px;
}

.pb-msg-composer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pb-msg-composer-footer span,
.pb-msg-note-form span {
    color: #61758c;
    font-size: 12px;
    font-weight: 700;
}

.pb-msg-status--error {
    color: #b23238 !important;
}

.pb-msg-send-btn,
.pb-msg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid rgba(194, 160, 82, 0.65);
    border-radius: 999px;
    background: #082846;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.pb-msg-send-btn:disabled,
.pb-msg-button:disabled,
.pb-msg-light-btn:disabled,
.pb-msg-bubble-action:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.pb-msg-button-wrap {
    display: inline-flex;
}

.pb-msg-modal[hidden] {
    display: none !important;
}

.pb-msg-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 31, 61, 0.58);
    z-index: 99999;
}

.pb-msg-modal-card {
    position: relative;
    display: grid;
    width: min(560px, 100%);
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(194, 160, 82, 0.24);
    border-radius: 22px;
    background: #fffdf8;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.pb-msg-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 49, 79, 0.12);
    border-radius: 50%;
    background: #fff;
    color: #071f3d;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.pb-msg-moderator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
}

.pb-msg-moderator-grid h3,
.pb-msg-report-panel h3 {
    margin: 0 0 12px;
    color: #071f3d;
    font-size: 18px;
}

.pb-msg-report-panel {
    min-height: 360px;
    padding: 18px;
}

.pb-msg-report-list,
.pb-msg-mini-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-msg-report-list li,
.pb-msg-mini-list li {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(18, 49, 79, 0.11);
    border-radius: 14px;
    background: #f8fbfd;
}

.pb-msg-report-list li {
    padding: 0;
}

.pb-msg-report-row {
    display: grid;
    width: 100%;
    gap: 4px;
    padding: 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.pb-msg-report-row:hover,
.pb-msg-report-row--selected {
    background: #edf5fc;
}

.pb-msg-report-list strong,
.pb-msg-mini-list strong {
    color: #071f3d;
    font-size: 13px;
}

.pb-msg-report-list span,
.pb-msg-report-list em,
.pb-msg-mini-list span,
.pb-msg-mini-list em {
    color: #60748a;
    font-size: 12px;
    font-style: normal;
}

.pb-msg-review-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(18, 49, 79, 0.1);
    background: #fbfaf6;
}

.pb-msg-review-summary div {
    display: grid;
    gap: 4px;
}

.pb-msg-review-summary strong {
    color: #071f3d;
    font-size: 12px;
}

.pb-msg-review-summary span {
    overflow: hidden;
    color: #60748a;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pb-msg-moderator-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(18, 49, 79, 0.1);
    background: #fffdf8;
}

.pb-msg-moderator-tools h4 {
    margin: 0 0 10px;
    color: #071f3d;
    font-size: 15px;
}

.pb-msg-admin-wrap .pb-msg-shell {
    max-width: none;
    margin-top: 18px;
}

@media (max-width: 1100px) {
    .pb-msg-moderator-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .pb-msg-shell {
        padding: 16px;
        border-radius: 18px;
    }

    .pb-msg-header,
    .pb-msg-layout,
    .pb-msg-moderator-grid,
    .pb-msg-review-summary,
    .pb-msg-moderator-tools {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pb-msg-count {
        width: fit-content;
    }

    .pb-msg-list-panel,
    .pb-msg-thread-panel,
    .pb-msg-report-panel,
    .pb-msg-thread-wrap {
        min-height: auto;
    }

    .pb-msg-list {
        max-height: 330px;
    }

    .pb-msg-thread-header,
    .pb-msg-composer-footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pb-msg-thread {
        max-height: 460px;
    }

    .pb-msg-bubble,
    .pb-msg-bubble--review {
        max-width: 92%;
    }
}

@media (max-width: 520px) {
    .pb-msg-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .pb-msg-row-side {
        grid-column: 2;
        align-items: flex-start;
        flex-direction: row;
    }

    .pb-msg-avatar {
        width: 42px;
        height: 42px;
    }

    .pb-msg-thread-person {
        align-items: flex-start;
    }

    .pb-msg-bubble,
    .pb-msg-bubble--review {
        max-width: 100%;
    }
}

/* Moderator username action menu. Keep this attached to messaging only; public profile name links should remain normal links. */
.pb-msg-user-menu-trigger {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.pb-msg-user-menu-trigger:hover,
.pb-msg-user-menu-trigger:focus {
    color: #1f6fac;
    outline: none;
}

.pb-msg-user-menu {
    position: absolute;
    z-index: 100000;
    display: grid;
    width: min(320px, calc(100vw - 24px));
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(18, 49, 79, 0.16);
    border-radius: 16px;
    background: #fffdf8;
    box-shadow: 0 18px 46px rgba(7, 31, 61, 0.2);
}

.pb-msg-user-menu-item {
    display: flex;
    width: 100%;
    min-height: 36px;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 10px;
    border: 1px solid rgba(18, 49, 79, 0.1);
    border-radius: 11px;
    background: #f8fbfd;
    color: #071f3d;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.pb-msg-user-menu-item:hover,
.pb-msg-user-menu-item:focus {
    background: #edf5fc;
    color: #1f6fac;
    outline: none;
}

.pb-msg-user-menu-item--danger {
    border-color: rgba(213, 61, 67, 0.24);
    background: #fff0f1;
    color: #8a3035;
}

.pb-msg-user-menu-status {
    min-height: 16px;
    color: #61758c;
    font-size: 11px;
    font-weight: 800;
}

.pb-msg-history-card {
    max-height: min(720px, calc(100vh - 48px));
    overflow: auto;
}

.pb-msg-warning-history h4 {
    margin: 0 38px 12px 0;
    color: #071f3d;
    font-size: 20px;
}

.pb-msg-light-btn--danger {
    border-color: rgba(185, 28, 28, 0.32);
    color: #8f1f1f;
}

.pb-msg-light-btn--danger:hover,
.pb-msg-light-btn--danger:focus {
    background: rgba(185, 28, 28, 0.08);
    border-color: rgba(185, 28, 28, 0.48);
    color: #7f1d1d;
}

.pb-msg-button-notice {
    color: rgba(243, 219, 158, .92);
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    margin-top: 8px;
    max-width: 220px;
}

.pb-msg-button-wrap {
    align-items: flex-start;
    flex-direction: column;
}

/* Membership-gated message buttons remain clickable so the membership popup can open. */
.pb-msg-button.is-membership-locked,
.pb-seller-profile-msg-btn.is-membership-locked,
.pb-buyer-profile-msg-btn.is-membership-locked {
    opacity: 0.72;
    cursor: pointer;
    filter: grayscale(0.35);
}

.pb-msg-button.is-membership-locked:hover,
.pb-msg-button.is-membership-locked:focus,
.pb-seller-profile-msg-btn.is-membership-locked:hover,
.pb-seller-profile-msg-btn.is-membership-locked:focus,
.pb-buyer-profile-msg-btn.is-membership-locked:hover,
.pb-buyer-profile-msg-btn.is-membership-locked:focus {
    opacity: 0.9;
}

/* PB message/profile integration fixes: keep shared header search dark on message pages and support profile-state buttons. */
.pb-msg-page-wrap .pb-public-search {
    background: transparent !important;
    border: 1px solid rgba(234, 242, 251, 0.24) !important;
    box-shadow: none !important;
}

.pb-msg-page-wrap .pb-public-search input[type="search"],
.pb-msg-page-wrap .pb-public-search input {
    appearance: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #f7f2e7 !important;
    height: auto !important;
    margin: 0 !important;
    min-height: 0 !important;
    outline: 0 !important;
    padding: 0 !important;
}

.pb-msg-page-wrap .pb-public-search input::placeholder {
    color: rgba(247, 242, 231, 0.68) !important;
}

.pb-msg-page-wrap .pb-public-search button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #f7f2e7 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

.pb-msg-button--open-conversation,
.pb-msg-button--blocked {
    text-align: center;
}

.pb-msg-button--blocked {
    background: rgba(148, 50, 56, 0.16) !important;
    border-color: rgba(185, 70, 78, 0.55) !important;
    color: #fff4f5 !important;
}

.pb-msg-button--blocked[disabled] {
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

/* Trust and compliment emphasis in marketplace messages. */
.pb-msg-row--has-compliment,
.pb-msg-row--has-compliment:hover,
.pb-msg-row--has-compliment:focus,
.pb-msg-row--has-compliment.pb-msg-row--selected {
    background: linear-gradient(90deg, rgba(214, 184, 109, 0.24), rgba(237, 245, 252, 0.66)) !important;
}

.pb-msg-row--has-compliment {
    position: relative;
}

.pb-msg-row--has-compliment.pb-msg-row--selected {
    box-shadow: inset 4px 0 0 #c2a052;
}

.pb-msg-row-trust {
    color: #071f3d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pb-msg-row-compliment {
    align-self: flex-start;
    background: rgba(214, 184, 109, 0.18);
    border: 1px solid rgba(194, 160, 82, 0.42);
    border-radius: 999px;
    color: #7a5a14;
    display: inline-flex;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 7px;
    text-transform: uppercase;
}

.pb-msg-thread-trust {
    color: #071f3d;
    flex: 1 0 100%;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-align: right;
    text-transform: uppercase;
}

.pb-msg-bubble--has-compliment {
    border-color: rgba(194, 160, 82, 0.55);
    box-shadow: 0 0 0 4px rgba(214, 184, 109, 0.14), 0 10px 22px rgba(8, 31, 59, 0.08);
}

/* Seller message follow-up calendar selector. */
.pb-msg-followup-control {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: min(100%, 360px);
}

.pb-msg-followup-control label {
    color: #61758c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pb-msg-followup-control input[type="date"] {
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(18, 49, 79, .16);
    border-radius: 12px;
    background: #fff;
    color: #071f3d;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
}

.pb-msg-followup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(18, 49, 79, .14);
    border-radius: 999px;
    background: #fff;
    color: #071f3d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
}

.pb-msg-followup-btn:disabled {
    cursor: wait;
    opacity: .6;
}

.pb-msg-composer-status:empty {
    display: none;
}

.pb-msg-composer-footer .pb-msg-composer-status:not(:empty) {
    flex: 1 1 180px;
}

@media (max-width: 760px) {
    .pb-msg-composer-footer {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .pb-msg-followup-control,
    .pb-msg-followup-control input[type="date"],
    .pb-msg-followup-btn,
    .pb-msg-composer-footer .pb-msg-send-btn {
        width: 100%;
    }
}
