/* 询盘插件样式：仅做 AdminLTE 之上的克制增强，不引入新的设计语言 */

/* 状态左侧色条：与 badge-status-* 语义保持一致 */
.inquiry-row {
    position: relative;
    transition: background-color 150ms ease;
}

.inquiry-row > td:first-child {
    box-shadow: inset 3px 0 0 transparent;
    transition: box-shadow 150ms ease;
}

.inquiry-row[data-status="pending_review"] > td:first-child { box-shadow: inset 3px 0 0 #f59e0b; }
.inquiry-row[data-status="pool"] > td:first-child { box-shadow: inset 3px 0 0 #0dcaf0; }
.inquiry-row[data-status="following"] > td:first-child { box-shadow: inset 3px 0 0 #0d6efd; }
.inquiry-row[data-status="quoted"] > td:first-child { box-shadow: inset 3px 0 0 #6366f1; }
.inquiry-row[data-status="negotiating"] > td:first-child { box-shadow: inset 3px 0 0 #8b5cf6; }
.inquiry-row[data-status="won"] > td:first-child { box-shadow: inset 3px 0 0 #198754; }
.inquiry-row[data-status="rejected"] > td:first-child { box-shadow: inset 3px 0 0 #dc3545; }

/* 公海行悬停高亮，便于快速抢单 */
.pool-table tbody tr {
    cursor: default;
}

.pool-table tbody tr:hover {
    background-color: rgba(13, 202, 240, 0.08);
}

.pool-table tbody tr:hover .btn-claim {
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.28);
    transform: translateY(-1px);
}

.btn-claim {
    transition: transform 150ms ease, box-shadow 150ms ease;
}

/* 待审核队列的等待时长提示 */
.wait-badge {
    font-variant-numeric: tabular-nums;
}

/* 分配规则：成员权重表 */
.member-table td {
    vertical-align: middle;
}

.member-table tr.is-member > td:first-child {
    box-shadow: inset 3px 0 0 var(--bs-primary);
}

.weight-input {
    max-width: 110px;
}

/* 询盘详情时间线 */
.inquiry-timeline .timeline-item:last-child {
    padding-bottom: 0;
}

/* 通知设置通道卡片 */
.notify-channel-card .channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary);
}

.notify-channel-card.is-disabled {
    opacity: 0.72;
}

.notify-channel-card .config-collapse {
    border-top: 1px dashed var(--bs-border-color);
}

/* 紧凑表格：询盘列表信息密度更高 */
.inquiry-table > :not(caption) > * > * {
    padding: 0.6rem 0.75rem;
}

.inquiry-table .meta {
    font-size: 12px;
    color: var(--bs-secondary-color);
}

/* 审核弹窗中的去向选择 */
.review-destination .form-check {
    padding: 0.6rem 0.75rem 0.6rem 2.2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.6rem;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.review-destination .form-check:has(.form-check-input:checked) {
    border-color: var(--bs-primary);
    background: rgba(13, 110, 253, 0.06);
}

.review-destination .form-check + .form-check {
    margin-top: 0.5rem;
}

/* 前台询盘表单 */
.front-page .hero-panel {
    min-height: 100%;
}

.front-page .form-control,
.front-page .form-select {
    padding: 0.6rem 0.75rem;
}

@media (max-width: 991.98px) {
    .inquiry-row > td:first-child {
        box-shadow: none !important;
    }
}
