/**
 * 投诉/举报页面样式
 * 完全匹配原始页面的视觉效果
 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #303133;
    background-color: #f5f5f5;
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
}

/* 主容器 */
#app {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.page-container {
    width: 100%;
    min-height: 100vh;
    padding-bottom: 100px;
    position: relative;
}

/* 顶部间距 */
.u-gap {
    height: 10px;
    background-color: transparent;
}

/* 投诉选项区域 */
.complaint-section {
    background-color: #fff;
    padding: 0;
}

/* 区块标题 */
.section-title {
    padding: 15px;
    font-size: 14px;
    color: #909399;
    background-color: #fff;
    font-weight: normal;
}

/* 单元格组 */
.cell-group {
    background-color: #fff;
}

/* 单元格项 */
.cell-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
}

.cell-item:active {
    background-color: #f5f5f5;
}

.cell-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.cell-title {
    font-size: 16px;
    color: #303133;
    font-weight: normal;
}

/* 右侧箭头 */
.cell-arrow {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.arrow-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #909399;
    border-right: 2px solid #909399;
    transform: rotate(45deg);
}

/* 分隔线 */
.cell-line {
    height: 1px;
    background-color: #d6d7d9;
    margin-left: 15px;
    transform: scaleY(0.5);
}

/* 投诉须知链接 */
.notice-link {
    text-align: center;
    margin-top: 51px;
    background-color: #fff;
}

.notice-link a {
    font-size: 14px;
    color: #2b85e4;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.notice-link a:hover {
    text-decoration: underline;
}

/* 二级分类页面的投诉须知链接（在cell-group内部） */
.cell-group .notice-link {
    margin-top: 0;
    padding: 20px 0;
}

.cell-group .notice-link span {
    font-size: 14px;
    color: #2b85e4;
    cursor: pointer;
    text-decoration: none;
}

.cell-group .notice-link span:hover {
    text-decoration: underline;
}

/* 底部说明文字 */
.footer-notice {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 10%;
    text-align: center;
}

.footer-notice p {
    font-size: 12px;
    color: #d9dbde;
    line-height: 1.6;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal.show {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 12px;
    width: 85%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e4e7ed;
    position: relative;
}

.modal-header h3 {
    font-size: 18px;
    color: #303133;
    font-weight: 500;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #909399;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #303133;
}

.modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.modal-body p {
    font-size: 14px;
    color: #606266;
    line-height: 1.8;
    margin-bottom: 12px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e4e7ed;
}

.modal-btn {
    width: 100%;
    padding: 12px;
    background-color: #2b85e4;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-btn:hover {
    background-color: #1f6ec4;
}

.modal-btn:active {
    background-color: #1a5da8;
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    .page-container {
        padding-bottom: 120px;
    }

    .section-title {
        padding: 12px 15px;
        font-size: 13px;
    }

    .cell-item {
        padding: 12px 15px;
    }

    .cell-title {
        font-size: 15px;
    }

    .footer-notice {
        bottom: 15px;
        padding: 0 8%;
    }

    .footer-notice p {
        font-size: 11px;
    }

    .modal-content {
        width: 90%;
    }

    .modal-header h3 {
        font-size: 16px;
    }

    .modal-body {
        max-height: 300px;
    }

    .modal-body p {
        font-size: 13px;
    }
}

/* 响应式设计 - 桌面端 */
@media (min-width: 769px) {
    .page-container {
        max-width: 600px;
        margin: 0 auto;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .complaint-section {
        border-radius: 8px;
        overflow: hidden;
    }
}

