/* ============================================================================
   系统设置模块样式 (System Setting Module)
   ============================================================================ */

/* 系统主题色 */
.bg-system {
    background-color: #4e73df;
}

.btn-system {
    background-color: #4e73df;
    color: white;
}

.btn-system:hover {
    background-color: #3a56c0;
    color: white;
}

.btn-outline-system {
    border-color: #4e73df;
    color: #4e73df;
}

.btn-outline-system:hover {
    background-color: #4e73df;
    color: white;
}

.btn-system-danger {
    background-color: #e74a3b;
    color: white;
}

.alert-system {
    background-color: #f8f9fc;
    border-left: 4px solid #4e73df;
}

/* 导航栏 */
.nav-pills .nav-link.active {
    background-color: #f8f9fc;
    color: #4e73df;
    border-left: 3px solid #4e73df;
    font-weight: 600;
}

/* 确认面板 */
.confirmation-panel {
    background-color: #f8f9fa;
    padding: 1.25rem;
    border-radius: 0.35rem;
}

.price-adjustment-highlight {
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 15px;
    border-radius: 4px;
    margin: 10px 0;
}

.adjustment-header {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 12px;
    color: #333;
}

.adjustment-row {
    display: flex;
    margin: 10px 0;
    align-items: flex-start;
}

.adjustment-label {
    width: 80px;
    flex-shrink: 0;
    color: #666;
}

.adjustment-values {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.adjustment-value {
    font-weight: 500;
}

.adjustment-items {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adjustment-item {
    font-weight: bold;
    color: #0a58ca;
}

.adjustment-connector {
    color: #666;
}

.channel-table-wrapper {
    max-height: 360px;
    overflow-y: auto;
}

.channel-description-editor {
    background-color: #fdfefe;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.05);
}

.channel-description-label {
    font-size: 0.85rem;
    letter-spacing: 0.04rem;
}

.channel-description-group .description-bracket {
    background-color: #f1f5ff;
    color: #3066d6;
    font-weight: 600;
}

.channel-description-group .channel-description-fixed {
    background-color: #f8f9fb;
    font-size: 0.82rem;
    white-space: nowrap;
    color: #495057;
}

.channel-description-group input {
    min-width: 180px;
}

.channel-description-preview .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, rgba(13,110,253,0.08), rgba(13,110,253,0.15));
    border-color: rgba(13,110,253,0.35);
}

.channel-table th,
.channel-table td {
    font-size: 0.85rem;
}

.channel-table .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
}

.channel-table .channel-actions {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    min-width: 110px;
}

.channel-table .channel-action-btn {
    white-space: nowrap;
    min-width: 62px;
    font-size: 0.78rem;
    padding: 0.25rem 0.55rem;
}

.channel-pagination-bar {
    background-color: #f8f9fa;
    border-radius: 0.35rem;
    padding: 0.5rem 0.75rem;
}

.channel-pagination-bar .channel-page-size label {
    min-width: 32px;
}

.channel-pagination-bar .channel-page-size select {
    width: 90px;
}

.channel-pagination-bar .btn {
    min-width: 70px;
}

.btn-check:checked + .btn {
    background-color: #0d6efd;
    color: white;
    box-shadow: 0 0.2rem 0.5rem rgba(13, 110, 253, 0.3);
    position: relative;
}

.btn-check:checked + .btn::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: indianred;
    border-radius: 3px;
    animation: underline 0.3s ease-out;
}

.confirmation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.confirmation-list li {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.confirmation-list li:last-child {
    border-bottom: none;
}

.confirmation-list .label {
    width: 100px;
    color: #6c757d;
    font-weight: 500;
    flex-shrink: 0;
}

.confirmation-list .value {
    flex-grow: 1;
    word-break: break-word;
}

.amount-value {
    color: #d63351;
    font-weight: bold;
    font-size: 0.8em;
}

#costPaymentConfirmModal .modal-header {
    border-bottom: 1px solid #dee2e6;
}

#costPaymentConfirmModal .modal-footer {
    border-top: 1px solid #dee2e6;
}

