/* 页面特定样式 - 高级筛选面板、特殊页面样式等 */

/* 高级筛选面板样式 */
#advancedFilterPanel {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#advancedFilterPanel .card-header {
    border-bottom: 2px solid #0d6efd;
}

#advancedFilterPanel .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    font-size: 14px;
}

/* 下拉筛选框样式 */
.dropdown-filter-wrapper {
    position: relative;
}

.dropdown-filter-input {
    cursor: pointer;
    background-color: white;
}

.dropdown-filter-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.dropdown-filter-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 4px;
    padding: 10px;
    max-height: 300px;
    overflow: hidden;
}

.dropdown-filter-menu.show {
    display: block;
}

.dropdown-filter-options {
    max-height: 220px;
    overflow-y: auto;
}

.dropdown-filter-option {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.dropdown-filter-option:hover {
    background-color: #f8f9fa;
}

.dropdown-filter-option.selected {
    background-color: #e7f3ff;
    color: #0d6efd;
    font-weight: 500;
}

.dropdown-filter-option input[type="checkbox"] {
    margin-right: 8px;
}

/* 选中标签样式 */
.selected-tags {
    margin-top: 8px;
    min-height: 24px;
}

.filter-tag {
    display: inline-block;
    background-color: #0d6efd;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.filter-tag .remove-tag {
    cursor: pointer;
    margin-left: 5px;
    font-weight: bold;
}

.filter-tag .remove-tag:hover {
    color: #ffdddd;
}

#filterResultText b {
    color: #0d6efd;
    font-size: 18px;
}

/* 搜索框样式 */
#advancedFilterPanel .form-control-sm {
    font-size: 13px;
    height: 32px;
}

#advancedFilterPanel input[type="text"].form-control-sm::placeholder {
    color: #adb5bd;
    font-size: 12px;
}

/* 存单系统优化样式 */
#deposit-system .nav-tabs {
    border-bottom: none;
    margin-bottom: 20px;
}

#deposit-system .nav-tabs .nav-link {
    border: none;
    background-color: transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
    margin-right: 10px;
}

#deposit-system .nav-tabs .nav-link:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

#deposit-system .nav-tabs .nav-link.active {
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 600;
}

#deposit-system .nav-tabs .nav-link i {
    margin-right: 5px;
}

/* 卡片样式优化 */
#deposit-system .card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

#deposit-system .card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

#deposit-system .card-header {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 20px;
}

#deposit-system .card-header h5 {
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

/* 表格样式优化 */
#deposit-system .table thead th {
    background-color: #f8f9fa;
    border-bottom: none;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 12px;
}

#deposit-system .table tbody td {
    vertical-align: middle;
    padding: 12px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

#deposit-system .table-hover tbody tr:hover {
    background-color: #fcfcfc;
}

/* 按钮优化 */
#deposit-system .btn {
    border-radius: 6px;
    font-weight: 500;
}

#deposit-system .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* 状态标签优化 */
#deposit-system .badge {
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 金额显示优化 */
#deposit-system .text-primary {
    color: #0d6efd !important;
    font-weight: 600;
}

#deposit-system .text-success {
    color: #198754 !important;
    font-weight: 600;
}

#deposit-system .text-danger {
    color: #dc3545 !important;
    font-weight: 600;
}

/* 搜索框组优化 */
#deposit-system .input-group-sm .form-control {
    border-radius: 6px 0 0 6px;
}

#deposit-system .input-group-sm .btn {
    border-radius: 0 6px 6px 0;
}

/* 订单选择列表优化 */
#availableOrdersList .form-check {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 8px;
    background-color: #fff;
    transition: all 0.2s;
}

#availableOrdersList .form-check:hover {
    border-color: #b6d4fe;
    background-color: #f8fbff;
}

#availableOrdersList .form-check-input:checked ~ .form-check-label {
    color: #0d6efd;
}
