/* 页面布局 */
.content-wrapper {
    padding-top: 56px;
    background: #f5f5f5;
    min-height: 100vh;
}

/* 顶部导航 */
.navbar {
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.navbar-text {
    font-size: 16px;
    font-weight: 500;
    color: #333 !important;
    margin: 0 16px;
}

/* 搜索框 */
.search-box {
    background: white;
    padding: 16px 0;
}

.search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input i {
    position: absolute;
    left: 12px;
    color: #999;
    font-size: 16px;
}

.search-input input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 36px;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    font-size: 14px;
    background: #f5f5f5;
}

.search-input input:focus {
    outline: none;
    border-color: #1677ff;
}

/* 问题分类 */
.help-categories {
    background: white;
    padding: 24px 0;
    margin-bottom: 12px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-item {
    text-align: center;
    cursor: pointer;
}

.category-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    background: #f0f5ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 24px;
    color: #1677ff;
}

.category-name {
    font-size: 13px;
    color: #333;
}

/* 热门问题 */
.hot-questions {
    background: white;
    padding: 16px 0;
    margin-bottom: 12px;
}

.section-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 16px;
}

.question-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

.question-item:last-child {
    border-bottom: none;
}

.question-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.question-content i {
    color: #1677ff;
    font-size: 16px;
}

.question-content span {
    font-size: 14px;
    color: #333;
}

.question-item .bi-chevron-right {
    color: #ccc;
    font-size: 14px;
}

/* 联系客服 */
.contact-service {
    background: white;
    padding: 16px 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info i {
    font-size: 24px;
    color: #1677ff;
}

.contact-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.contact-desc {
    font-size: 12px;
    color: #999;
}

.contact-item .btn {
    padding: 6px 16px;
    border-radius: 16px;
}

/* 返回按钮 */
.bi-arrow-left {
    color: #333;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
}

/* 答案面板样式 */
.answer-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.question-title {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f5f5f5;
}

.question-title i {
    color: #1677ff;
    font-size: 18px;
    margin-top: 2px;
}

.question-title span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.answer-content {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.answer-content p {
    margin-bottom: 16px;
}

.answer-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.answer-content li {
    margin-bottom: 12px;
    color: #333;
}

/* 反馈区域样式 */
.feedback-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
}

.feedback-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    text-align: center;
}

.feedback-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.feedback-buttons .btn {
    min-width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.feedback-buttons .btn-outline-primary {
    border-color: #1677ff;
    color: #1677ff;
}

.feedback-buttons .btn-outline-primary:hover,
.feedback-buttons .btn-outline-primary:active {
    background-color: #1677ff;
    border-color: #1677ff;
    color: white;
}

.feedback-buttons .btn-outline-secondary {
    border-color: #d9d9d9;
    color: #666;
}

.feedback-buttons .btn-outline-secondary:hover,
.feedback-buttons .btn-outline-secondary:active {
    background-color: #f5f5f5;
    border-color: #d9d9d9;
    color: #666;
}

/* Toast提示 */
.toast-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    z-index: 1001;
    animation: fadeInOut 2s ease;
}

/* 动画效果优化 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -40%); }
    15% { opacity: 1; transform: translate(-50%, -50%); }
    85% { opacity: 1; transform: translate(-50%, -50%); }
    100% { opacity: 0; transform: translate(-50%, -60%); }
}

/* 滚动条美化 */
.modal-content::-webkit-scrollbar {
    width: 4px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

/* 模态框样式优化 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: flex-end;
    z-index: 1000;
    animation: fadeIn 0.25s ease;
}

.modal-content {
    width: 100%;
    max-height: 85vh;
    background: white;
    border-radius: 16px 16px 0 0;
    overflow-y: auto;
    transform: translateY(100%);
    animation: slideUp 0.25s ease forwards;
}

/* 模态框头部样式 */
.modal-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.modal-header .bi-x-lg {
    position: absolute;
    right: 16px;
    color: #999;
    font-size: 20px;
    padding: 8px;
    margin: -8px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
} 