/* Quote layouts use the portal's shared headings, panels, tables and buttons. */
.quote-page .quote-heading,
.quote-page .quote-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.quote-page .quote-heading,
.quote-page .quote-actions {
    margin: 0 0 20px;
}

.quote-page .quote-heading h3 {
    margin: 0;
}

.quote-page .quote-inline {
    display: inline;
    margin: 0;
}

.quote-page .quote-details {
    margin-top: 8px;
}

.quote-page textarea.form-control {
    height: auto !important;
    min-height: 110px;
}

.quote-page .abbButton {
    white-space: normal;
}

.quote-page .search-panel-field {
    min-width: 0;
}

/* Match the portal button style for POA contact actions. */
.quote-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.quote-product-actions .abbButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0;
    white-space: normal;
}

.quote-card .quote-product-actions {
    flex-direction: column;
    align-items: stretch;
}

/* Keep the call action above the card's product-details link. */
.quote-card .quote-call-button {
    position: relative;
    z-index: 2;
}

.quote-card {
    position: relative;
}

/* Keep the POA tile clickable around its call button. */
.quote-card .quote-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.quote-card .quote-card-link {
    color: inherit;
}

.quote-card .quote-card-image {
    display: block;
}

.quote-card .quote-card-link:hover {
    text-decoration: underline;
}

.quote-card .quote-card-link:focus-visible {
    outline: 2px solid var(--dashboard-graphite, #252a2e);
    outline-offset: 3px;
}

.quote-page #quote-search,
.quote-page #quote-product,
.quote-page #quotation-items,
.quote-page #quotation-details,
.quote-page #quote-feedback {
    scroll-margin-top: 20px;
}
