/* 云享付租赁平台 - 会员中心样式 */
/* 使用自定义类名避免与其他框架冲突 */

/* ================================
   基础重置和全局样式
   ================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: #333;
}

/* ================================
   登录注册页面样式（保留原有）
   ================================ */
.zh_container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.zh_card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(33, 150, 243, 0.15);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
}

.zh_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196F3, #FF5722);
}

.zh_form {
    width: 100%;
}

.zh_title {
    text-align: center;
    margin: 0 0 40px 0;
    font-size: 2rem;
    font-weight: 600;
    color: #1976D2;
    position: relative;
}

.zh_title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2196F3, #FF5722);
    border-radius: 2px;
}

.zh_form_group {
    margin-bottom: 25px;
}

.zh_input_wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.zh_input_icon {
    position: absolute;
    left: 15px;
    color: #2196F3;
    font-size: 16px;
    z-index: 2;
}

.zh_input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1f5fe;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.zh_input:focus {
    outline: none;
    border-color: #2196F3;
    background: white;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.zh_input::placeholder {
    color: #999;
}

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

.zh_captcha_input {
    flex: 1;
}

.zh_captcha_img {
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e1f5fe;
    transition: all 0.3s ease;
}

.zh_captcha_img:hover {
    border-color: #2196F3;
    transform: scale(1.05);
}

.zh_btn {
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    min-height: 50px;
}

.zh_btn_primary {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    width: 100%;
}

.zh_btn_primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

.zh_btn_captcha {
    background: #4CAF50;
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
    min-width: 100px;
}

.zh_btn_captcha:hover {
    background: #388E3C;
    transform: translateY(-1px);
}

.zh_btn_captcha:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.zh_checkbox_wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
    padding: 15px;
    background: #f8fafe;
    border-radius: 8px;
    border: 1px solid #e3f2fd;
}

.zh_checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #2196F3;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.zh_checkbox_text {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    line-height: 1.5;
}

.zh_link {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
}

.zh_link:hover {
    color: #1976D2;
    text-decoration: underline;
}

.zh_divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.zh_divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.zh_divider_text {
    background: white;
    padding: 0 20px;
    color: #999;
    font-size: 14px;
    position: relative;
}

.zh_footer {
    text-align: center;
    margin-top: 25px;
}

/* ================================
   会员中心新布局样式
   ================================ */

/* 头部导航 */
.zh_header {
    background: white;
    border-bottom: 3px solid #2196F3;
    box-shadow: 0 2px 20px rgba(33, 150, 243, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.zh_header_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.zh_header_left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.zh_logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1976D2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.zh_logo:hover {
    color: #2196F3;
    transform: scale(1.05);
}

.zh_home_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.zh_home_btn:hover {
    background: linear-gradient(135deg, #388E3C, #2E7D32);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    color: white;
}

.zh_home_btn i {
    font-size: 14px;
}

.zh_home_btn span {
    font-weight: 500;
}

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

.zh_username {
    font-weight: 600;
    color: #333;
}

.zh_vip_badge {
    background: linear-gradient(135deg, #FF5722, #E64A19);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.zh_group_badge {
    background: #e3f2fd;
    color: #1976D2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.zh_user_menu {
    position: relative;
}

.zh_avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #2196F3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zh_avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.zh_dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.zh_user_menu:hover .zh_dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zh_dropdown a {
    display: block;
    padding: 12px 16px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.zh_dropdown a:hover {
    background: #f8fafe;
    color: #2196F3;
}

/* 主体容器 */
.zh_main_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.zh_content_wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    min-height: calc(100vh - 150px);
}

/* 侧边栏 */
.zh_sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.08);
    padding: 0;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.zh_nav_menu {
    display: flex;
    flex-direction: column;
}

.zh_nav_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 25px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    border-bottom: 1px solid #f5f5f5;
}

.zh_nav_item:last-child {
    border-bottom: none;
}

.zh_nav_item:hover {
    background: #f8fafe;
    color: #2196F3;
    border-left-color: #2196F3;
    transform: translateX(5px);
}

.zh_nav_item.zh_active {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border-left-color: #FF5722;
}

.zh_nav_item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* 主内容区域 */
.zh_main_content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.08);
    padding: 30px;
}

/* 欢迎消息 */
.zh_welcome_msg,
.zh_vip_msg {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
    border-left: 4px solid #4CAF50;
    color: #2e7d32;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 20px;
}

.zh_vip_msg {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #ffcc02;
    border-left-color: #FF5722;
    color: #e65100;
}

/* 用户信息卡片 */
.zh_user_card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafe 0%, #e3f2fd 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.zh_user_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196F3, #FF5722);
}

.zh_user_avatar {
    position: relative;
}

.zh_user_avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #2196F3;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.2);
}

.zh_vip_icon {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #FF5722, #E64A19);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.zh_user_info {
    flex: 1;
}

.zh_user_name {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1976D2;
}

.zh_user_email {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 0.9rem;
}

.zh_user_sign {
    margin: 0 0 15px 0;
    color: #999;
    font-style: italic;
}

.zh_user_join {
    margin: 0;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_user_join i {
    color: #2196F3;
}

/* 统计信息网格 */
.zh_stats_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.zh_stat_item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.08);
    transition: all 0.3s ease;
}

.zh_stat_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.15);
}

.zh_stat_icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zh_stat_icon i {
    font-size: 24px;
    color: #1976D2;
}

.zh_stat_content h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.zh_stat_content p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2196F3;
}

/* 快捷操作区域 */
.zh_quick_section {
    margin-top: 30px;
}

.zh_section_title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1976D2;
    margin: 0 0 20px 0;
}

.zh_section_title i {
    color: #FF5722;
}

.zh_quick_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.zh_quick_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #f8fafe 0%, #e3f2fd 100%);
    border: 2px solid #e1f5fe;
    border-radius: 12px;
    text-decoration: none;
    color: #1976D2;
    transition: all 0.3s ease;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.zh_quick_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.1), transparent);
    transition: left 0.5s ease;
}

.zh_quick_item:hover::before {
    left: 100%;
}

.zh_quick_item:hover {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border-color: #2196F3;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

.zh_quick_item i {
    font-size: 2rem;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.zh_quick_item:hover i {
    transform: scale(1.1);
}

.zh_quick_item span {
    font-weight: 600;
    font-size: 1rem;
}

/* 退出按钮特殊样式 */
.zh_quick_item.zh_logout {
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
    border-color: #ffcdd2;
    color: #c62828;
}

.zh_quick_item.zh_logout:hover {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    border-color: #f44336;
}

/* 页脚 */
.zh_footer {
    background: #37474f;
    color: #cfd8dc;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

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

.zh_footer a {
    color: #81c784;
    text-decoration: none;
}

.zh_footer a:hover {
    color: #a5d6a7;
}

/* ================================
   响应式设计
   ================================ */
@media (max-width: 1024px) {
    .zh_content_wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zh_sidebar {
        position: static;
        order: -1;
    }
    
    .zh_nav_menu {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .zh_nav_item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 4px solid transparent;
    }
    
    .zh_nav_item:hover,
    .zh_nav_item.zh_active {
        transform: none;
        border-left: none;
        border-bottom-color: #2196F3;
    }
}

@media (max-width: 768px) {
    .zh_header_container {
        padding: 0 15px;
        height: 60px;
    }
    
    .zh_header_left {
        gap: 15px;
    }
    
    .zh_logo {
        font-size: 1.2rem;
    }
    
    .zh_home_btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .zh_home_btn span {
        display: none;
    }
    
    .zh_nav_right {
        gap: 10px;
    }
    
    .zh_main_container {
        padding: 15px;
    }
    
    .zh_main_content {
        padding: 20px 15px;
    }
    
    .zh_user_card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .zh_stats_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .zh_quick_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .zh_quick_item {
        padding: 20px 15px;
        min-height: 100px;
    }
    
    .zh_quick_item i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .zh_quick_item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .zh_header_container {
        flex-direction: column;
        height: auto;
        padding: 10px;
        gap: 10px;
    }
    
    .zh_header_left {
        justify-content: center;
        gap: 10px;
    }
    
    .zh_home_btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .zh_nav_right {
        justify-content: center;
    }
    
    .zh_user_card {
        padding: 15px;
    }
    
    .zh_user_avatar img {
        width: 80px;
        height: 80px;
    }
    
    .zh_quick_grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   动画效果
   ================================ */
@keyframes zh_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zh_fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.zh_main_content {
    animation: zh_fadeInUp 0.6s ease-out;
}

.zh_sidebar {
    animation: zh_fadeInLeft 0.6s ease-out 0.2s both;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #2196F3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1976D2;
}
