/**
 * 49图库v3.0 样式表
 */

/* 全局样式 */
body {
    background-color: #f8f9fa;
    color: #333;
}

/* 导航栏 */
.navbar-brand {
    font-weight: bold;
}

/* 卡片样式 */
.card {
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* 主题列表 */
.topic-item {
    transition: background-color 0.2s;
}

.topic-item:hover {
    background-color: #f8f9fa;
}

/* 回复内容 */
.topic-content, .post-content {
    line-height: 1.6;
    word-break: break-word;
}

/* 引用样式 */
blockquote {
    border-left: 3px solid #dee2e6;
    padding-left: 15px;
    color: #6c757d;
    margin: 10px 0;
}

/* 分页导航 */
.pagination {
    justify-content: center;
}

/* 页脚 */
footer {
    margin-top: 30px;
    padding: 20px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* 用户头像 */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-lg {
    width: 100px;
    height: 100px;
}

/* 徽章 */
.badge {
    font-weight: normal;
}

/* 搜索高亮 */
mark {
    padding: 0;
    background-color: #fff3cd;
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .hide-on-mobile {
        display: none;
    }
}

/* 主题状态 */
.topic-sticky {
    background-color: #f8f9fa;
}

.topic-locked {
    opacity: 0.8;
}

/* 表单样式 */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 按钮样式 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

/* 管理员标记 */
.admin-badge {
    color: #dc3545;
}

.moderator-badge {
    color: #fd7e14;
}

/* 回复框 */
#reply-form {
    position: relative;
}

#reply-to-info {
    margin-bottom: 15px;
}

/* 加载动画 */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 300px;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

