[v-cloak] {
    display: none;
}

/* 主容器样式 - 宽度800px */
.mi-user-container {
    width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
}

/* 顶部用户信息区域 - 高度改为120px */
.mi-user-header {
    height: 100px;
    background: #ffffff;
    color: #333333;
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: relative;
    border-bottom: 1px solid #f0f2f5;
    justify-content: space-between;
    /* 新增：两端对齐 */
}

.mi-user-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: rgba(22, 93, 255, 0.03);
    transform: skewX(-20deg) translateX(50%);
    z-index: 0;
}

.mi-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    border: 3px solid #ffffff;
    object-fit: cover;
    margin-right: 20px;
    z-index: 1;
    position: relative;
}

.mi-user-info {
    z-index: 1;
    position: relative;
}

.mi-user-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mi-user-desc {
    font-size: 12px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mi-user-desc i {
    margin-right: 3px;
}

/* 新增：个人空间按钮样式 */
.mi-user-space-btn {
    background-color: #e8f3ff;
    color: #165DFF;
    border: none;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
    position: relative;
}

.mi-user-space-btn:hover {
    color: #165DFF;
    background-color: #e8f3ff;
}

.mi-user-tabs {
    --el-tabs-header-height: auto;
}

.mi-user-tabs .el-tabs__header {
    margin-bottom: 20px;
    width: 200px;
    background-color: #ffffff;
    border-right: 1px solid #f0f2f5;
    padding: 25px 0;
}

.mi-user-tabs .el-tabs__nav {
    background: transparent;
    border-radius: 0;
}

/* 关键：让图标和文字水平排列 */
.mi-user-tabs .el-tabs__item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    margin: 0 !important;
    color: #666 !important;
    font-size: 14px !important;
    border-radius: 0 !important;
    height: auto !important;
    line-height: normal !important;
    margin-left: 3px;
}

.mi-user-tabs .el-tabs__nav-wrap::after {
    background: none;
}

/* 图标样式 */
.mi-user-tabs .el-tabs__item .tab-icon {
    display: flex !important;
    align-items: center !important;
    margin-right: 8px !important;
    font-size: 16px !important;
}

/* 文字样式 */
.mi-user-tabs .el-tabs__item .tab-text {
    display: inline-block !important;
    vertical-align: middle !important;

}

/* 激活状态样式 */
.mi-user-tabs .el-tabs__item.is-active {
    background-color: #e8f3ff;
    color: #165DFF;
    font-weight: 500;
    border-left: 3px solid #165DFF;
}

.mi-user-tabs .el-tabs__item:hover {
    color: #1989fa !important;
    background-color: rgba(25, 137, 250, 0.05) !important;
}

/* 移除默认下划线 */
.mi-user-tabs .el-tabs__active-bar {
    display: none !important;
}

.mi-user-tabs .el-tabs__content {
    padding: 0 !important;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    flex: 1;
    background-color: #fafbfc;
    min-height: calc(100vh - 120px);
}

.mi-user-tab-pane .mi-user-content-section {
    display: block !important;
    padding: 20px;
    margin: 0;
}

.mi-user-tabs {
    display: flex;
}

/* 主体内容区域 */
.mi-user-main {
    display: flex;
}

/* 左侧菜单区域 */
.mi-user-sidebar {
    width: 161px;
    background-color: #ffffff;
    border-right: 1px solid #f0f2f5;
    padding: 0;
}

.mi-user-sidebar ul li:first-child {
    margin-left: 10px;
}

.mi-user-menu {
    list-style: none;
}

.mi-user-menu-item {
    font-weight: 500;
    letter-spacing: 1.5px;
    margin: 5px 10px;
}

.mi-user-menu-link {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    color: #666666;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.mi-user-menu-link i {
    margin-right: 10px;
    font-size: 21px;
    font-weight: 500;
    border: 1px solid #ebeef5;
    padding: 5px;
    width: 31px;
    height: 30px;
    text-align: center;
    border-radius: 5px;
    line-height: 20px;
}

.mi-user-menu-link:hover {
    color: #165DFF;
}

.mi-user-menu-link.active {
    color: #165DFF;
    font-weight: 500;
}

/* 右侧内容区域 */
.mi-user-content {
    flex: 1;
    padding: 0;

    min-height: calc(100vh - 120px);
}

.mi-user-content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.mi-user-content-section.active {
    display: block;
}

.mi-user-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mi-like-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mi-like-batch {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mi-like-toolbar .el-input-group {
    width: 302px;
}

.el-input-group__append {
    background: none;
    border: none;
}

.mi-like-search,
.mi-like-search .el-input__inner {
    width: 281px;
    background-color: #f5f5f5a3;
}

.mi-like-sort .el-input--small .el-input__inner {

    height: 40px;
    line-height: 40px;
    outline: 0;
    padding: 0 15px;
    background-color: #f5f5f5a3;
}

.mi-user-section-title i {
    color: #165DFF;
}

.mi-user-card {
    padding: 20px;
    margin-bottom: 20px;
}

/* 仪表盘样式 - 优化无边框设计，添加增长数据 */
.mi-user-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.mi-user-stat-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mi-user-stat-icon {
    align-self: flex-end;
    color: #165DFF;
    opacity: 0.2;
    font-size: 28px;
    margin-bottom: -15px;
    z-index: 0;
}

.mi-user-stat-content {
    z-index: 1;
    position: relative;
}

.mi-user-stat-title {
    font-size: 13px;
    color: #666666;
    margin-bottom: 6px;
}

.mi-user-stat-value {
    font-size: 26px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.mi-user-stat-growth {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.mi-user-stat-growth.positive {
    color: #28a745;
}

.mi-user-stat-growth.negative {
    color: #dc3545;
}

.mi-user-stat-growth i {
    margin-right: 4px;
    font-size: 11px;
}

/* 表单样式 - 优化紧凑布局 */
.mi-user-form-group {
    margin-bottom: 0px;
}

.mi-user-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333333;
    font-size: 14px;
}

.mi-form-error {
    font-size: 12px;
    color: #f56c6c;
}

.mi-user-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.mi-user-form-input:focus {
    outline: none;
    border-color: #165DFF;
    box-shadow: none;
}

.mi-user-btn {
    display: inline-block;
    padding: 5px 20px;
    background-color: #165DFF;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mi-user-btn:hover {
    background-color: #0F48D9;
}

/* 列表样式 */
.mi-user-list {
    list-style: none;
}

.mi-user-list-item {
    padding: 13px;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mi-user-list-item .el-checkbox__label {
    width: 60px;
}

.mi-user-list-right {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 10px;
}

.mi-user-list-item:last-child {
    border-bottom: none;
}

.mi-user-list-right .mi-cancel-btn {
    opacity: 0;
}

.mi-user-list-right:hover .mi-cancel-btn {
    opacity: 1;
    background-color: #fef2f2;
    color: #c82333;
}

.mi-user-list-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mi-user-list-content:hover {
    cursor: pointer;
}

.mi-user-list-icon {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 4px 4px 12px 2px #00000017;
}

.mi-user-list-info {
    flex: 1;
    margin-left: 10px;
}

.mi-user-list-title {
    font-weight: 500;
    margin-bottom: 2px;
    font-size: 14px;
}

.mi-user-list-title:hover {
    cursor: pointer;
}

.mi-user-list-meta {
    font-size: 12px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mi-user-list-meta span p {
    font-size: 12px;
    color: #666666;
}

.mi-user-list-time {
    color: #999999;
}

/* 新增：取消按钮样式 */
.mi-cancel-btn {
    background: none;
    border: none;
    /* color: #dc3545; */
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
    height: 35px;
    font-weight: 500;
}

.mi-cancel-btn:hover {
    background-color: #fef2f2;
    color: #c82333;
}
/* 个人资料页 - 优化封面和头像上传样式 */
.mi-profile-cover {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    background-color: #f0f5ff;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    animation: mi-skeleton-loading 1.5s infinite;
}

.mi-cover-upload {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 2;
}

.mi-cover-upload:hover {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.mi-profile-avatar-container {
    display: flex;
    align-items: end;
    gap: 20px;
    margin: 20px 0;
}

.mi-profile-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #f0f5ff;
    animation: mi-skeleton-loading 1.5s infinite;
}

.mi-avatar-upload {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mi-upload-btn {
    background-color: #f5f7fa;
    color: #165DFF;
    border: 1px solid #e0e7ff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    width: 160px;
}

.mi-upload-btn:hover {
    background-color: #e8f3ff;
    border-color: #165DFF;
}

.mi-upload-tip {
    font-size: 11px;
    color: #999999;
    line-height: 1.4;
}

.mi-profile-form .el-input__inner {
    background-color: #0000000a;
}

.mi-profile-form .el-col-5 {
    padding-left: 0 !important;

}

.mi-user-card .el-form-item__label {
    text-align: left;
    font-weight: 500;
}

.mi-user-address {
    margin-top: 10px;
}

.mi-user-address .el-textarea__inner {
    height: 100px;
}

/* 优化设置页面样式 */
.mi-settings-section {
    margin-bottom: 22px;
}

.mi-settings-section:last-child {
    margin-bottom: 0;
}

.mi-settings-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mi-settings-title i {
    color: #165DFF;
    font-size: 14px;
}

.mi-settings-divider {
    height: 1px;
    background-color: #f0f2f5;
    margin: 20px 0;
}

.mi-form-tip {
    font-size: 10px;
    position: absolute;
    bottom: -10px;
    right: 12px;
}

.mi-profile-save {
    text-align: right;
}

/* 骨架屏基础样式 */
.mi-skeleton-cover {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    background-color: #ffff;
    background: linear-gradient(90deg, #f2f3f5 25%, #e6e8eb 50%, #f2f3f5 75%);
    background-size: 200% 100%;
    animation: mi-skeleton-loading 1.5s infinite;
}

.mi-skeleton-avatar-container {
    display: flex;
    align-items: end;
    gap: 20px;
    margin: 20px 0;
}

.mi-skeleton-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: #ffff;
    background: linear-gradient(90deg, #f2f3f5 25%, #e6e8eb 50%, #f2f3f5 75%);
    background-size: 200% 100%;
    animation: mi-skeleton-loading 1.5s infinite;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mi-skeleton-upload-btn {
    width: 160px;
    height: 36px;
    border-radius: 6px;
    background-color: #ffff;
    background: linear-gradient(90deg, #f2f3f5 25%, #e6e8eb 50%, #f2f3f5 75%);
    background-size: 200% 100%;
    animation: mi-skeleton-loading 1.5s infinite;
}

.mi-skeleton-form {
    padding: 0;
}

.mi-skeleton-form-item {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.mi-skeleton-label {
    width: 100px;
    height: 30px;
    line-height: 43px;
    border-radius: 4px;
    background-color: #ffff;
    background-size: 200% 100%;
    animation: mi-skeleton-loading 1.5s infinite;
    margin-right: 16px;
}

.mi-skeleton-input {
    width: 100%;
    height: 36px;
    border-radius: 4px;
    background-color: #ffff;
    background-size: 200% 100%;
    animation: mi-skeleton-loading 1.5s infinite;
}

.mi-skeleton-select {
    width: 100%;
    height: 36px;
    border-radius: 4px;
    background-color: #ffff;
    background-size: 200% 100%;
    animation: mi-skeleton-loading 1.5s infinite;
}

.mi-skeleton-textarea {
    width: 100%;
    height: 100px;
    border-radius: 4px;
    background-color: #ffff;
    background-size: 200% 100%;
    animation: mi-skeleton-loading 1.5s infinite;
}

.mi-skeleton-selectx {
    margin-top: 50px;
}

.mi-skeleton-address {
    height: 100px;
    margin-top: 10px;
}

.mi-skeleton-tip {
    width: 70px;
    height: 14px;
    border-radius: 2px;
    background-size: 200% 100%;
    animation: mi-skeleton-loading 1.5s infinite;
    margin-top: 8px;
    float: right;
    position: absolute;
    bottom: 8px;
    right: 8px;
}

.mi-skeleton-btn {
    display: inline-block;
    width: 50px;
    height: 20px;
    border-radius: 4px;
    background-color: #ffff;
    background-size: 200% 100%;
    animation: mi-skeleton-loading 1.5s infinite;
    margin-right: 10px;
}

.mi-skeleton-btn-primary {
    background-color: #ffff;
}

.mi-skeleton-btn-success {
    background-color: #ffff;
}

/* 骨架屏加载动画 */
@keyframes mi-skeleton-loading {
    0% {
        background-color: rgba(165, 165, 165, 0.1);
    }

    50% {
        background-color: rgba(165, 165, 165, 0.3);
    }

    100% {
        background-color: rgba(165, 165, 165, 0.1);
    }
}

/* 闪光动画（核心）：光线从左到右扫过 */
@keyframes mi-skeleton-shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* 适配原有表单样式 */
.mi-skeleton-form .el-form-item__content {
    flex: 1;
    text-align: right;
}

.mi-skeleton-form .el-col-6 {
    flex: 0 0 23.5%;
    max-width: 23.5%;
    margin-right: 1%;
}

.mi-skeleton-form .el-col-6:last-child {
    margin-right: 0;
}

/* 滑块开关样式 */
.mi-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.mi-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mi-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: .3s;
    border-radius: 24px;
}

.mi-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked+.mi-toggle-slider {
    background-color: #165DFF;
}

input:checked+.mi-toggle-slider:before {
    transform: translateX(20px);
}

/* 通知和隐私设置布局 - 减小高度 */
.mi-settings-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* 从14px改为8px */
}

.mi-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    /* 从8px改为6px */
    border-bottom: 1px solid #f5f7fa;
}

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

.mi-option-label {
    display: flex;
    flex-direction: column;
}

.mi-option-name {
    font-size: 14px;
    font-weight: 400;
}

.mi-option-desc {
    font-size: 11px;
    color: #999999;
    margin-top: 2px;
}

/* 优化按钮区域样式 - 小型按钮 */
.mi-btn-group {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.mi-btn-secondary {
    background-color: #f5f7fa;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.mi-btn-secondary:hover {
    background-color: #eceef2;
    color: #333333;
}

.mi-btn-danger {
    background-color: #dc3545;
}

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

/* 小型按钮样式 */
.mi-btn-sm {
    padding: 6px 12px;
    /* 从10px 20px改为6px 12px */
    font-size: 13px;
    /* 从14px改为13px */
}

/* 财富页面 - 积分区域样式 */
.mi-wealth-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f2f5;
}

.mi-wealth-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mi-wealth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mi-wealth-title {
    font-size: 15px;
    color: #666666;
    font-weight: 500;
}

.mi-wealth-balance {
    font-size: 26px;
    font-weight: 600;
    color: #333333;
}

.mi-wealth-actions {
    display: flex;
    gap: 8px;
}

/* 会员套餐样式 */
.mi-membership-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f2f5;
}

.mi-membership-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #e8f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mi-membership-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.mi-membership-info p {
    color: #666666;
    margin-bottom: 8px;
    font-size: 13px;
}

.mi-membership-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.mi-membership-package {
    border: 1px solid #f0f2f5;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.mi-membership-package:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: #e8f3ff;
}

.mi-membership-package.current {
    border-color: #165DFF;
    background-color: rgba(22, 93, 255, 0.02);
}

.mi-membership-package.current::before {
    content: "当前套餐";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #165DFF;
    color: white;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 12px;
}

.mi-package-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mi-package-price {
    font-size: 24px;
    font-weight: 600;
    color: #165DFF;
    margin-bottom: 2px;
}

.mi-package-period {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.mi-package-features {
    list-style: none;
    margin-bottom: 20px;
}

.mi-package-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 10px;
    color: #555;
}

.mi-package-feature i {
    color: #165DFF;
    font-size: 12px;
    margin-top: 3px;
}

.mi-package-btn {
    width: 100%;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.mi-package-btn.primary {
    background-color: #165DFF;
    color: white;
}

.mi-package-btn.primary:hover {
    background-color: #0F48D9;
}

.mi-package-btn.secondary {
    background-color: #f5f7fa;
    color: #165DFF;
    border: 1px solid #165DFF;
}

.mi-package-btn.secondary:hover {
    background-color: #e8f3ff;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mi-user-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mi-like-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mi-like-search {
    width: 300px;
}

.mi-like-sort {
    display: flex;
    gap: 10px;
}

.mi-like-order {
    width: 100px;
}

.mi-like-batch {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 10px;
}

.mi-user-list {
    list-style: none;
    padding: 0;
    margin: 0;
    /* border: 1px solid #f5f5f5; */
    border-radius: 4px;
}

.mi-user-list-item {
    display: flex;
    align-items: center;
    padding: 15px;
    transition: background-color 0.3s;
}

.mi-user-list-item:hover {
    background-color: #fafafa;
}

.mi-list-checkbox {
    margin-right: 15px;
    flex-shrink: 0;
}

.mi-user-list-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.mi-user-list-icon {
    font-size: 24px;
    margin-right: 0px;
    color: #165DFF;
}

.mi-user-list-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.mi-user-list-meta {
    font-size: 12px;
    color: #666;
}

.mi-user-list-time {
    margin-left: 8px;
}

.mi-user-list-actions {
    display: flex;
    align-items: center;
}

.mi-empty-state {
    text-align: center;
    padding: 50px 0;
}

.mi-pagination {
    margin-top: 20px;
    text-align: left;
}

.mi-user-attachments .mi-user-list-actions {
    opacity: 0;
}

.mi-user-attachments:hover .mi-user-list-actions {
    opacity: 1;
}

/* 图片预览弹窗样式优化 */
.mi-image-viewer {
    z-index: 9999 !important;
    /* 确保弹窗在最上层 */
}

/* 缩略图hover效果（可选） */
.mi-like-thumb:hover {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/*
 *-------------------------------------------------------------------------------
 * 图片预览弹窗样式
 *-------------------------------------------------------------------------------
*/
.mi-image-preview-container {
    padding: 20px;
    text-align: center;
}

.el-dialog.mi-user-image-preview {
    top: -20px;

}

.mi-preview-image {
    max-width: 100%;
    max-height: 50vh;
    /* 限制最大高度为视口70%，避免超出屏幕 */
    object-fit: contain;
    /* 保持图片比例，不拉伸 */
    border-radius: 4px;
    margin-bottom: 16px;
}

.mi-preview-info {
    text-align: left;
    color: #333;
}

.mi-preview-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 500;
}

.mi-preview-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 优化点击区域的指针样式 */
.mi-like-thumb:hover,
.mi-user-list-title:hover {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.mi-profile-dialog {
    width: 550px;
    padding: 0;
}

.el-dialog.mi-profile-dialog .el-upload .el-button {
    width: 120px;
    padding: 10px 20px;
    margin-bottom: 20px;
    font-size: 12px;
    border-radius: 20px;
}

.el-dialog.mi-profile-dialog .el-upload .upload-tip {
    font-size: 12px;
}

.mi-profile-dialog .avatar-preview {
    height: 130px;
}

.mi-form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
}

.mi-form-select:focus {
    outline: none;
}

/* 基础弹窗容器 */
.mi-user-profile-dialog {
    --el-dialog-width: 800px !important;
    --tab-primary-color: #409eff;
    /* 主色调 */
    --tab-hover-color: #66b1ff;
    /* 悬浮色 */
    --tab-active-color: #1989fa;
    /* 选中色 */
    --tab-bg-color: #f8f9fa;
    /* 背景色 */
    --tab-border-color: #e5e6eb;
    /* 边框色 */
    width: 700px;
}

/* 弹窗主体布局调整：拆分固定区域和滚动区域 */
.mi-user-profile-dialog .el-dialog__body {
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* ========== 核心：固定 TAB 导航栏 ========== */
.mi-user-profile-upload-tabs {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    padding: 4px 20px;
    margin: 0;
    border-radius: 0;
}

/* 隐藏默认下划线 */
.el-dialog.mi-user-profile-dialog .el-tabs__nav-wrap::after {
    height: 0;
}

/* TAB 项基础样式 */
.el-dialog.mi-user-profile-dialog .el-tabs__item {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: 0;
}

#tab-avatar-library {
    margin-left: 10px;
}

.el-dialog.mi-user-profile-dialog .el-tabs__header {
    margin: 0;
}

/* TAB 悬浮态 */
.el-dialog.mi-user-profile-dialog .el-tabs__item:hover {
    color: var(--tab-hover-color);
}

/* TAB 选中态 */
.el-dialog.mi-user-profile-dialog .el-tabs__item.is-active {
    color: var(--tab-primary-color);
    font-weight: 600;
}

/* 去掉默认选中态下划线 */
.el-dialog.mi-user-profile-dialog .el-tabs__active-bar {
    display: none !important;
}

/* ========== TAB 内容区域：单独滚动 ========== */
.el-dialog.mi-user-profile-dialog .el-tabs__content {
    flex: 1;
    overflow: hidden;
    /* 取消整体滚动，由子容器控制 */
}

/* 图库容器整体布局：图片滚动 + 分页固定 */
.mi-library-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 图库图片区域：单独滚动 */
.mi-library-images {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
}

/* 图库分页固定在底部 */
.mi-user-profile-image-pagination {
    margin-top: 0;
    text-align: left;
    clear: both;
    padding-top: 10px;
    border-top: 1px solid var(--tab-border-color);
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 5;
}


/* 上传区域样式 */
.mi-user-profile-upload-area {
    padding: 20px;
    border: 1px dashed var(--tab-border-color);
    border-radius: 8px;
    text-align: left;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.mi-user-profile-upload-area:hover {
    border-color: var(--tab-primary-color);
}

/* 图片预览样式 */
.mi-user-profile-avatar-preview,
.mi-user-profile-cover-preview {
    margin-top: 15px;
    text-align: center;
}

.mi-user-profile-preview-img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.mi-user-profile-preview-img:hover {
    transform: scale(1.02);
}

.mi-user-profile-upload-tip {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

/* 图库容器样式 */
.mi-user-profile-image-library {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    max-height: 430px;
}

/* 图库图片项 */
.mi-user-profile-image-item {
    height: 100px;
    float: left;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 选中状态 */
.mi-user-profile-image-item.selected {
    border-color: var(--tab-primary-color);
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}

.mi-user-profile-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图库图片遮罩 */
.mi-user-profile-image-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 4px;
}

.mi-user-profile-image-item:hover .mi-user-profile-image-mask {
    display: flex;
}

/* 骨架屏基础样式 */
.mi-user-profile-skeleton-form {
    padding: 20px;
}

.mi-user-profile-skeleton-form-item {
    margin-bottom: 15px;
}

.mi-user-profile-skeleton-label {
    width: 100px;
    height: 20px;
    background: #f2f2f2;
    border-radius: 4px;
}

.mi-user-profile-skeleton-input {
    width: 300px;
    height: 36px;
    background: #f2f2f2;
    border-radius: 4px;
}

.mi-user-profile-skeleton-select {
    width: 200px;
    height: 36px;
    background: #f2f2f2;
    border-radius: 4px;
}

.mi-user-profile-skeleton-textarea {
    width: 100%;
    height: 80px;
    background: #f2f2f2;
    border-radius: 4px;
}

.mi-user-profile-skeleton-tip {
    width: 100px;
    height: 16px;
    background: #f2f2f2;
    border-radius: 4px;
    margin-top: 5px;
}

/* 骨架屏按钮 */
.mi-user-profile-skeleton-btn {
    width: 100px;
    height: 36px;
    background: #f2f2f2;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
}

.mi-user-profile-skeleton-btn-primary {
    background: #e6f7ff;
}

.mi-user-profile-skeleton-btn-success {
    background: #f6ffed;
}

/* 清除浮动 */
.mi-user-profile-clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 上传按钮组 */
.mi-user-profile-upload-btn-group {
    margin-bottom: 10px;
}

/* 加载中提示 */
.mi-user-profile-loading-tip {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* 选中勾样式 - 右上角突出显示 */
.mi-user-profile-image-check {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.mi-user-card.mi-my-settings {
    padding: 10px 20px;
}

.mi-settings-actions {
    margin: 20px 15px 0;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.mi-settings-actions .el-button--medium {
    padding: 8px 15px;
    font-size: 12px;
}

/*
 *-------------------------------------------------------------------------------
 * 用户中心页面 == 修改密码
 * 
 *-------------------------------------------------------------------------------
*/
.user-page-security .mi-user-content{
    background: none;

}
.mi-userPassWord-header {
    margin-bottom: 15px;
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
}

.mi-userPassWord-header h1 {
    font-size: 16px;
    margin: 0;
}
.mi-account-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f8f8;
    padding: 10px;
    margin-top: 10px;
    font-size: 14px;
}
.mi-account-content .mi-account-right{
opacity: 0;
}
.mi-account-content:hover .mi-account-right{
    opacity: 1;
    }
    .mi-account-settings a{
        font-weight: 500;
    padding: 8px 15px;
    font-size: 12px;
    }
.mi-account-title{
    margin-bottom: 5px;
}
.mi-userPassWord-reset {
    margin: 20px 50px;
}
.el-dialog.mi-account-dialog{
    width: 350px;
}
.mi-account-dialog .el-input__inner{
    background-color: #f8f8f8;
}
.mi-account-dialog .el-form-item__label{
    text-align: left;
}
.mi-userPassWord-reset .el-form-item {
    text-align: right;
}

.mi-userPassWord-reset .el-input__inner {
    background-color: #f0f0f07a;
}

.mi-userPassWord-reset .el-form-item__label {
    text-align: left;
}

.mi-userPassWord-form {
    margin-bottom: 30px;
}

.mi-userPassWord-submit {
    margin-left: 120px;
}

.mi-userPassWord-takecare {
    margin-top: 20px;
}

.mi-userPassWord-notes {
    padding-left: 20px;
    color: #606266;
    line-height: 1.8;
}

.mi-userPassWord-notes li {
    margin-bottom: 8px;
}

/* 调整折叠面板样式 */
.mi-userPassWord-collapse {
    border-radius: 4px;
    margin-top: 15px;
    padding: 0 50px 30px;
    border: none;
}

.mi-userPassWord-collapse .el-collapse-item__header {
    border-bottom: none;
}

.mi-userPassWord-collapse .el-collapse-item:last-child {
    border-bottom: none;
}

.mi-userPassWord-note-content {
    padding: 10px 15px;
    color: #606266;
    line-height: 1.6;
    background-color: #f5f7fa;
    border-radius: 4px;
    margin-top: 5px;
}

.mi-user-account {
    padding: 0 15px;
}
.mi-user-account h1{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

/* 账号列表容器 - 一排两个布局 */
.mi-user-account-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}
.mi-user-account-left{
    display: flex;
    align-items: center;
}
/* 单个账号项样式 */
.mi-user-account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 5px;
}

/* 图标容器样式 */
.mi-user-account-icon {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
}

/* QQ图标样式 */
.mi-icon-qq {
    width: 100%;
    height: 100%;
    background: #12B7F5;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* 微信图标样式 */
.mi-icon-wechat {
    width: 100%;
    height: 100%;
    background: #07C160;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.mi-user-account-icon svg{
    width: 1em;
    height: 1em;
    font-size: 30px;
}
/* 账号信息区域（名称+用户名） */
.mi-user-account-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 账号名称（QQ/微信） */
.mi-user-account-name {
    font-size: 14px;
    color: #333;
    font-weight: 700;
}

/* 用户名（未绑定） */
.mi-user-account-username {
    font-size: 12px;
    color: #999;
}

/* 绑定按钮样式 */
.mi-user-account-btn {
    padding: 8px 16px;
    background: #FF6700;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mi-user-account-btn:hover {
    background: #FF9000;
}
.mi-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    color: #fff;
}
.mi-message-success {
    background-color: #67c23a;
}
.mi-message-error {
    background-color: #f56c6c;
}
.mi-user-account-btn {
    padding: 6px 16px;
    border: 1px solid #409eff;
    background-color: #409eff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}
.mi-user-account-btn.mi-btn-binded {
    border-color: #909399;
    background-color: #909399;
}
.mi-user-account-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.mi-loading {
    position: relative;
}
.mi-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}