/* Motor complaints and Inquiry & Support. Scoped to .v-b, on top of Option B's cards. */

/* ── Inquiry & Support (as in SNB's live app) ── */
.v-b .sp-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 17px;
}

.v-b .sp-agent-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v-b .sp-agent .sp-round {
    width: 52px;
    height: 52px;
    font-size: 22px;
}

.v-b .sp-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-inline-end: 6px;
}

.v-b .sp-calls {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 16px;
}

.v-b .sp-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.v-b .sp-call .icon-tile {
    width: 52px;
    height: 52px;
    font-size: 18px;
}

.v-b .sp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: -6px;
}

.v-b .sp-all {
    min-height: 28px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 12px;
}

.v-b .sp-row {
    padding: 10px 14px;
    gap: 12px;
}

.v-b .sp-row .li-title {
    font-size: 15px;
}

.v-b .sp-row.off .li-title,
.v-b .sp-row.off .sp-round {
    opacity: 0.55;
}

.v-b .sp-search {
    min-height: 48px;
}

.v-b .sp-search i {
    color: var(--muted);
}

.v-b .sp-search input {
    padding: 12px 0;
}

/* Complaint card, as in SNB's requests and complaints list */
.v-b .cm-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: start;
}

.v-b .cm-row .li-body {
    flex: 1;
    min-width: 0;
}

.v-b .cm-kicker {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.v-b .cm-row .tracker,
.v-b .card > .tracker {
    margin-top: 14px;
}

/* ── Raise a complaint, inside an open policy card ── */
.v-b .cm-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    font-size: 14px;
}

/* ── Raise a complaint ── */
.v-b .cm-inline {
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.v-b .cm-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.v-b .cm-card-head .li-title {
    min-width: 0;
}

.v-b .cm-card-head .small {
    flex-shrink: 0;
    white-space: nowrap;
}

.v-b .cm-card-head .fa-lock {
    font-size: 11px;
    margin-inline-end: 2px;
}

.v-b .cm-policy {
    gap: 12px;
}

.v-b .cm-policy .li-body {
    flex: 1;
    min-width: 0;
}

.v-b .cm-policy-title {
    font-size: 15px;
}

.v-b .cm-policy .plate {
    margin-top: 0;
    flex-shrink: 0;
    font-size: 11px;
}

.v-b .cm-policy .plate span {
    padding: 2px 5px;
}

.v-b .cm-sent {
    margin-top: 6px;
}

.v-b [data-pick] + .field {
    margin-top: 10px;
}

.v-b .cm-text {
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.v-b .cm-file {
    gap: 12px;
    padding: 10px 12px;
}

.v-b .cm-file .icon-tile {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.v-b .cm-file .li-body {
    flex: 1;
    min-width: 0;
}

.v-b .cm-file-name {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v-b [data-files]:empty {
    display: none;
}

.v-b [data-files] {
    margin-top: 10px;
}

.v-b .cm-add {
    align-self: flex-start;
    margin-top: 10px;
    min-height: 36px;
    padding: 0 16px;
    gap: 8px;
}

.v-b .cm-add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.v-b .cm-sample {
    align-self: flex-start;
    margin-top: 10px;
}

.v-b .cm-board-en {
    margin-top: 4px;
}

.v-b .cm-nowrap {
    white-space: nowrap;
}

/* ── Received ── */
.v-b .cm-ref {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v-b .cm-ref .li-body {
    flex: 1;
    min-width: 0;
}

.v-b .cm-ref-num {
    margin-top: 4px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    user-select: all;
}

.v-b .cm-ref .pill-btn {
    flex-shrink: 0;
    gap: 6px;
}

/* ── Help rows with a line under the name (Insurance complaint reasons) ── */
.v-b .sp-row .li-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── SNB's reply: accept (and rate) or reject, as in SNB's app. The rating sheet sits outside .v-b. ── */
.v-b .cm-reply-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v-b .cm-reply-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.v-b .cm-reply-actions .btn {
    flex: 1;
}

.cm-rate h3 {
    margin-top: 6px;
}

.cm-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cm-star {
    font-size: 30px;
    color: var(--divider);
    padding: 4px;
}

.cm-star.on {
    color: var(--accent);
}
