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

html, body {
    height: 100%;
}

/* 通用容器 */
.new_container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* 页面2的容器样式 */
.page2 .new_container {
    background-color: #FFFFFF;
}

/* 页面3的容器样式 */
.page3 .new_container {
    background-color: #f5f5f5;
    padding: 10px;
}

/* 页面2的样式 */
.new_header {
    background: linear-gradient(135deg, #FF6B00, #FF8533);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(255, 107, 0, 0.15);
}

.new_title {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.new_content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.new_card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.08);
    border: 2px solid #FFF1E8;
    transition: all 0.3s ease;
    height: 130px;
    box-sizing: border-box;
    cursor: pointer;
    margin-bottom: 16px;
}

.new_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.12);
}

.new_card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15);
}

.new_card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.new_card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.new_card-header i {
    color: #FF6B00;
    font-size: 18px;
}

.new_card-title {
    font-size: 14px;
    color: #333333;
    font-weight: 600;
}

.new_card-number {
    font-size: 22px;
    color: #FF6B00;
    font-weight: 700;
}

/* 页面3的样式 */
.new_share-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 15px;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.new_share-popup.active {
    transform: translateY(0);
}

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

.new_share-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.new_share-close {
    cursor: pointer;
    color: #666;
    font-size: 24px;
}

.new_share-swiper {
    height: 250px;
    margin-bottom: 15px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.new_download-btn {
    padding: 0 20px;
    margin-bottom: 20px;
}

.new_download-btn button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #FF6B00, #FF9248);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.new_download-btn button:hover {
    opacity: 0.9;
}

.new_user-card {
    background: linear-gradient(135deg, #FF6B00, #FF9248);
    border-radius: 8px;
    padding: 20px 15px;
    /*! padding-right: 80px; */
    position: relative;
    margin-bottom: 10px;
}

/* 退出按钮样式 */
.new_user-card .new_logout-btn { position: absolute; top: 12px; right: 12px; z-index: 1; }
.new_logout-btn {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
}

.new_logout-btn i { color: #ffffff; font-size: 14px; }
.new_logout-btn span { color: #ffffff; }

.new_logout-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.new_logout-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.new_logout-btn:focus-visible {
    outline: 2px solid rgba(255,255,255,0.9);
    outline-offset: 2px;
}

.new_user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.new_avatar {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    border: 2px solid #ffffff;
    flex: 0 0 60px;
    object-fit: cover;
}

.new_info-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.new_nickname {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    margin-top: 7px;
}

.new_role-list {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.new_role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
}

.new_account-info {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.new_account-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.new_account-item .new_value {
    font-size: 18px;
    color: #333333;
    font-weight: 500;
    margin-bottom: 4px;
}

.new_account-item .new_label {
    font-size: 14px;
    color: #999999;
}

.new_order-entry {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.new_order-status {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    margin-top: 10px;
}

.new_status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #666666;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 25%;
}

.new_status-item:hover {
    background-color: rgba(255, 107, 0, 0.08);
}

.new_status-item:active {
    transform: scale(0.96);
}

.new_status-item i {
    font-size: 20px;
    margin-bottom: 5px;
    color: #FF6B00;
}

.new_order-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.new_order-title span {
    font-size: 14px;
    color: #333333;
}

.new_function-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 23px;
}

.new_grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    transition: background-color 0.3s;
}

.new_grid-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.new_grid-item i {
    font-size: 20px;
    color: #666666;
}

.new_grid-text {
    font-size: 14px;
    color: #666666;
}

/* 通用底部导航栏 */
.tab-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(245, 245, 245, 0.8);
    margin-top: 20px;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.03);
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: relative;
    cursor: pointer;
}

.tab-text {
    font-size: 14px;
    color: #999999;
    transition: all 0.3s ease;
}

.tab-text.active {
    color: #FF6B00;
    font-weight: 600;
    transform: scale(1.05);
}

/* 遮罩层 */
.new_overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.new_logOut {
    border: 1px solid #ff7411;
    text-align: center;
    border-radius: 5px;
    height: 40px;
    line-height: 40px;
    /*! background: linear-gradient(135deg, #FF6B00, #FF9248); */
    color: #ff7411;
    margin-bottom: 120px;
  }
.new_overlay.active {
    display: block;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .new_card {
        padding: 16px;
    }

    .new_card-number {
        font-size: 20px;
    }

    .new_grid-item i {
        font-size: 16px;
    }
}

.page2_homeBackground {
    background: linear-gradient(180deg, #FFF6F0 0%, #FAFAFA 100%);
}

.page2_container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page2_header {
    margin-bottom: 30px;
    margin-top: 20px;
}

.page2_title {
    font-size: 28px;
    color: #FF6B00;
    text-align: center;
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(255, 107, 0, 0.1);
}

.page2_divider {
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.2) 0%, #FF6B00 50%, rgba(255, 107, 0, 0.2) 100%);
    width: 80px;
    margin: 0 auto;
    border-radius: 4px;
}

.page2_content {
    flex: 1;
    overflow: auto;
    padding: 10px 5px;
    width: 95%;
    margin: 0 auto;
}

.page2_data-card {
    background: linear-gradient(145deg, #ffffff 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 107, 0, 0.05);
    cursor: pointer;
}

.page2_data-card:active {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.05);
}

.page2_card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.page2_card-icon {
    width: 50px;
    height: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 5px;
    background-color: #ffffff;
    object-fit: contain;
}

.page2_card-title {
    font-size: 20px;
    color: #333333;
    white-space: pre-line;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.4;
}

.page2_card-number {
    font-size: 24px;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(255, 107, 0, 0.1);
}