* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    line-height: 1.6;
    color: #333;
}

/* 顶部导航 */
.mobile-header {
    background-color: #4CAF50;
    color: #fff;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-header .logo {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    flex: 1;
    text-align: center;
}

.mobile-header .menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    margin-right: 10px;
    z-index: 1010;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions .action-btn {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    padding: 5px;
}

/* 侧边菜单 */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 1005;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.side-menu.open {
    left: 0;
}

.menu-header {
    background-color: #4CAF50;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    border-bottom: 1px solid #eee;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s;
}

.menu-link:hover {
    background-color: #f5f5f5;
}

.menu-link i {
    margin-right: 15px;
    font-size: 18px;
    color: #4CAF50;
    width: 20px;
    text-align: center;
}

.menu-divider {
    height: 10px;
    background-color: #f5f5f5;
    border-bottom: none;
}

/* 遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1004;
    display: none;
}

.overlay.show {
    display: block;
}

/* 搜索栏 */
.search-bar {
    background-color: #fff;
    padding: 10px 15px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}

.search-bar button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
}

/* 主要内容区域 */
.main-content {
    padding: 15px 5px 120px;
    min-height: calc(100vh - 140px);
}

/* 消息显示样式 */
.flash-message {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* 底部导航 */
.mobile-footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

/* 侧边菜单中的发布菜单样式 */
.menu-item {
    position: relative;
}

.side-menu .publish-menu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 200px;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1010;
    display: none;
}

.menu-item:hover .publish-menu,
.menu-item:focus-within .publish-menu {
    display: block;
}

.side-menu .publish-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    border-bottom: 1px solid #eee;
}

.side-menu .publish-menu-item:last-child {
    border-bottom: none;
}

.side-menu .publish-menu-item:hover {
    background-color: #f5f5f5;
}

.side-menu .publish-menu-item i {
    margin-right: 10px;
    font-size: 16px;
    color: #4CAF50;
    width: 20px;
    text-align: center;
}

.footer-item {
    text-align: center;
    text-decoration: none;
    color: #666;
}

.footer-item.active {
    color: #4CAF50;
}

.footer-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.footer-item span {
    font-size: 12px;
}

/* 商品卡片容器 */
.products-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, calc(50% - 5px)));
    gap: 10px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* 商品卡片 */
.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    width: calc(100% + 2px);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 -1px;
}

.product-card {
    position: relative;
}

.product-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-info {
    padding: 8px 10px;
    flex: 1;
    min-width: 0;
}

/* 推荐商品标识 */
.featured-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 3px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 2px;
}

.featured-badge::before {
    content: "★";
    font-size: 8px;
}

.product-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.product-price {
    font-size: 16px;
    color: #ff6b6b;
    font-weight: bold;
    margin-bottom: 5px;
}

.product-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

/* 分类列表 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.category-item {
    text-align: center;
    text-decoration: none;
    color: #333;
}

.category-item i {
    font-size: 30px;
    color: #4CAF50;
    margin-bottom: 8px;
    display: block;
}

/* 分类商品区块 */
.category-section {
    margin-bottom: 25px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

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

.view-more {
    color: #4CAF50;
    font-size: 14px;
    text-decoration: none;
}

.category-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
}

.category-item span {
    font-size: 12px;
    display: block;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: #4CAF50;
    color: #fff;
}

.btn-secondary {
    background-color: #fff;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(.disabled) {
    background-color: #f5f5f5;
    border-color: #4CAF50;
}

.pagination-btn.active {
    background-color: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 响应式调整 */
@media (min-width: 768px) {
    .mobile-container {
        max-width: 600px;
        margin: 0 auto;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        min-height: 100vh;
    }
}

/* 发布菜单样式 */
.publish-menu-container {
    position: relative;
}

.publish-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 0;
    color: #333;
    width: 100%;
}

.publish-btn i {
    font-size: 24px;
    margin-bottom: 5px;
    color: #4CAF50;
}

.publish-btn span {
    font-size: 12px;
}

.publish-menu {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px); /* 确保菜单在按钮上方显示，增加额外间距 */
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15); /* 增强阴影效果 */
    padding: 10px;
    width: 200px;
    z-index: 1020; /* 提高z-index确保显示在最上层 */
}

.publish-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.publish-menu.show {
    display: block;
}

.publish-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    margin-bottom: 5px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.publish-menu-item:hover {
    background-color: #f5f5f5;
}

.publish-menu-item i {
    margin-right: 10px;
    color: #4CAF50;
    font-size: 16px;
}

/* 分页省略号样式 */
.ellipsis {
    display: inline-block;
    padding: 8px 12px;
    color: #666;
    font-size: 14px;
    vertical-align: middle;
}

/* 移动广告页面样式 */
.mobile-wall-ads {
    max-width: 100%;
}

.mobile-wall-ads .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-wall-ads .page-header h1 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.mobile-wall-ads .page-header .publish-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4CAF50;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.mobile-wall-ads .page-header .publish-btn:hover {
    background-color: #45a049;
}

.mobile-wall-ads .page-header .publish-btn i {
    margin-right: 5px;
}

.mobile-wall-ads .ads-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mobile-wall-ads .ad-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 3px solid #4CAF50;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-wall-ads .ad-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.mobile-wall-ads .ad-content {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.mobile-wall-ads .ad-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-wall-ads .ad-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.mobile-wall-ads .ad-contact i {
    color: #4CAF50;
    width: 16px;
    text-align: center;
}

.mobile-wall-ads .ad-publisher {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.mobile-wall-ads .empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.mobile-wall-ads .empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.mobile-wall-ads .mobile-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-wall-ads .mobile-pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.2s;
}

.mobile-wall-ads .mobile-pagination .page-btn:hover {
    background-color: #f5f5f5;
    border-color: #4CAF50;
    color: #4CAF50;
}

.mobile-wall-ads .mobile-pagination .page-info {
    color: #666;
    font-size: 14px;
}

.mobile-wall-ads .mobile-pagination .prev {
    margin-right: auto;
}

.mobile-wall-ads .mobile-pagination .next {
    margin-left: auto;
}

/* 用户中心样式 */
.user-info-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid #4CAF50;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
}

.user-details .email {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin: 0 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.action-btn {
    flex: 1;
    min-width: 100px;
    background-color: #4CAF50;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    background-color: #45a049;
}

.section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.section-actions {
    margin-bottom: 15px;
}

.btn-small {
    display: inline-block;
    background-color: #4CAF50;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

.btn-small:hover {
    background-color: #45a049;
}

.subsection {
    margin-bottom: 20px;
}

.subsection h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #555;
}

.item-list {
    margin-bottom: 15px;
}

.item-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 3px solid #4CAF50;
}

.item-card h5 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.item-card h5 a {
    color: #333;
    text-decoration: none;
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.item-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #999;
}

.item-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-tiny {
    display: inline-block;
    background-color: #4CAF50;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
}

.btn-tiny.btn-danger {
    background-color: #f44336;
}

/* 按钮样式增强 */
.btn-small {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s;
}

.btn-tiny:hover {
    opacity: 0.8;
}

.view-all {
    display: block;
    text-align: center;
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
}

.empty-message {
    text-align: center;
    color: #999;
    padding: 20px 0;
    font-size: 14px;
}

.btn-logout {
    display: block;
    width: 100%;
    background-color: #f44336;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-logout:hover {
    background-color: #da190b;
}

/* 消息页面样式 */
.messages-container {
    padding: 10px;
}

.message-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tab-link {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    text-decoration: none;
    color: #555;
    font-weight: bold;
    border-bottom: 3px solid transparent;
    position: relative;
}

.tab-link.active {
    color: #4CAF50;
    border-bottom-color: #4CAF50;
}

.badge {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: #ff4444;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.message-list {
    margin-bottom: 20px;
}

.message-item {
    background-color: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message-item.unread {
    border-left: 4px solid #4CAF50;
    background-color: #f9f9f9;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.message-sender {
    color: #333;
}

.message-time {
    color: #999;
    font-size: 14px;
}

.message-content {
    margin-bottom: 15px;
}

.message-subject {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: block;
}

.message-subject:hover {
    text-decoration: underline;
}

.message-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-danger {
    background-color: #f44336;
}

.btn-danger:hover {
    background-color: #d32f2f;
}

/* 发送消息页面样式 */
.message-send-container {
    padding: 15px;
    margin-bottom: 80px; /* 为底部导航栏留出空间 */
}

.message-send-header {
    margin-bottom: 20px;
    text-align: center;
}

.message-send-header h1 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.message-send-form {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-control,
select.form-control,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
}

/* 选择框特定样式 */
select.form-control,
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

/* 地区选择框容器样式 */
.region-selects {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.region-selects .form-select {
    flex: 1;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

/* 输入组样式 */
.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-group .form-control {
    flex: 1;
    width: auto;
}

/* 单选按钮组样式 */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-item input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
}

.radio-item label {
    margin: 0;
    font-weight: normal;
    font-size: 16px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #4CAF50;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: white;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #c62828;
}

.error-message p {
    margin: 5px 0;
    font-size: 14px;
}

/* 消息查看页面样式 */
.message-view-container {
    padding: 15px;
    margin-bottom: 80px; /* 为底部导航栏留出空间 */
}

.message-view-header {
    margin-bottom: 20px;
    text-align: center;
}

.message-view-header h1 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.message-content-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.message-header {
    margin-bottom: 20px;
}

.message-subject {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.message-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.message-info p {
    margin: 8px 0;
    font-size: 14px;
    color: #555;
}

.message-info strong {
    color: #333;
}

.message-body {
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    border-left: 3px solid #4CAF50;
}

.message-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* 小店创建页面样式 */
.shop-create-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}

.image-upload {
    margin-bottom: 10px;
}

.image-upload input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.message-actions .btn {
    flex: 1;
    min-width: 120px;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

/* 招聘详情页面样式 */
.job-detail-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    margin-bottom: 80px;
}

.btn-back {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    background-color: #5a6268;
}

.job-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.job-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.job-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-all;
}

.job-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.job-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.job-info-item i {
    color: #4CAF50;
    font-size: 16px;
    width: 20px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.job-tag {
    background-color: #e3f2fd;
    color: #1976D2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.job-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #4CAF50;
}

.job-description {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-all;
}

.job-description p {
    margin-bottom: 15px;
}

.contact-section {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 14px;
}

.contact-item i {
    color: #2196F3;
    font-size: 18px;
    width: 20px;
    margin-top: 3px;
}

.contact-item strong {
    color: #2196F3;
    margin-right: 8px;
}

.error-page {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;
}

.error-page h2 {
    color: #f44336;
    margin-bottom: 20px;
    font-size: 24px;
}

.error-page p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* 黄色小贴士区域样式 */
.tip-section {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    margin: 10px 15px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tip-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tip-content i {
    color: #ffc107;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.tip-content p {
    margin: 0;
    color: #dc3545;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    flex: 1;
}
