@charset "utf-8";

/* ========== 投诉查询页面样式 ========== */

/* 主内容区域 */
.complaint-main {
    padding: 20px 0;
    background: #FFFFFF;
}

/* ========== 顶部功能按钮 ========== */
.complaint-btns {
    text-align: center;
}

.complaint-btn {
    display: inline-block;
    width: 220px;
    height: 60px;
    line-height: 60px;
    background: #016FFF;
    border-radius: 4px;
    font-size: 18px;
    color: #FFFFFF;
    margin: 0 10px;
    transition: background 0.3s;
}

.complaint-btn:hover {
    background: #0052CC;
    color: #FFFFFF;
}

.complaint-btn img {
    width: 33px;
    height: 31px;
    vertical-align: middle;
    margin-right: 10px;
}

/* ========== 投诉公示面板 ========== */
.complaint-panel {
    padding: 20px;
    box-sizing: border-box;
}

.panel-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    padding-left: 12px;
    border-left: 4px solid #016FFF;
    margin-bottom: 16px;
}

/* ========== 搜索条件区域 ========== */
.search-bar {
    margin-bottom: 10px;
    float: right;
}

.search-bar .search-item {
    float: left;
    margin-left: 10px;
}

.search-bar .search-item label {
    font-size: 14px;
    color: #333333;
    white-space: nowrap;
}

.search-bar .search-item select {
    height: 34px;
    border: 1px solid #DDDDDD;
    border-radius: 2px;
    font-size: 14px;
    color: #333333;
    padding: 0 8px;
    outline: none;
    min-width: 120px;
    box-sizing: border-box;
}

.search-bar .search-item input[type="text"] {
    height: 34px;
    border: 1px solid #DDDDDD;
    border-radius: 2px;
    font-size: 14px;
    color: #333333;
    padding: 0 10px;
    outline: none;
    width: 180px;
    box-sizing: border-box;
}

.search-bar .search-item input[type="text"]::placeholder {
    color: #AAAAAA;
}

.search-submit-btn {
    height: 34px;
    padding: 0 22px;
    background: #016FFF;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.3s;
    margin-left: 10px;
}

.search-submit-btn:hover {
    background: #0052CC;
}

/* ========== 数据表格 ========== */
.complaint-table {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 16px;
}

.complaint-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.complaint-table thead tr {
    background: #E5E5E5;
}

.complaint-table th {
    height: 47px;
    font-size: 16px;
    color: #333333;
    font-weight: normal;
    text-align: center;
    border: 1px solid #E8E8E8;
    padding: 0 8px;
    box-sizing: border-box;
}

.complaint-table tbody tr {
    border-bottom: 1px solid #E8E8E8;
}

.complaint-table tbody tr:hover {
    background: rgba(113,163,255,0.3);
}

.complaint-table td {
    height: 47px;
    font-size: 16px;
    color: #99a1a4;
    text-align: center;
    border: 1px solid #E8E8E8;
    padding: 0 8px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* 查看链接 */
.view-link {
    color: #1890FF;
    font-size: 16px;
}

.view-link:hover {
    color: #0052CC;
    text-decoration: underline;
}

.view-link.view-link--disabled {
    color: #bfbfbf;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}

.view-link.view-link--disabled:hover {
    color: #bfbfbf;
    text-decoration: none;
}

.complaint-btn.active {
    background: #0052CC;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding-top: 10px;
}

.page-info {
    font-size: 14px;
    color: #666666;
    margin-right: 6px;
}

.page-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    padding: 0 10px;
    border: 1px solid #DDDDDD;
    border-radius: 2px;
    font-size: 13px;
    color: #333333;
    background: #FFFFFF;
    transition: all 0.2s;
}

.page-btn:hover {
    border-color: #016FFF;
    color: #016FFF;
}

.page-input {
    width: 40px;
    height: 28px;
    border: 1px solid #DDDDDD;
    border-radius: 2px;
    text-align: center;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

/* ========== 投诉查询弹窗 ========== */
.ts-modal-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
}

.ts-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width:1000px;
    background: #FFFFFF;
    border-radius: 2px;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    min-height: 300px;
}

/* 弹窗头部 */
.ts-modal-header {
    height: 44px;
    line-height: 44px;
    background: #016FFF;
    padding: 0 16px;
    border-radius: 2px 2px 0 0;
}

.ts-modal-title {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: bold;
    float: left;
}

.ts-modal-close {
    float: right;
    font-size: 22px;
    color: #FFFFFF;
    cursor: pointer;
    line-height: 44px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.ts-modal-close:hover {
    opacity: 1;
}

/* 弹窗主体 */
.ts-modal-body {
    padding: 20px 24px 30px;
}

/* 温馨提示栏 */
.ts-modal-tip {
    background: rgba(230, 173, 0, 0.2);
    font-size: 14px;
    color: #555555;
    height: 30px;
    line-height: 30px;
    margin-bottom: 20px;
}


/* 查询输入行 */
.ts-modal-search {
    margin-bottom: 16px;
    line-height: 36px;
    margin-left: 120px;
}

.ts-search-label {
    float: left;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
    line-height: 36px;
    margin-right: 6px;
}

.ts-search-input {
    float: left;
    width: 560px;
    height: 36px;
    border: 1px solid #D2D2D2;
    border-radius: 2px 0 0 2px;
    padding: 0 12px;
    font-size: 14px;
    color: #333333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.ts-search-input:focus {
    border-color: #016FFF;
}

.ts-search-input::placeholder {
    color: #AAAAAA;
    font-size: 13px;
}

.ts-search-btn {
    float: left;
    width: 68px;
    height: 36px;
    background: #016FFF;
    border: none;
    border-radius: 0 2px 2px 0;
    font-size: 14px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
}

.ts-search-btn:hover {
    background: #0052CC;
}

/* 暂无数据 */
.ts-empty {
    text-align: center;
    padding: 30px 0 20px;
}

.ts-empty img {
    width: 64px;
    height: 64px;
    opacity: 0.45;
    display: block;
    margin: 0 auto 10px;
}

.ts-empty p {
    font-size: 14px;
    color: #AAAAAA;
}

/* 结果表格 */
.ts-table-wrap {
    overflow-x: auto;
    margin-top: 4px;
}

.ts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ts-table th,
.ts-table td {
    border: 1px solid #E8E8E8;
    padding: 10px 8px;
    text-align: center;
    color: #444444;
    white-space: nowrap;
}

.ts-table thead th {
    background: #F5F6F9;
    font-weight: normal;
    color: #666666;
}

/* Layui 分页容器（投诉公示） */
.complaint-pagination-wrap {
    text-align: right;
    padding-top: 10px;
    min-height: 40px;
}

.download-link {
    color: #1890FF;
    font-size: 16px;
}

.download-link:hover {
    color: #0052CC;
    text-decoration: underline;
}