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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 800px;
}

/* 投诉须知弹窗样式 */
.notice-modal {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

/* 页面标题样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header h1 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999999;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background-color: #f0f0f0;
}

/* 投诉须知内容样式 */
.notice-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.notice-text {
    line-height: 1.8;
    color: #333333;
}

.notice-text p {
    font-size: 15px;
    margin-bottom: 16px;
    text-align: justify;
}

.notice-text ol {
    margin-bottom: 16px;
    padding-left: 20px;
}

.notice-text ol li {
    font-size: 15px;
    margin-bottom: 12px;
    text-align: justify;
}

.notice-text ol ol {
    margin-top: 8px;
    margin-bottom: 8px;
}

.notice-text ol ol li {
    font-size: 14px;
    margin-bottom: 8px;
    color: #555555;
}

/* 底部样式 */
.footer {
    padding: 20px 24px;
    text-align: center;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.confirm-btn {
    background-color: #007aff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.confirm-btn:hover {
    background-color: #0056cc;
}

.confirm-btn:active {
    background-color: #004499;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        /* margin: 0 16px; */
    }
    
    .notice-modal {
        max-height: 95vh;
        border-radius: 8px;
    }
    
    .header {
        padding: 16px 20px;
    }
    
    .header h1 {
        font-size: 18px;
    }
    
    .notice-content {
        padding: 20px;
    }
    
    .notice-text p {
        font-size: 14px;
        margin-bottom: 14px;
    }
    
    .notice-text ol li {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .notice-text ol ol li {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .footer {
        padding: 16px 20px;
    }
    
    .confirm-btn {
        padding: 10px 24px;
        font-size: 15px;
    }
}

/* 滚动条样式 */
.notice-content::-webkit-scrollbar {
    width: 6px;
}

.notice-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.notice-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.notice-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 返回按钮样式 */
.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 18px;
    color: #007aff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.back-button:hover {
    background-color: rgba(0, 122, 255, 0.1);
}
