/* 权益申请页样式（2026-11-03） */

.br-container {
    padding: 0;
}

.br-container .page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.br-sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: #8a8680;
    line-height: 1.6;
    max-width: 760px;
}

/* 筛选条 */
.br-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.br-input {
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    color: #1a1a1a;
    box-sizing: border-box;
}

.br-input--search {
    flex: 1;
    min-width: 220px;
    max-width: 380px;
}

.br-textarea {
    height: auto;
    min-height: 84px;
    padding: 8px 10px;
    line-height: 1.6;
    resize: vertical;
    width: 100%;
}

/* 表格 */
.br-table-wrap {
    background: #fff;
    border: 1px solid var(--border, #eee);
    border-radius: 10px;
    overflow: hidden;
}

.br-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.br-table th {
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    color: #8a8680;
    background: #fafaf8;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border, #eee);
    white-space: nowrap;
}

.br-table td {
    padding: 12px;
    font-size: 13px;
    color: #1a1a1a;
    border-bottom: 1px solid #f4f4f1;
    vertical-align: top;
}

.br-table tr:last-child td {
    border-bottom: none;
}

.br-user {
    font-weight: 500;
}

.br-user-sub {
    margin-top: 2px;
    font-size: 12px;
    color: #a8a29a;
}

/* 交付物发放状态：未发放要显眼，运营一眼扫出哪几张单还没给提示词包 */
.br-user-sub.is-todo {
    color: #B45309;
}

.br-user-sub.is-ok {
    color: #2E8B57;
}

.br-subject {
    line-height: 1.55;
    word-break: break-all;
}

.br-time {
    font-size: 12px;
    color: #6b665e;
    white-space: nowrap;
}

.br-empty {
    text-align: center;
    color: #a8a29a;
    padding: 40px 0 !important;
}

/* 状态标签 */
.br-chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.br-chip--pending {
    color: #b8860b;
    background: rgba(212, 160, 23, 0.12);
}

.br-chip--processing {
    color: #185fa5;
    background: rgba(24, 95, 165, 0.10);
}

.br-chip--done {
    color: #2e8b57;
    background: rgba(46, 139, 87, 0.10);
}

.br-chip--rejected {
    color: #8a8680;
    background: #f0eee9;
}

/* 分页 */
.br-pager {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.br-pager-info {
    margin-right: auto;
    font-size: 12px;
    color: #8a8680;
}

/* 弹窗 */
.br-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.br-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
}

.br-modal-box {
    position: relative;
    width: 620px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 80px);
    background: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.br-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #f0eee9;
    font-size: 15px;
    font-weight: 500;
}

.br-modal-close {
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #a8a29a;
}

.br-modal-body {
    padding: 16px 18px;
    overflow-y: auto;
}

.br-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid #f0eee9;
    background: #fcfcfa;
}

.br-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.br-field > label {
    width: 78px;
    flex-shrink: 0;
    font-size: 13px;
    color: #8a8680;
    line-height: 1.7;
}

.br-field > div,
.br-field > select,
.br-field > textarea {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #1a1a1a;
    word-break: break-all;
}

.br-pre {
    white-space: pre-wrap;
    background: #faf8f4;
    border-radius: 8px;
    padding: 8px 10px;
}
