/* OA-1 — minimal styling for the Outlook task pane. The pane is narrow (~320px) so layouts are
   single-column. We use Bootstrap 5 utilities for spacing and only add OA-specific overrides
   here. */

.oa-body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
}

.oa-pane {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.oa-pane-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.oa-pane-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

/* Three-band recipient list (OA-3) */
.oa-band {
    border-bottom: 1px solid #e9ecef;
    padding: 8px 12px;
}
.oa-band-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.oa-recipient {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}
.oa-recipient-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* #164g / #222 - deal picker ("Log against a deal (optional)") on the read pane: a dropdown of the
   signed-in user's deals, the chosen ones as pills underneath (the CRM's select-to-add + pills look). */
.oa-deal-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.oa-deal-pills:empty {
    display: none;
}
.oa-deal-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 6px 4px 10px;
    border: 1px solid #cfe2ff;
    background: #f0f6ff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #212529;
}
.oa-deal-pill-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.oa-deal-pill-x {
    border: 0;
    background: transparent;
    color: #6c757d;
    padding: 0 2px 0 6px;
    line-height: 1;
    cursor: pointer;
}
.oa-deal-pill-x:hover {
    color: #212529;
}
