
/* 暱稱與階級 Icon 排版修飾 */
.user-nickname-text { 
    font-size: 14px; 
    font-weight: 700; 
    color: #1d1d1f; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
    display: flex;
    align-items: center;
    gap: 6px;
}

#sync_level_icon_box {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* 階級 Icon 尺寸設定 */
.nickname-level-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}

/* 階級標籤底色修改為網站品牌藍色調 */
.user-level-tag {
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    font-size: 11px; 
    font-weight: 700;
    color: #0071e3; 
    background-color: #eef4fc; 
    padding: 3px 8px; 
    border-radius: 6px; 
    white-space: nowrap;
    width: fit-content;
    max-width: 100%;
}

/* ================================================================
   Header 階級名稱快捷連結
   點擊 full_name 直接前往 member.php 的「會員等級」分頁。
   ================================================================ */
.user-level-tag-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.user-level-tag-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* member.php：右上會員 Icon 凍結，不展開會員下拉 */
#userDropdownToggle.is-active-member {
    cursor: default !important;
    pointer-events: none !important;
}

.user-order-status-box { 
    padding: 10px 0; 
    border-bottom: 1px solid #f5f5f7; 
}

.order-status-header { 
    font-size: 13px; 
    font-weight: 700; 
    color: #1d1d1f; 
    margin-bottom: 8px; 
}

.order-status-label {
    font-size: 13px; 
    font-weight: 700; 
    color: #1d1d1f; 
    white-space: nowrap;
    padding-right: 4px;
}

.order-status-grid { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    gap: 6px; 
}

.order-status-item { 
    font-size: 12px; 
    color: #333336; 
    text-decoration: none; 
    padding: 6px 4px; 
    border-radius: 8px; 
    background-color: #f5f5f7;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.order-status-item:hover { 
    background-color: #eef4fc; 
    color: #0071e3; 
}

.user-actions-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 10px !important;
    width: 100% !important;
}

.user-btn-action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 9px 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
}

.user-btn-action i {
    font-size: 14px !important;
    transition: color 0.2s ease !important;
}

.user-btn-action.btn-blue-action {
    background-color: #f4f8ff !important;
    border: 1px solid #0071e3 !important;
    color: #0071e3 !important;
}

.user-btn-action.btn-blue-action:hover {
    background-color: #0071e3 !important;
    border-color: #0071e3 !important;
    color: #ffffff !important;
}

