/* The question the booking form asks under the customer box when the name looks wrong
 * (booking-answer-checks.js): the carrier's own name, a reference number, or a near miss for a
 * customer the host lists. It asks; it does not refuse, so it is not styled as an error:
 * no alert red, and no green, which on this page belongs to the Book button.
 *
 * In a stylesheet, not a <style> block in the view: Razor emits inline style as string
 * literals and the web assembly sits near the string-heap ceiling.
 */

.bk-name-ask {
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--color-hairline);
    border-left: 4px solid var(--color-ink);
    border-radius: var(--radius-sm);
    background: var(--color-cloud);
    font-family: var(--font-sans);
}

.bk-name-ask__text {
    margin: 0 0 8px;
    color: var(--color-ink);
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.bk-name-ask__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bk-name-ask__btn {
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--color-body);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--color-ink);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.bk-name-ask__btn--lead {
    border-color: var(--color-ink);
    font-weight: 600;
}

.bk-name-ask__btn:hover {
    background: var(--color-mist);
}

.bk-name-ask__btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-color: var(--color-green-dk);
}

/* On a phone the two answers stack and each takes the full width, so neither is a small target. */
@media (max-width: 480px) {
    .bk-name-ask__actions { flex-direction: column; }
    .bk-name-ask__btn { width: 100%; }
}
