/* ä¼šå‘˜ä¸­å¿ƒè‡ªå®šä¹‰æ ·å¼ - å®Œå…¨ç‹¬ç«‹çš„æ ·å¼ç³»ç»Ÿ */

/* åŸºç¡€é‡ç½® */
.member-body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #f5f5f5;
}

/* å¤´éƒ¨æ ·å¼ */
.member-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: #2c3e50;
    border-bottom: 1px solid #34495e;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.member-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
}

.member-logo {
    display: flex;
    align-items: center;
    width: 195px;
}

.member-logo a {
    display: block;
}

.member-logo img {
    height: 40px;
    width: auto;
}

.member-top {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.member-top-menu {
    display: flex;
    align-items: center;
}

.member-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.member-nav-list > li {
    margin: 0;
    padding: 0;
}

/* å®¹å™¨æ ·å¼ */
.member-container {
    margin-top: 64px;
    min-height: calc(100vh - 64px);
    position: relative;
}

/* åŸºç¡€å¸ƒå±€è®¾ç½® */
.member-sidebar-wrapper {
    position: fixed;
    top: 64px;
    left: 0;
    width: 195px;
    height: calc(100vh - 64px);
    background-color: #fff;
    border-right: 1px solid #e9ecef;
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
}

.member-sidebar {
    width: 195px !important;
    background-color: #fff !important;
    border-right: 1px solid #e9ecef !important;
}

/* èœå•å®¹å™¨æ ·å¼ */
.member-sidebar-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fff !important;
    width: 195px !important;
}

/* èœå•é¡¹åŸºç¡€æ ·å¼ */
.member-sidebar-menu > li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    /* ç§»é™¤åˆ†å‰²çº¿ */
    border-bottom: none !important;
}

/* èœå•é“¾æŽ¥æ ·å¼ */
.member-sidebar-menu > li > a {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    background: none !important;
}

/* èœå•å›¾æ ‡æ ·å¼ - å½©è‰²å›¾æ ‡ */
.member-sidebar-menu > li > a > i {
    width: 20px !important;
    margin-right: 12px !important;
    font-size: 16px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

/* çŽ°ä»£åŒ–å›¾æ ‡é…è‰²æ–¹æ¡ˆ - ä½¿ç”¨ç»Ÿä¸€çš„è“ç°è‰²è°ƒ */

/* é¦–é¡µå›¾æ ‡ */
.member-sidebar-menu > li.start > a > i.fa-home {
    color: #4a90e2 !important;
}

/* è´¢åŠ¡ç®¡ç†ç›¸å…³å›¾æ ‡ */
.member-sidebar-menu > li > a > i.fa-credit-card,
.member-sidebar-menu > li > a > i.fa-money,
.member-sidebar-menu > li > a > i.fa-rmb,
.member-sidebar-menu > li > a > i.fa-yen,
.member-sidebar-menu > li > a > i.fa-dollar {
    color: #50c878 !important;
}

/* äº¤æ˜“ç›¸å…³å›¾æ ‡ */
.member-sidebar-menu > li > a > i.fa-shopping-cart,
.member-sidebar-menu > li > a > i.fa-list-alt {
    color: #6c7b7f !important;
}

/* ç»éªŒå’Œç§¯åˆ†å›¾æ ‡ */
.member-sidebar-menu > li > a > i.fa-star,
.member-sidebar-menu > li > a > i.fa-diamond {
    color: #8e8e93 !important;
}

/* ç®¡ç†ç›¸å…³å›¾æ ‡ */
.member-sidebar-menu > li > a > i.fa-cog,
.member-sidebar-menu > li > a > i.fa-gear,
.member-sidebar-menu > li > a > i.fa-wrench {
    color: #8e8e93 !important;
}

/* ç”¨æˆ·ç›¸å…³å›¾æ ‡ */
.member-sidebar-menu > li > a > i.fa-user,
.member-sidebar-menu > li > a > i.fa-users {
    color: #6c7b7f !important;
}

/* å®‰å…¨ç›¸å…³å›¾æ ‡ */
.member-sidebar-menu > li > a > i.fa-lock,
.member-sidebar-menu > li > a > i.fa-shield,
.member-sidebar-menu > li > a > i.fa-mobile {
    color: #8e8e93 !important;
}

/* æ¶ˆæ¯é€šçŸ¥å›¾æ ‡ */
.member-sidebar-menu > li > a > i.fa-bell,
.member-sidebar-menu > li > a > i.fa-envelope {
    color: #6c7b7f !important;
}

/* è®°å½•ç›¸å…³å›¾æ ‡ */
.member-sidebar-menu > li > a > i.fa-calendar,
.member-sidebar-menu > li > a > i.fa-history {
    color: #8e8e93 !important;
}

/* æ›´å¤šå›¾æ ‡é¢œè‰²è®¾ç½® - çŽ°ä»£åŒ–é…è‰² */
.member-sidebar-menu > li > a > i.fa-ticket,
.member-sidebar-menu > li > a > i.fa-tags {
    color: #4a90e2 !important;
}

.member-sidebar-menu > li > a > i.fa-file,
.member-sidebar-menu > li > a > i.fa-file-text {
    color: #8e8e93 !important;
}

.member-sidebar-menu > li > a > i.fa-gift {
    color: #50c878 !important;
}

.member-sidebar-menu > li > a > i.fa-heart {
    color: #6c7b7f !important;
}

.member-sidebar-menu > li > a > i.fa-bookmark {
    color: #8e8e93 !important;
}

/* ç‰¹æ®ŠåŠŸèƒ½å›¾æ ‡ */
.member-sidebar-menu > li > a > i.fa-plus,
.member-sidebar-menu > li > a > i.fa-plus-circle {
    color: #50c878 !important;
}

.member-sidebar-menu > li > a > i.fa-expeditedssl,
.member-sidebar-menu > li > a > i.fa-key {
    color: #8e8e93 !important;
}

.member-sidebar-menu > li > a > i.fa-qq,
.member-sidebar-menu > li > a > i.fa-wechat {
    color: #6c7b7f !important;
}

.member-sidebar-menu > li > a > i.fa-smile-o,
.member-sidebar-menu > li > a > i.fa-image {
    color: #8e8e93 !important;
}

.member-sidebar-menu > li > a > i.fa-th-large,
.member-sidebar-menu > li > a > i.fa-table {
    color: #6c7b7f !important;
}

/* é»˜è®¤å›¾æ ‡é¢œè‰² - çŽ°ä»£åŒ–ç°è‰² */
.member-sidebar-menu > li > a > i:not([class*="fa-"]) {
    color: #8e8e93 !important;
}

/* èœå•æ–‡å­—æ ·å¼ */
.member-sidebar-menu > li > a > .title {
    flex: 1 !important;
    font-weight: normal !important;
    color: #333 !important;
}

/* èœå•æ‚¬åœæ•ˆæžœ - åªæ”¹å˜æ–‡å­—é¢œè‰²ï¼Œä¸æ”¹å˜èƒŒæ™¯ */
.member-sidebar-menu > li > a:hover {
    background-color: transparent !important;
    color: #007bff !important;
    text-decoration: none !important;
}

/* æ‚¬åœæ—¶å›¾æ ‡ä¿æŒåŽŸæœ‰é¢œè‰² */
.member-sidebar-menu > li > a:hover > i {
    /* å›¾æ ‡é¢œè‰²ä¿æŒä¸å˜ï¼Œä¸è¦†ç›–å½©è‰²è®¾ç½® */
}

.member-sidebar-menu > li > a:hover > .title {
    color: #007bff !important;
}

/* æ¿€æ´»çŠ¶æ€æ ·å¼ - åªé«˜äº®æ–‡å­—ï¼Œä¸æ”¹å˜èƒŒæ™¯ */
.member-sidebar-menu > li.active > a,
.member-sidebar-menu > li.open > a {
    background-color: transparent !important;
    color: #007bff !important;
}

/* æ¿€æ´»çŠ¶æ€æ—¶å›¾æ ‡ä¿æŒåŽŸæœ‰é¢œè‰² */
.member-sidebar-menu > li.active > a > i,
.member-sidebar-menu > li.open > a > i {
    /* å›¾æ ‡é¢œè‰²ä¿æŒä¸å˜ï¼Œä¸è¦†ç›–å½©è‰²è®¾ç½® */
}

.member-sidebar-menu > li.active > a > .title,
.member-sidebar-menu > li.open > a > .title {
    color: #007bff !important;
    font-weight: 500 !important;
}

/* åˆ†ç»„æ ‡é¢˜æ ·å¼ */
.member-sidebar-menu > li.member-menu-section {
    background-color: #f8f9fa !important;
    color: #666 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    padding: 8px 20px !important;
    margin: 0 !important;
    /* ç§»é™¤åˆ†å‰²çº¿ */
    border-bottom: none !important;
    letter-spacing: 0.5px !important;
}

/* é¦–é¡µèœå•ç‰¹æ®Šæ ·å¼ */
.member-sidebar-menu > li.start > a {
    font-weight: 500 !important;
}

/* æ»šåŠ¨æ¡æ ·å¼ */
.member-sidebar-wrapper::-webkit-scrollbar {
    width: 6px !important;
}

.member-sidebar-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

.member-sidebar-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1 !important;
    border-radius: 3px !important;
}

.member-sidebar-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8 !important;
}

/* å†…å®¹åŒºåŸŸæ ·å¼ */
.member-content-wrapper {
    margin-left: 195px;
    min-height: calc(100vh - 64px);
    background-color: #f5f5f5;
}

.member-content {
    padding: 20px;
    background-color: #f5f5f5;
    overflow-x: hidden;
    max-width: calc(100vw - 195px);
}

/* Footeræ ·å¼ */
.member-footer {
    margin-left: 195px;
    background-color: #f5f5f5;
    border-top: 1px solid #e9ecef;
    padding: 15px 20px;
    height: auto;
}

.member-footer-inner {
    text-align: center;
}

.member-footer .copyright {
    color: #666;
    font-size: 12px;
    margin: 0;
}

.member-footer .copyright a {
    color: #007bff;
    text-decoration: none;
}

.member-footer .copyright a:hover {
    text-decoration: underline;
}

/* è‡ªå®šä¹‰headerä¸‹æ‹‰èœå•æ ·å¼ - é¿å…ä¸ŽåŽŸæœ‰æ ·å¼å†²çª */
.member-user-dropdown {
    position: relative;
    display: inline-block;
}

.member-user-toggle {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    height: 64px;
    box-sizing: border-box;
}

.member-user-toggle img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.member-user-toggle .username {
    margin-right: 5px;
    font-size: 14px;
    color: #fff !important;
}

.member-user-toggle i {
    font-size: 12px;
}

.member-user-toggle:hover,
.member-user-toggle:focus {
    color: #fff;
    text-decoration: none;
}

.member-user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-clip: padding-box;
}

.member-user-menu li a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.member-user-menu li a:hover,
.member-user-menu li a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

.member-divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

/* é€šçŸ¥ä¸‹æ‹‰èœå•æ ·å¼ */
.member-notice-dropdown {
    position: relative;
    display: inline-block;
}

.member-notice-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    position: relative;
    height: 64px;
    box-sizing: border-box;
}

.member-notice-toggle i {
    font-size: 18px;
}

.member-notice-toggle .badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    min-width: 16px;
    text-align: center;
}

.member-notice-toggle:hover,
.member-notice-toggle:focus {
    color: #fff;
    text-decoration: none;
}

.member-notice-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 300px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-clip: padding-box;
}

.member-notice-list {
    max-height: 280px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* æ¶ˆæ¯æé†’å¤´éƒ¨æ ·å¼ä¼˜åŒ– */
.member-notice-menu .external {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #f8fafc;
    border-radius: 8px 8px 0 0;
}

.member-notice-menu .external h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.member-notice-menu .external a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.member-notice-menu .external a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* æ¶ˆæ¯åˆ—è¡¨é¡¹æ ·å¼ä¼˜åŒ– */
.member-notice-list li {
    border-bottom: 1px solid #f0f0f0;
}

.member-notice-list li:last-child {
    border-bottom: none;
}

.member-notice-list li a {
    display: block;
    padding: 16px 20px;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.member-notice-list li a:hover {
    background-color: #f8fafc;
    color: #6366f1;
    text-decoration: none;
}

.member-notice-list .time {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.member-notice-list .details {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #374151;
}

.member-notice-list .label-icon {
    margin-right: 6px;
    color: #6366f1;
}

/* ä¸‹æ‹‰èœå•æ˜¾ç¤ºæŽ§åˆ¶ - é€šè¿‡JavaScriptæŽ§åˆ¶ */
.member-user-menu.show,
.member-notice-menu.show {
    display: block;
}

/* ç§»åŠ¨ç«¯é€‚é… */
@media (max-width: 768px) {
    .member-sidebar-wrapper {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .member-sidebar-wrapper.show {
        transform: translateX(0);
    }

    .member-content-wrapper {
        margin-left: 0;
    }

    .member-footer {
        margin-left: 0;
    }

    .member-logo {
        width: auto;
    }

    .member-user-toggle .username {
        display: none;
    }
}

/* ========================================
   ä¼šå‘˜ä¸­å¿ƒé¦–é¡µæ ·å¼
   ======================================== */

/* å…¨å±€é“¾æŽ¥æ ·å¼ - åŽ»é™¤æ‰€æœ‰ä¸‹åˆ’çº¿ï¼Œæ·»åŠ é¢œè‰²å˜åŒ– */
.modern-member-dashboard a {
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.modern-member-dashboard a:hover {
    text-decoration: none !important;
    color: #4a90e2 !important;
}

/* ä¸»å®¹å™¨æ ·å¼ */
.modern-member-dashboard {
    padding: 20px;
    background-color: #f8f9fa;
    min-height: calc(100vh - 64px);
}

/* é¡¶éƒ¨åŒºåŸŸ */
.dashboard-header {
    margin-bottom: 20px;
}

/* å¤´éƒ¨ç½‘æ ¼å¸ƒå±€ */
.header-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: start; /* é¡¶éƒ¨å¯¹é½ï¼Œä¸æ‹‰ä¼¸ */
}

/* ç”¨æˆ·ä¿¡æ¯å¡ç‰‡ - äº‘æ°´ç´ é›…é£Žæ ¼ */
.user-info-card {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 6px;
    padding: 24px;
    color: #334155;
    position: relative;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.user-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.user-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.user-info-right {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.user-avatar:hover .avatar-overlay {
    opacity: 1;
}

.change-avatar-btn {
    color: white;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.change-avatar-btn:hover {
    color: white !important;
    text-decoration: none;
}

.username {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
}

.user-info-right .username {
    margin-bottom: 0;
}

.edit-icon {
    color: #64748b;
    font-size: 16px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.edit-icon:hover {
    color: #334155;
    text-decoration: none;
}

.user-badge {
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    border: 1px solid #cbd5e1;
    margin-left: 8px;
    color: #475569;
}

.user-intro {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.upgrade-btn {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #2f855a;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
}

.upgrade-btn:hover {
    background: #e6fffa;
    color: #276749;
    text-decoration: none;
}

/* ç»éªŒæ¡æ ·å¼ - äº‘æ°´ç´ é›…é£Žæ ¼ */
.experience-bar {
    margin: 12px 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px;
}

.exp-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
    color: #475569;
}

.current-exp {
    font-weight: 500;
}

.level-info {
    font-size: 11px;
    opacity: 0.8;
}

.exp-progress {
    height: 6px;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.exp-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #64748b 0%, #475569 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
    min-width: 2px;
}

/* æ–°çš„ä¸ªäººä¿¡æ¯å±•ç¤ºåŒºåŸŸ */
.user-info-section {
    background: white;
    border-radius: 6px;
    padding: 24px;
}

.info-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* å•ä¸€ä¿¡æ¯å¡ç‰‡ */
.single-info-card {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    border-radius: 6px;
    padding: 24px;
    height: 155px; /* å‡å°‘5pxé«˜åº¦åŒ¹é…èµ„äº§åŒºåŸŸ */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* æ°´å¹³ç”¨æˆ·å¤´éƒ¨ */
.user-header-horizontal {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.user-avatar-small {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

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

.user-info-right {
    flex: 1;
}

.user-name-horizontal {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
}

/* å¤´åƒæ‚¬åœæ•ˆæžœ */
.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-avatar-small:hover .avatar-overlay {
    opacity: 1;
}

.change-avatar-btn {
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.change-avatar-btn:hover {
    color: #f0f0f0;
    text-decoration: none;
}

/* ç¼–è¾‘å›¾æ ‡ */
.edit-icon {
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    margin-left: 8px;
}

.edit-icon:hover {
    color: #334155;
    text-decoration: none;
}

/* ç”¨æˆ·å¾½ç«  */
.user-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
}

/* ç»éªŒå€¼åŒºåŸŸ */
.exp-section {
    margin-top: 0px;
    padding-top: 2px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

/* æ°´å¹³ç»éªŒå€¼ä¿¡æ¯ */
.exp-info-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.exp-current {
    font-size: 16px;
    font-weight: 500;
    color: #334155;
}

.exp-level-horizontal {
    font-size: 14px;
    color: #64748b;
}

/* æ°´å¹³è¿›åº¦æ¡ */
.exp-progress-horizontal {
    width: 100%;
    height: 8px;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.exp-progress-bar-horizontal {
    height: 100%;
    background: linear-gradient(90deg, #64748b 0%, #475569 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    min-width: 2px;
}

/* èµ„äº§åŒºåŸŸ */
.assets-section {
    background: white;
    border-radius: 6px;
    padding: 24px;
}

.asset-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.view-income:hover {
    text-decoration: none;
    color: #00bcd4 !important;
}

.assets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.asset-card {
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.balance-card {
    background: linear-gradient(135deg, #e0f7f0 0%, #b8f2e6 100%);
}

.points-card {
    background: linear-gradient(135deg, #fff4e6 0%, #ffe0b3 100%);
}

.asset-amount {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.balance-card .asset-amount {
    color: #2d7a5f;
}

.points-card .asset-amount {
    color: #cc8800;
}

.currency {
    font-size: 16px;
    font-weight: 400;
}

.balance-card .currency {
    color: #4a9b7a;
    opacity: 0.9;
}

.points-card .currency {
    color: #b8860b;
    opacity: 0.9;
}

.asset-label {
    font-size: 14px;
    margin-bottom: 16px;
}

.balance-card .asset-label {
    color: #4a9b7a;
}

.points-card .asset-label {
    color: #b8860b;
}

.asset-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-warning {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #4db6ac;
    color: white;
    font-weight: 500;
    border: none;
}

.btn-primary:hover {
    background: #26a69a;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    color: #666;
    text-decoration: none;
}

.btn-warning {
    background: #ffb74d;
    color: white;
    font-weight: 500;
    border: none;
}

.btn-warning:hover {
    background: #ffa726;
    color: white;
    text-decoration: none;
}

/* å¿«æ·ç»Ÿè®¡åŒºåŸŸ */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item {
    background: white;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.text-link {
    text-decoration: none;
    color: inherit;
    display: inline;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #4a90e2 !important;
    text-decoration: none;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
}

.purchase-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sell-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.voucher-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.discount-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

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

.stat-count {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* å†…å®¹åŒºåŸŸ */
.content-section {
    margin-top: 24px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.content-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

.card-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.more-link {
    color: #4a90e2;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    padding: 0;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #00bcd4 !important;
    text-decoration: none;
}

.card-content {
    padding: 0 24px 24px;
}

/* æ–‡ç« åˆ—è¡¨æ ·å¼ */
.post-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: default;
}

.post-item:hover {
    background-color: transparent;
}

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

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.post-title {
    flex: 1;
    font-size: 15px;
    color: #333 !important;
    text-decoration: none;
    line-height: 1.4;
    margin-right: 12px;
    display: inline;
    transition: color 0.3s ease;
}

.post-title:hover {
    color: #00bcd4 !important;
    text-decoration: none !important;
}

.post-status {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.post-status.published {
    background: #e8f5e8;
    color: #52c41a;
}

.post-status.reviewing {
    background: #fff7e6;
    color: #fa8c16;
}

.post-status.rejected {
    background: #fff2f0;
    color: #ff4d4f;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

/* è®¢å•åˆ—è¡¨æ ·å¼ */
.order-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.product-info {
    display: flex;
    align-items: flex-start;
}

.product-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 16px;
    flex-shrink: 0;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
    position: relative;
}

.product-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    margin-right: 120px;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

.product-price {
    color: #ff4d4f;
    font-weight: 600;
}

.product-quantity {
    color: #666;
}

.product-sku {
    color: #999;
}

.order-status-label {
    color: #666;
    font-weight: 500;
    margin-right: 4px;
}

.order-status {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
}

/* æ”¯ä»˜æˆåŠŸç›¸å…³çŠ¶æ€ - ç»¿è‰²ç³»ï¼ˆä¸Žå·²å‘å¸ƒæ ·å¼ä¸€è‡´ï¼‰ */
.order-status.completed,
.order-status.paid,
.order-status.shipped {
    background: #e8f5e8;
    color: #52c41a;
}

/* æœªæ”¯ä»˜çŠ¶æ€ - æ©™è‰²ç³»ï¼ˆä¸Žå®¡æ ¸ä¸­æ ·å¼ä¸€è‡´ï¼‰ */
.order-status.unpaid {
    background: #fff7e6;
    color: #fa8c16;
}

/* å·²å…³é—­çŠ¶æ€ - çº¢è‰²ç³»ï¼ˆä¸Žè¢«æ‹’ç»æ ·å¼ä¸€è‡´ï¼‰ */
.order-status.closed {
    background: #fff2f0;
    color: #ff4d4f;
}

.order-actions {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    color: #666;
    background: white;
    text-align: center;
    min-width: 80px;
}

.action-btn:hover {
    text-decoration: none;
    color: #00bcd4 !important;
    border-color: #00bcd4;
}

.action-btn.primary {
    border-color: #00bcd4;
    color: #00bcd4;
}

.action-btn.primary:hover {
    text-decoration: none;
    color: #00bcd4 !important;
}

/* ç©ºçŠ¶æ€æ ·å¼ */
.empty-state {
    padding: 40px;
    text-align: center;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
}

/* é¦–é¡µå“åº”å¼è®¾è®¡ */
@media (max-width: 768px) {
    .dashboard-header {
        grid-template-columns: 1fr;
    }

    .assets-grid {
        grid-template-columns: 1fr;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}
