/* 库存查询页面样式 */

/* 库存查询页面容器 */
.inventory-query-container {
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

/* 主要内容区域 */
.inventory-query-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

/* 搜索区域 */
.inventory-query-search-area {
    background: #ffffff;
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.inventory-query-search-form {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.inventory-query-search-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    flex: 1;
}

.inventory-query-search-label {
    font-size: 13px;
    font-weight: 500;
    color: #1d2129;
    white-space: nowrap;
    line-height: 1.2;
}

/* 组合搜索框样式 */
.inventory-query-search-item .inventory-query-search-combined {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e5e6eb;
    width: 100%;
    min-width: 200px;
}

.inventory-query-search-item .inventory-query-search-type {
    width: 100px;
    height: 36px;
    border: none;
    border-right: 1px solid #e5e6eb;
    border-radius: 0;
    padding: 0 12px;
    cursor: pointer;
    margin: 0;
}

.inventory-query-search-item .inventory-query-search-value {
    flex: 1;
    border: none;
    border-radius: 0;
    height: 36px;
    background: #ffffff;
    padding: 0 12px;
    margin: 0;
}

.inventory-query-search-input:not(.search-value),
.inventory-query-search-select:not(.search-type) {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    vertical-align: middle;
}

/* 列表区域样式 */
.inventory-query-list {
    height: calc(100vh - 300px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e5e6eb;
    overflow: hidden;
}

/* 列表头部样式 */
.inventory-query-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.inventory-query-title {
    font-size: 16px;
    font-weight: 500;
    color: #303133;
    margin: 0;
}

.inventory-query-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.inventory-query-btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f5f5f5;
    color: #4e5969;
    border: 1px solid #d9d9d9;
}

.inventory-query-btn:hover {
    background-color: #e6e6e6;
}

.inventory-query-search-input:focus,
.inventory-query-search-select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* 表格区域 */
.inventory-query-table-container {
    background: #ffffff;
    overflow: auto;
    flex: 1;
}

.inventory-query-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.5;
}

.inventory-query-data-table th {
    background-color: #f7f8fa;
    color: #1d2129;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e6eb;
    white-space: nowrap;
    line-height: 1.5;
    vertical-align: middle;
}

.inventory-query-data-table td {
    color: #4d5156;
    padding: 6px 16px;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
    vertical-align: middle;
}

.inventory-query-data-table tbody tr:hover {
    background-color: #f7f8fa;
}

.inventory-query-data-table tbody tr:last-child td {
    border-bottom: none;
}

/* 库存数量相关列居中显示 */
.inventory-query-data-table th:nth-child(7),
.inventory-query-data-table td:nth-child(7),
.inventory-query-data-table th:nth-child(8),
.inventory-query-data-table td:nth-child(8),
.inventory-query-data-table th:nth-child(9),
.inventory-query-data-table td:nth-child(9),
.inventory-query-data-table th:nth-child(10),
.inventory-query-data-table td:nth-child(10),
.inventory-query-data-table th:nth-child(11),
.inventory-query-data-table td:nth-child(11),
.inventory-query-data-table th:nth-child(12),
.inventory-query-data-table td:nth-child(12) {
    text-align: center;
}

/* 状态标签样式 */
.inventory-query-status-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    vertical-align: middle;
}

.inventory-query-status-normal {
    background-color: #eef9f0;
    color: #2d9e45;
}

.inventory-query-status-warning {
    background-color: #fef9e7;
    color: #e37415;
}

.inventory-query-status-shortage {
    background-color: #fdeef0;
    color: #d54941;
}

/* 表格操作按钮 */
.inventory-query-action-btn {
    margin-right: 8px;
    color: #1976d2;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
    padding: 0;
}

.inventory-query-action-btn:hover {
    text-decoration: underline;
}

.inventory-query-action-btn:last-child {
    margin-right: 0;
}

/* 锁定按钮样式 */
.inventory-query-lock-btn {
    color: #d54941;
}

.inventory-query-lock-btn:hover {
    color: #b3361a;
}

/* 记录按钮样式 */
.inventory-query-record-btn {
    color: #2d9e45;
}

.inventory-query-record-btn:hover {
    color: #237a32;
}

.inventory-query-action-btn.danger {
    color: #d54941;
}

/* 分页区域 */
.inventory-query-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid #e5e6eb;
    background: #f8f9fa;
}

.inventory-query-pagination-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.inventory-query-pagination-info {
    font-size: 14px;
    color: #4d5156;
}

.inventory-query-pagination-btn {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    background-color: #ffffff;
    color: #4d5156;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inventory-query-pagination-btn:hover:not(:disabled) {
    border-color: #1976d2;
    color: #1976d2;
}

.inventory-query-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.inventory-query-page-size {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4d5156;
}

.inventory-query-page-size-select {
    padding: 4px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

/* 货主选择框样式 */
.inventory-query-search-item .inventory-query-owner-select-container {
    width: 100%;
    position: relative;
}

.inventory-query-search-item .inventory-query-owner-select-input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    padding-right: 35px;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #333;
}

.inventory-query-search-item .inventory-query-owner-select-input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.inventory-query-search-item .inventory-query-dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #86909c;
    pointer-events: none;
}

.inventory-query-search-item .inventory-query-owner-clear-btn {
    display: none;
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.inventory-query-search-item .inventory-query-owner-clear-btn:hover {
    background-color: #e0e0e0;
}

/* 图标样式 */
.inventory-query-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: text-bottom;
}

/* 展开/折叠功能样式 - 参考批次管理样式 */
.inventory-query-data-table .inventory-query-expand-cell {
    width: 40px;
    text-align: center;
    line-height: 1;
}

.inventory-query-expand-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.inventory-query-expand-btn:hover:not(.disabled) {
    background-color: #f0f0f0;
}

.inventory-query-expand-btn.expanded {
    background-color: #e6f7ff;
}

.inventory-query-expand-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.inventory-query-expand-btn svg {
    width: 16px;
    height: 16px;
    fill: #666;
    transition: transform 0.3s ease;
}

.inventory-query-expand-btn:hover svg {
    fill: #1890ff;
}

.inventory-query-expand-btn.expanded svg {
    fill: #1890ff;
    transform: rotate(90deg);
}

.inventory-query-data-table .detail-row {
    background-color: #fafafa;
    border-left: 3px solid #1890ff;
}

.inventory-query-data-table .detail-row.expanding {
    animation: expandAnimation 0.3s ease-out forwards;
    overflow: hidden;
    max-height: 500px;
}

.inventory-query-data-table .detail-row.collapsing {
    animation: collapseAnimation 0.3s ease-out forwards;
    overflow: hidden;
    max-height: 500px;
}

@keyframes expandAnimation {
    0% {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

@keyframes collapseAnimation {
    0% {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
}

.inventory-query-data-table .detail-cell {
    padding: 0;
    vertical-align: top;
}

.inventory-query-distribution-container {
    padding: 16px;
    background: white;
    margin: 8px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.inventory-query-distribution-header {
    font-size: 14px;
    font-weight: 500;
    color: #1d2129;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e6eb;
}

.inventory-query-distribution-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.inventory-query-distribution-table th {
    background-color: #f0f2f5;
    color: #1d2129;
    font-weight: 500;
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e6eb;
}

.inventory-query-distribution-table td {
    color: #4d5156;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.inventory-query-distribution-table tbody tr:hover {
    background-color: #f5f5f5;
}

/* 二级表格 - 在库天数列居中 */
.inventory-query-distribution-table th:nth-child(13),
.inventory-query-distribution-table td:nth-child(13) {
    text-align: center;
}

.inventory-query-no-distribution {
    text-align: center;
    color: #86909c;
    font-size: 13px;
    padding: 20px;
}

/* 库存记录弹窗样式 */
.inventory-query-records-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inventory-query-records-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.inventory-query-records-container {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 1200px;
    height: 1000px; /* 增加高度到1000px */
    display: flex;
    flex-direction: column;
}

.inventory-query-records-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
}

.inventory-query-records-title {
    font-size: 18px;
    font-weight: 600;
    color: #262626;
}

.inventory-query-records-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #8c8c8c;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.inventory-query-records-close:hover {
    background-color: #f5f5f5;
    color: #262626;
}

.inventory-query-records-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.inventory-query-records-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #fafafa;
    border-radius: 6px;
}

.inventory-query-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inventory-query-summary-label {
    font-size: 14px;
    color: #8c8c8c;
}

.inventory-query-summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #262626;
}

.inventory-query-records-table {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.inventory-query-records-data-table {
    width: 100%;
    border-collapse: collapse;
}

.inventory-query-records-data-table th {
    background: #f5f5f5;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #262626;
    font-size: 14px;
    border-bottom: 1px solid #e5e5e5;
}

.inventory-query-records-data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.inventory-query-records-data-table tr:last-child td {
    border-bottom: none;
}

.inventory-query-record-type {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.inventory-query-record-type.in {
    background-color: #e8f5e8;
    color: #52c41a;
}

.inventory-query-record-type.out {
    background-color: #fff2f0;
    color: #ff4d4f;
}

.inventory-query-record-quantity.in {
    color: #52c41a;
    font-weight: 600;
}

.inventory-query-record-quantity.out {
    color: #ff4d4f;
    font-weight: 600;
}

.inventory-query-records-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e5e5;
    text-align: right;
}

.inventory-query-records-btn {
    padding: 8px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: white;
    color: #262626;
    cursor: pointer;
    font-size: 14px;
}

.inventory-query-records-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}

/* 库存记录分页样式 */
.inventory-query-records-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.inventory-query-records-pagination-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4d5156;
}

#inventoryQueryRecordsPageInfo {
    font-weight: 500;
    color: #1d2129;
}

.inventory-query-records-total-info {
    color: #86909c;
}

.inventory-query-records-pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inventory-query-records-pagination-btn {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: white;
    color: #4d5156;
    cursor: pointer;
    font-size: 14px;
}

.inventory-query-records-pagination-btn:hover:not(:disabled) {
    border-color: #1976d2;
    color: #1976d2;
}

.inventory-query-records-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.inventory-query-records-page-size {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4d5156;
}

.inventory-query-records-page-size-select {
    padding: 4px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
}

/* 库存锁定弹窗样式 */
.inventory-query-lock-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inventory-query-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.inventory-query-lock-container {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.inventory-query-lock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
}

.inventory-query-lock-title {
    font-size: 18px;
    font-weight: 600;
    color: #262626;
}

.inventory-query-lock-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #8c8c8c;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.inventory-query-lock-close:hover {
    background-color: #f5f5f5;
    color: #262626;
}

.inventory-query-lock-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.inventory-query-info-section {
    margin-bottom: 24px;
    padding: 16px;
    background: #fafafa;
    border-radius: 6px;
}

.inventory-query-info-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 12px;
}

.inventory-query-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.inventory-query-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inventory-query-info-label {
    font-size: 13px;
    color: #86909c;
}

.inventory-query-info-value {
    font-size: 14px;
    font-weight: 500;
    color: #1d2129;
}

.inventory-query-lock-form-section {
    margin-bottom: 24px;
}

.inventory-query-lock-form-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 16px;
}

.inventory-query-lock-form-item {
    margin-bottom: 20px;
}

.inventory-query-lock-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1d2129;
    margin-bottom: 8px;
}

.inventory-query-lock-form-label .required {
    color: #d54941;
    margin-left: 4px;
}

.inventory-query-lock-reason-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.inventory-query-lock-reason-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inventory-query-lock-reason-option:hover {
    border-color: #1976d2;
    background-color: #f5f9ff;
}

.inventory-query-lock-reason-option.selected {
    border-color: #1976d2;
    background-color: #e6f7ff;
}

.inventory-query-lock-reason-option input[type="radio"] {
    margin-right: 8px;
}

.inventory-query-lock-reason-text {
    font-size: 14px;
    color: #1d2129;
}

.inventory-query-lock-quantity-input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.inventory-query-lock-quantity-input:focus {
    border-color: #1976d2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.inventory-query-lock-quantity-info {
    margin-top: 8px;
    font-size: 13px;
    color: #86909c;
}

.inventory-query-lock-remark-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    transition: all 0.2s ease;
}

.inventory-query-lock-remark-textarea:focus {
    border-color: #1976d2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.inventory-query-lock-remark-textarea.required {
    border-color: #d54941;
}

.inventory-query-lock-remark-textarea.required:focus {
    box-shadow: 0 0 0 2px rgba(213, 73, 65, 0.2);
}

.inventory-query-lock-remark-counter {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    font-size: 13px;
    color: #86909c;
}

.inventory-query-lock-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 24px;
    border-top: 1px solid #e5e5e5;
    gap: 12px;
}

.inventory-query-lock-btn {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inventory-query-lock-btn-cancel {
    background: white;
    color: #4d5156;
    border: 1px solid #d9d9d9;
}

.inventory-query-lock-btn-cancel:hover {
    border-color: #1976d2;
    color: #1976d2;
}

.inventory-query-lock-btn-confirm {
    background: #1976d2;
    color: white;
    border: 1px solid #1976d2;
}

.inventory-query-lock-btn-confirm:hover {
    background: #1565c0;
}

.inventory-query-lock-btn-confirm:disabled {
    background: #a0a0a0;
    border-color: #a0a0a0;
    cursor: not-allowed;
}

/* 库位选择区域样式 */
.inventory-query-location-selection-section {
    margin-bottom: 24px;
}

.inventory-query-location-selection-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 16px;
}

.inventory-query-location-list {
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    overflow: hidden;
}

.inventory-query-location-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.inventory-query-location-item:last-child {
    border-bottom: none;
}

.inventory-query-location-item:hover {
    background-color: #f7f8fa;
}

.inventory-query-location-item.selected {
    background-color: #e6f7ff;
}

.inventory-query-location-item.disabled {
    background-color: #f5f5f5;
    opacity: 0.7;
}

.inventory-query-location-item.disabled .inventory-query-location-info {
    color: #999;
}

.inventory-query-location-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    cursor: pointer;
}

.inventory-query-location-checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.inventory-query-location-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.inventory-query-location-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inventory-query-location-info-label {
    font-size: 12px;
    color: #86909c;
}

.inventory-query-location-info-value {
    font-size: 14px;
    color: #1d2129;
    font-weight: 500;
}

.inventory-query-location-lock-quantity {
    width: 120px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
}

.inventory-query-location-lock-quantity:focus {
    border-color: #1976d2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.inventory-query-location-lock-quantity:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.inventory-query-location-total-info {
    margin-top: 16px;
    padding: 12px 16px;
    background-color: #f0f2f5;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inventory-query-location-total-label {
    font-size: 14px;
    color: #4d5156;
}

.inventory-query-location-total-value {
    font-size: 16px;
    font-weight: 600;
    color: #1976d2;
}

/* 占用库存链接样式 - 使其可点击 */
.inventory-query-data-table .inv-occupancy-link {
    color: #fa8c16;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
    line-height: 1.5;
    vertical-align: middle;
}

.inventory-query-data-table .inv-occupancy-link:hover {
    background-color: rgba(250, 140, 22, 0.1);
    text-decoration: underline;
}

.inventory-query-data-table .inv-occupancy-link:active {
    background-color: rgba(250, 140, 22, 0.2);
}

