/* F4T Quotes — agent ticket-view widget styles.
 *
 * Scoped under .f4t-quotes-* to avoid colliding with osTicket's default
 * theme. The panel is rendered inside the ticket "More" dropdown; it's a
 * plain absolutely-positioned block that opens beneath the toggle.
 */

.f4t-quotes-dropdown { position: relative; }

.f4t-quotes-panel-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050;
    min-width: 360px;
    max-width: 480px;
    background: #fff;
    color: #333;
    border: 1px solid #c8c8c8;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
}

.f4t-quotes-loading,
.f4t-quotes-error,
.f4t-quotes-empty {
    padding: 8px 2px;
    color: #777;
    font-style: italic;
}

.f4t-quotes-error { color: #a00; font-style: normal; }

.f4t-quotes-row {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 4px 0;
    border-bottom: 1px dashed #eee;
}

.f4t-quotes-row:last-of-type { border-bottom: 0; }

.f4t-quotes-label {
    flex: 0 0 140px;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.f4t-quotes-ticket-list {
    margin: 8px 0;
    padding: 8px;
    background: #f7f7f7;
    border-radius: 3px;
}

.f4t-quotes-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.f4t-quotes-list li {
    padding: 2px 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.f4t-quotes-chip {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #e5e5e5;
    color: #333;
}

.f4t-quotes-chip--neutral { background: #e5e5e5; color: #333; }
.f4t-quotes-chip--amber   { background: #fff0c0; color: #8a6200; }
.f4t-quotes-chip--green   { background: #d4edd0; color: #195b1c; }
.f4t-quotes-chip--blue    { background: #d6e7fb; color: #1e4a85; }
.f4t-quotes-chip--violet  { background: #e5d4f4; color: #4a1a80; }
.f4t-quotes-chip--red     { background: #f8d1d1; color: #8a1a1a; }

.f4t-quotes-muted { color: #888; font-style: italic; }

.f4t-quotes-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.f4t-quotes-new {
    background: #c0392b;
    color: #fff;
    border: 0;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
}
.f4t-quotes-new:hover { background: #a5291c; }
.f4t-quotes-new:disabled { background: #aaa; cursor: not-allowed; }

.f4t-quotes-view {
    color: #1e4a85;
    text-decoration: none;
    font-weight: 500;
}
.f4t-quotes-view:hover { text-decoration: underline; }
