/* 全局重置 - 极简基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 14px;
    color: #3A3630;
    background-color: #F9F7F4;
    line-height: 1.8;
}

/* 通用容器 - 居中+固定宽度 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 间距工具类 */
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }

/* 核心卡片组件 - 极简风格 */
.card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(122,92,67,0.08);
    padding: 20px;
    margin-bottom: 16px;
}

/* 按钮样式 - 无红色、扁平化 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #7A5C43;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: #9D8162;
}

.btn-gray {
    background-color: #E8E5E0;
    color: #3A3630;
}

.btn-gray:hover {
    background-color: #C8C5C0;
}

.btn-sm {
    padding: 4px 12px;
    font-size: 12px;
}

/* 头部导航 - 深橡木棕 */
.header {
    background-color: #7A5C43;
    padding: 15px 0;
    color: #FFFFFF;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none;
}

.logo span {
    font-size: 14px;
    font-weight: normal;
    opacity: 0.8;
    margin-left: 8px;
}

/* 导航栏 */
.nav {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E8E5E0;
    padding: 10px 0;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 4px;
}

.nav-item a {
    text-decoration: none;
    color: #3A3630;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-item a:hover, .nav-item.active a {
    background-color: #F9F7F4;
    color: #7A5C43;
}

/* 用户导航区 */
.user-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
}

.user-nav a:hover {
    text-decoration: underline;
}

.user-nav .btn {
    padding: 6px 12px;
    font-size: 13px;
}

/* 搜索框 - 极简样式 */
.search-box {
    display: flex;
    max-width: 300px;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #E8E5E0;
    border-radius: 4px 0 0 4px;
    outline: none;
    color: #3A3630;
}

.search-input:focus {
    border-color: #9D8162;
}

.search-btn {
    background-color: #9D8162;
    color: #FFFFFF;
    border: none;
    padding: 0 16px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* 标签样式 - 无红色 */
.tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 2px;
    margin-right: 6px;
    color: #FFFFFF;
}

.tag-top {
    background-color: #7A5C43;
}

.tag-essence {
    background-color: #9D8162;
}

.tag-audit {
    background-color: #C8C5C0;
    color: #3A3630;
}

/* 分页样式 - 极简 */
.pagination {
    text-align: center;
    padding: 16px 0;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #E8E5E0;
    border-radius: 4px;
    text-decoration: none;
    color: #3A3630;
    transition: background-color 0.2s;
}

.pagination a:hover {
    border-color: #9D8162;
    color: #9D8162;
}

.pagination a.active {
    background-color: #7A5C43;
    color: #FFFFFF;
    border-color: #7A5C43;
}

/* 表单样式 - 极简 */
.form-item {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"], 
input[type="password"], 
input[type="number"], 
textarea, 
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E8E5E0;
    border-radius: 4px;
    outline: none;
    font-family: inherit;
    color: #3A3630;
    background-color: #FFFFFF;
}

input:focus, textarea:focus, select:focus {
    border-color: #9D8162;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* 列表样式 */
.list-item {
    padding: 16px;
    border-bottom: 1px solid #E8E5E0;
}

.list-item:last-child {
    border-bottom: none;
}

/* 底部样式 */
.footer {
    background-color: #3A3630;
    color: #C8C5C0;
    padding: 32px 0 16px;
    margin-top: 32px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-size: 16px;
    margin-bottom: 16px;
    color: #FFFFFF;
    border-bottom: 1px solid #555;
    padding-bottom: 8px;
}

.footer-link {
    display: block;
    color: #C8C5C0;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: #FFFFFF;
}

.copyright {
    text-align: center;
    font-size: 12px;
    padding-top: 16px;
    border-top: 1px solid #555;
}

/* 个人中心专属样式 */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E8E5E0;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #E8E5E0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #7A5C43;
}

.profile-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.profile-meta {
    color: #77746F;
    font-size: 13px;
}

/* 选项卡样式 */
.tabs {
    display: flex;
    border-bottom: 1px solid #E8E5E0;
    margin-bottom: 16px;
}

.tab-item {
    padding: 8px 16px;
    cursor: pointer;
    color: #77746F;
    border-bottom: 2px solid transparent;
}

.tab-item.active {
    color: #7A5C43;
    border-bottom-color: #7A5C43;
}

/* 空状态提示 */
.empty-tip {
    text-align: center;
    padding: 40px 0;
    color: #77746F;
}

/* 辅助文字 */
.text-muted {
    color: #77746F;
    font-size: 13px;
}