/* 主容器样式 */
.account-container {
    min-height: 100vh;
    background: #F1F1F1;
    color: #fff;
    padding-bottom: 40px;
}

.account-container .navigation {
    position: initial;
    transform: none;
}


/* 主要内容区域 */
.main-content {
    width: 90%;
    max-width: 144rem;
    margin: 10rem auto;
    min-height: 50vh;
}

/* 标签页样式 */
.tabs {
    display: flex;
    /* gap: 40px; */
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 0;
    font-size: 18px;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: #fff;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(119, 184, 28, 1);
}

/* 标签内容样式 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Plan卡片样式 */
.plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.plan-card {
    background: rgba(245, 245, 245, 0.02);
    border-radius: 20px;
    padding: 30px;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.subscribe-btn {
    padding: 8px 16px;
    background: rgba(119, 184, 28, 0.1);
    border: none;
    border-radius: 15px;
    color: rgba(119, 184, 28, 1);
    cursor: pointer;
}

.plan-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.plan-title h3{
    font-size: 20px;
    margin: 0 0 1rem;
    margin-right: 1rem;
    color: #000;
}
.plan-type {
    color: rgba(0, 0, 0, 0.68);
    font-size: 16px;
}

.plan-date {
    color: rgba(0, 0, 0, 0.68);
    font-size: 16px;
    margin-bottom: 20px;
}

.plan-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    color: rgba(0, 0, 0, 0.68);
    flex-wrap: wrap;
    font-size: 16px;
}

/* 相机列表 */

.plan_cam{
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 4rem auto 0rem;
}

.plan_cam_box{
    flex: 1;
    width: 100%;
    max-width: 33rem;
    min-width: 33rem;
    padding: 3rem 2.4rem;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255);
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
}
.plan_cam_name{
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    margin-bottom: 2.5rem;
    margin-top: 2rem;
    color: #000;
}
.plan_cam_Subscribe{
    display: flex;
    /* height: 40px; */
    padding: 5px 3rem;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    color: rgba(2, 198, 165, 1);
    border-radius:  0 24px 0 24px;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: -2px;
}


/* 购买更多按钮 */
.buy-more-btn {
    display: block;
    width: 200px;
    margin: 40px auto;
    padding: 15px 30px;
    background: rgba(2, 198, 165, 1);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}



/* 订阅信息样式 */
.subscription-info {
    /* background: rgba(245, 245, 245, 0.02);
    border-radius: 20px;
    padding: 30px; */
    border-bottom: 2px solid #d9d9d9;
}
.balance-info{
     /* background: rgba(245, 245, 245, 0.02);
    border-radius: 20px;
    padding: 30px; */
}

.info-text {
    color: rgba(0, 0, 0);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.subscription-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 70%;
    margin: 20px auto;
    font-size: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    color: rgba(0, 0, 0);
    flex-wrap: wrap;
}

.no {
    color: #ff4d4f;
}

/* 余额信息样式 */
.balance-details {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    justify-content: center;
    font-size: 3rem;
}

.balance-item {
    /* flex: 1; */
    text-align: center;
    width: 30%;
    border-radius: 12px;
    background: rgba(245, 245, 245, 0.02);
    padding: 0 0 4rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.balance-item h4 {
    margin-bottom: 4rem;
}

.in_effective{
    background-color: #fff;
    color: #02C6A5;
}
.Not_effective{
    background-color: #fff;
    color: #02C6A5
}

.subscription-cancelSubPlan{
    border-bottom: 2px solid #d9d9d9;
    padding: 10px 0;
    color: #000;
}
.subscription-cancelSubPlan-box{
    width: 70%;
    text-align: right;
    margin: 0 auto;
}
.subscription-cancelSubPlan-btn{
    padding: 10px 20px;
    display: inline;
    border:2px solid #000;
    border-radius: 10px;
    line-height: 50px;
    font-size: 16px;
    cursor: pointer;
}

/* 响应式样式 */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }

    .header-left {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 20px;
    }

    .plan-cards {
        grid-template-columns: 1fr;
    }

    .balance-details {
        flex-direction: column;
    }

    .plan_cam_box{
        max-width: 100%;
    }
    .plan_cam{
        margin: 4rem auto;
    }
    .balance-item{
        width: 100%;
    }
    .subscription-details,.subscription-cancelSubPlan-box{
        width: 100%;
    }
    .main-content{
        margin: 4rem auto;
    }
} 