/* 异常出库单页面样式 - 复制自出库发货单页面并添加exception-outbound前缀 */
.exception-outbound-card {
    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;
}

/* 搜索区域样式 */
.exception-outbound-search-form {
    background: #ffffff;
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 组合搜索框样式 */
.exception-outbound-search-field .exception-outbound-search-combined {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e5e6eb;
    width: 100%;
    min-width: 200px;
}

.exception-outbound-search-field .exception-outbound-search-type {
    width: 100px;
    height: 36px;
    border: none;
    border-right: 1px solid #e5e6eb;
    border-radius: 0;
    padding: 0 12px;
    cursor: pointer;
    margin: 0;
    background-color: #ffffff;
}

.exception-outbound-search-field .exception-outbound-search-value {
    flex: 1;
    border: none;
    border-radius: 0;
    height: 36px;
    background: #ffffff;
    padding: 0 12px;
    margin: 0;
}

.exception-outbound-search-field .exception-outbound-search-type:focus,
.exception-outbound-search-field .exception-outbound-search-value:focus {
    outline: none;
    border-color: #0052d9;
    box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.1);
}

.exception-outbound-search-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.exception-outbound-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.exception-outbound-search-label {
    font-size: 13px;
    font-weight: 500;
    color: #1d2129;
    min-width: 80px;
}

.exception-outbound-search-input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    vertical-align: middle;
    box-sizing: border-box;
}

.exception-outbound-search-select {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    vertical-align: middle;
    box-sizing: border-box;
}

/* 多选下拉框样式 */
.exception-outbound-search-select[multiple] {
    height: auto;
    min-height: 36px;
    max-height: 120px;
    overflow-y: auto;
    padding: 4px;
}

.exception-outbound-search-select[multiple] option {
    padding: 6px 8px;
    border-radius: 2px;
    margin: 2px 0;
    cursor: pointer;
}

.exception-outbound-search-select[multiple] option:checked {
    background: linear-gradient(#1890ff, #1890ff);
    color: #fff;
    font-weight: 500;
}

.exception-outbound-search-select[multiple] option:hover {
    background-color: #f0f5ff;
}

/* 自定义多选下拉框 */
.exception-outbound-multi-select {
    position: relative;
    width: 100%;
}

/* 订单操作工具栏 - 覆盖式设计 */
.exception-outbound-overlay-toolbar {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(135deg, #0052d9 0%, #3f87ff 100%);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 8px rgba(0, 82, 217, 0.2);
    z-index: 100;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.3s ease-in-out,
                box-shadow 0.3s ease;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-direction: row;
}

/* 确保工具栏显示时正确显示 */
.exception-outbound-overlay-toolbar.exception-outbound-toolbar-show {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 82, 217, 0.3);
}

/* 工具栏隐藏时的动画 */
.exception-outbound-overlay-toolbar.exception-outbound-hiding {
    transform: translateY(-20px);
    opacity: 0;
    box-shadow: 0 1px 4px rgba(0, 82, 217, 0.1);
}

/* 初始状态下工具栏完全隐藏 */
.exception-outbound-overlay-toolbar:not(.exception-outbound-toolbar-show):not(.exception-outbound-hiding) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}

.exception-outbound-overlay-toolbar.exception-outbound-toolbar-show {
    transform: translateY(0);
}

.exception-outbound-header {
    position: relative;
    transition: all 0.3s ease;
    overflow: visible;
}

/* 工具栏相关样式 - 添加前缀 */
.exception-outbound-toolbar-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.exception-outbound-toolbar-counter {
    color: white;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.exception-outbound-toolbar-counter span {
    font-weight: 700;
    font-size: 18px;
    margin-left: 4px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2px 8px;
    margin-left: 8px;
}

.exception-outbound-toolbar-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exception-outbound-toolbar-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.exception-outbound-toolbar-close-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.exception-outbound-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.exception-outbound-toolbar-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    outline: none;
    white-space: nowrap;
}

.exception-outbound-toolbar-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.exception-outbound-toolbar-action-btn.exception-outbound-primary {
    background-color: rgba(255, 255, 255, 0.9);
    color: #0052d9;
}

.exception-outbound-toolbar-action-btn.exception-outbound-primary:hover {
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.exception-outbound-toolbar-btn-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.exception-outbound-toolbar-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

/* 多选下拉框样式 - 添加前缀 */
.exception-outbound-multi-select-display {
    min-height: 36px;
    padding: 4px 32px 4px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.exception-outbound-multi-select-display:hover {
    border-color: #c9cdd4;
}

.exception-outbound-multi-select-placeholder {
    color: #86909c;
    font-size: 13px;
    user-select: none;
}

.exception-outbound-multi-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    color: #86909c;
    pointer-events: none;
}

.exception-outbound-multi-select-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background-color: #e8f4ff;
    color: #1890ff;
    border-radius: 2px;
    font-size: 12px;
    line-height: 20px;
}

.exception-outbound-tag-close {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: #1890ff;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.exception-outbound-tag-close:hover {
    opacity: 1;
}

.exception-outbound-multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
}

.exception-outbound-multi-select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    user-select: none;
}

.exception-outbound-multi-select-option:hover {
    background-color: #f5f7fa;
}

.exception-outbound-multi-select-option input[type="checkbox"] {
    cursor: pointer;
    margin: 0;
}

.exception-outbound-multi-select-option span {
    font-size: 13px;
    color: #1d2129;
}

.exception-outbound-search-input[type="date"] {
    padding: 0 8px;
    min-width: 120px;
}

.exception-outbound-search-input:focus,
.exception-outbound-search-select:focus {
    outline: none;
    border-color: #0052d9;
    box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.1);
}

.exception-outbound-search-input:hover,
.exception-outbound-search-select:hover {
    border-color: #c9cdd4;
}

/* 列表区域样式 */
.exception-outbound-list {
    height: calc(100vh - 300px);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.exception-outbound-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.exception-outbound-title {
    font-size: 16px;
    font-weight: 500;
    color: #303133;
}

.exception-outbound-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.exception-outbound-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;
}

.exception-outbound-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.exception-outbound-btn:hover {
    background-color: #e6e6e6;
}

/* 表格样式 */
.exception-outbound-table-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    min-height: 0;
}

.exception-outbound-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    min-width: 1900px;
}

/* 操作列样式 */
.exception-outbound-table th:nth-child(19),
.exception-outbound-table td:nth-child(19) {
    width: 100px;
    text-align: center;
    white-space: nowrap;
}

/* 详情按钮样式 */
.exception-outbound-detail-btn {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background-color: #1890ff;
    color: white;
}

.exception-outbound-detail-btn:hover {
    background-color: #40a9ff;
}

.exception-outbound-table th,
.exception-outbound-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #ebeef5;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.exception-outbound-table th {
    background-color: #f5f7fa;
    font-weight: 500;
    color: #303133;
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid #ebeef5;
}

.exception-outbound-table tbody tr {
    cursor: pointer;
}

.exception-outbound-table tbody tr:hover {
    background-color: #f5f7fa;
}

/* 选择框列样式 */
.exception-outbound-table th:nth-child(1),
.exception-outbound-table td:nth-child(1) {
    width: 40px;
    text-align: center;
}

/* 展开按钮列样式 */
.exception-outbound-table th:nth-child(2),
.exception-outbound-table td:nth-child(2) {
    width: 40px;
    text-align: center;
}

/* 拆分原因列左对齐 */
.exception-outbound-table th:nth-child(10),
.exception-outbound-table td:nth-child(10) {
    text-align: left;
}

/* 异常原因列左对齐 */
.exception-outbound-table th:nth-child(15),
.exception-outbound-table td:nth-child(15) {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

/* 出库单号、来源单号列宽度 */
.exception-outbound-table th:nth-child(3),
.exception-outbound-table td:nth-child(3),
.exception-outbound-table th:nth-child(4),
.exception-outbound-table td:nth-child(4) {
    min-width: 120px;
}

/* 货主名称、店铺名称列宽度 */
.exception-outbound-table th:nth-child(5),
.exception-outbound-table td:nth-child(5),
.exception-outbound-table th:nth-child(6),
.exception-outbound-table td:nth-child(6) {
    min-width: 150px;
}

/* 是否拆分、SKU数量、货品数量、货品重量、货品体积 居中对齐 */
.exception-outbound-table th:nth-child(9),
.exception-outbound-table td:nth-child(9),
.exception-outbound-table th:nth-child(11),
.exception-outbound-table td:nth-child(11),
.exception-outbound-table th:nth-child(12),
.exception-outbound-table td:nth-child(12),
.exception-outbound-table th:nth-child(13),
.exception-outbound-table td:nth-child(13),
.exception-outbound-table th:nth-child(14),
.exception-outbound-table td:nth-child(14) {
    text-align: center;
}

/* 展开/折叠功能样式 - 参考库存查询页面 */
.exception-outbound-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;
}

.exception-outbound-expand-btn:hover:not(.exception-outbound-disabled) {
    background-color: #f0f0f0;
}

.exception-outbound-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.exception-outbound-expand-btn.exception-outbound-expanded {
    background-color: #e6f7ff;
}

.exception-outbound-expand-btn svg {
    width: 16px;
    height: 16px;
    fill: #666;
    transition: transform 0.3s ease;
}

.exception-outbound-expand-btn:hover svg {
    fill: #1890ff;
}

.exception-outbound-expand-btn.exception-outbound-expanded svg {
    fill: #1890ff;
    transform: rotate(90deg);
}

/* 主行样式 */
.exception-outbound-table .exception-outbound-main-row {
    cursor: pointer;
}

/* 展开行样式 */
.exception-outbound-table .exception-outbound-detail-row {
    background-color: #fafafa;
    border-left: 3px solid #1890ff;
    display: table-row;
}

.exception-outbound-table .exception-outbound-detail-row.exception-outbound-expanding {
    animation: exceptionOutboundExpandAnimation 0.3s ease-out forwards;
    overflow: hidden;
    max-height: 500px;
    display: table-row !important;
}

.exception-outbound-table .exception-outbound-detail-row.exception-outbound-collapsing {
    animation: exceptionOutboundCollapseAnimation 0.3s ease-out forwards;
    overflow: hidden;
    max-height: 500px;
}

@keyframes exceptionOutboundExpandAnimation {
    0% {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

@keyframes exceptionOutboundCollapseAnimation {
    0% {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
}

.exception-outbound-table .exception-outbound-detail-cell {
    padding: 0;
    vertical-align: top;
}

.exception-outbound-goods-container {
    padding: 16px;
    background: white;
    margin: 8px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.exception-outbound-goods-header {
    font-size: 14px;
    font-weight: 500;
    color: #1d2129;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e6eb;
}

.exception-outbound-goods-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: auto;
}

.exception-outbound-goods-table th {
    background-color: #f0f2f5;
    color: #1d2129;
    font-weight: 500;
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e6eb;
    white-space: nowrap;
}

/* 出库数量和指定批次居中 */
.exception-outbound-goods-table th:nth-child(3),
.exception-outbound-goods-table td:nth-child(3),
.exception-outbound-goods-table th:nth-child(4),
.exception-outbound-goods-table td:nth-child(4) {
    text-align: center;
}

/* 货品体积和货品重量居中 */
.exception-outbound-goods-table th:nth-child(8),
.exception-outbound-goods-table td:nth-child(8),
.exception-outbound-goods-table th:nth-child(9),
.exception-outbound-goods-table td:nth-child(9) {
    text-align: center;
}

/* 货品名称左对齐 */
.exception-outbound-goods-table th:nth-child(2),
.exception-outbound-goods-table td:nth-child(2) {
    text-align: left;
}

.exception-outbound-goods-table td {
    color: #4d5156;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.exception-outbound-goods-table tbody tr:hover {
    background-color: #f5f5f5;
}

/* 状态标签样式 */
.exception-outbound-status-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
}

.exception-outbound-status-pending {
    background-color: #ecf5ff;
    color: #409eff;
    border: 1px solid #d9ecff;
}

.exception-outbound-status-processing {
    background-color: #fdf6ec;
    color: #e6a23c;
    border: 1px solid #f5dab1;
}

.exception-outbound-status-completed {
    background-color: #f0f2f5;
    color: #909399;
    border: 1px solid #dcdfe6;
}

.exception-outbound-status-cancelled {
    background-color: #fef0f0;
    color: #f56c6c;
    border: 1px solid #fde2e2;
}

.exception-outbound-status-working {
    background-color: #f9f0ff;
    color: #722ed1;
    border: 1px solid #d3adf7;
}

.exception-outbound-status-exception {
    background-color: #ff0000;
    color: #ffffff;
    border: 1px solid #ff0000;
}

/* 分页样式 */
.exception-outbound-pagination {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.exception-outbound-pagination-info {
    font-size: 14px;
    color: #4b5563;
}

.exception-outbound-pagination-controls {
    display: flex;
    gap: 8px;
}

.exception-outbound-pagination-btn {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: white;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.exception-outbound-pagination-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.exception-outbound-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.exception-outbound-page-size {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #4b5563;
}

.exception-outbound-page-size-select {
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: white;
    font-size: 13px;
}

/* 无数据提示样式 */
.exception-outbound-no-data {
    text-align: center;
    color: #86909c;
    padding: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .exception-outbound-card {
        padding: 16px;
    }
    
    .exception-outbound-table {
        font-size: 12px;
    }
    
    .exception-outbound-table th,
    .exception-outbound-table td {
        padding: 8px;
    }
}

/* ==================== 异常原因修改弹窗样式 ==================== */
.exception-outbound-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.exception-outbound-modal {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 600px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    animation: exceptionOutboundModalFadeIn 0.3s ease;
}

@keyframes exceptionOutboundModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.exception-outbound-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e6eb;
}

.exception-outbound-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
    margin: 0;
}

.exception-outbound-modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #86909c;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.exception-outbound-modal-close-btn:hover {
    background: #f2f3f5;
    color: #1d2129;
}

.exception-outbound-modal-body {
    padding: 24px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.exception-outbound-message {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #1d2129;
}

.exception-outbound-order-list {
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    overflow: hidden;
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.exception-outbound-order-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e6eb;
    font-size: 13px;
}

.exception-outbound-order-item:last-child {
    border-bottom: none;
}

.exception-outbound-order-index {
    width: 28px;
    height: 28px;
    background-color: #f2f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #4e5969;
    margin-right: 10px;
    flex-shrink: 0;
}

.exception-outbound-order-number {
    font-weight: 500;
    color: #1d2129;
    margin-right: 12px;
    flex-shrink: 0;
}

.exception-outbound-order-info {
    color: #4e5969;
    flex: 1;
}

.exception-outbound-modal-info {
    background: #e8f3ff;
    border: 1px solid #adc6ff;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.exception-outbound-modal-info p {
    margin: 0;
    font-size: 14px;
    color: #1d2129;
}

.exception-outbound-modal-info strong {
    color: #165dff;
    font-weight: 600;
}

.exception-outbound-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exception-outbound-modal-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exception-outbound-modal-form-label {
    font-size: 14px;
    color: #4e5969;
    font-weight: 500;
}

.exception-outbound-modal-required {
    color: #f53f3f;
    margin-right: 4px;
}

.exception-outbound-modal-form-select {
    height: 40px;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    color: #1d2129;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.exception-outbound-modal-form-select:hover {
    border-color: #165dff;
}

.exception-outbound-modal-form-select:focus {
    outline: none;
    border-color: #165dff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.exception-outbound-modal-form-input {
    height: 40px;
    width: 100%;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    color: #1d2129;
    background: #ffffff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.exception-outbound-modal-form-input:hover {
    border-color: #165dff;
}

.exception-outbound-modal-form-input:focus {
    outline: none;
    border-color: #165dff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.exception-outbound-modal-char-count {
    text-align: right;
    font-size: 12px;
    color: #86909c;
    margin-top: 4px;
}

.exception-outbound-modal-char-count span {
    color: #165dff;
    font-weight: 600;
}

.exception-outbound-modal-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.exception-outbound-modal-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 10;
}

.exception-outbound-modal-switch-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
    pointer-events: none;
}

.exception-outbound-modal-switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.exception-outbound-modal-switch input:checked + .exception-outbound-modal-switch-slider {
    background-color: #165dff;
}

.exception-outbound-modal-switch input:checked + .exception-outbound-modal-switch-slider:before {
    transform: translateX(24px);
}

.exception-outbound-modal-hint {
    font-size: 12px;
    color: #86909c;
    margin-top: 4px;
}

.exception-outbound-modal-description {
    background: #f2f3f5;
    border-radius: 4px;
    padding: 16px;
    margin-top: 8px;
}

.exception-outbound-modal-description h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1d2129;
}

.exception-outbound-modal-description ul {
    margin: 0;
    padding-left: 20px;
}

.exception-outbound-modal-description li {
    margin-bottom: 8px;
    font-size: 13px;
    color: #4e5969;
    line-height: 1.6;
}

.exception-outbound-modal-description li:last-child {
    margin-bottom: 0;
}

.exception-outbound-modal-form-textarea {
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    color: #1d2129;
    background: #ffffff;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.exception-outbound-modal-form-textarea:hover {
    border-color: #165dff;
}

.exception-outbound-modal-form-textarea:focus {
    outline: none;
    border-color: #165dff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.exception-outbound-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e5e6eb;
}

.exception-outbound-modal-btn {
    padding: 8px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.exception-outbound-modal-cancel-btn {
    background: #f2f3f5;
    color: #4e5969;
    border: 1px solid #e5e6eb;
}

.exception-outbound-modal-cancel-btn:hover {
    background: #e5e6eb;
    color: #1d2129;
}

.exception-outbound-modal-confirm-btn {
    background: #165dff;
    color: #ffffff;
}

.exception-outbound-modal-confirm-btn:hover {
    background: #0e42d2;
}