/* 北京校园卡续期\css\styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    padding: 0 1.07rem;
    margin: 0 auto;
}

.header {
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    color: white;
    padding: 1.43rem 0;
    text-align: center;
    box-shadow: 0 0.14rem 0.71rem rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 1.57rem;
    margin-bottom: 0.36rem;
}

.header p {
    font-size: 1rem;
    opacity: 0.9;
}

.notice {
    background-color: #fff8e1;
    color: #ff6f00;
    padding: 1.07rem;
    border-radius: 0.43rem;
    font-size: 0.93rem;
    margin: 1.07rem 0;
    text-align: center;
}

.card-container {
    margin: 1.43rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.07rem;
}

.card {
    background-color: white;
    border-radius: 0.71rem;
    padding: 1.43rem;
    box-shadow: 0 0.14rem 0.57rem rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:active {
    transform: scale(0.98);
    box-shadow: 0 0.07rem 0.36rem rgba(0, 0, 0, 0.1);
}

.card h2 {
    font-size: 1.29rem;
    margin-bottom: 1.07rem;
    color: #1e88e5;
    display: flex;
    align-items: center;
}

.card h2 i {
    margin-right: 0.71rem;
    font-size: 1.57rem;
}

.card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.07rem;
}

.operator-logo {
    width: 2.86rem;
    height: 2.86rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.43rem;
}

.plan-container {
    padding: 1.07rem 1.43rem;
}

.plan-item {
    display: flex;
    flex-direction: column;
    padding: 0.86rem 0;
    border-bottom: 1px solid #eee;
}

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

.plan-name {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.plan-yaoqiu {
    color: #e53935;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.plan-taocan {
    color: #e232323;
    font-weight:bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    color: #e53935;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.renew-btn {
    display: block;
    width: 100%;
    padding: 0.86rem;
    text-align: center;
    background-color: #1e88e5;
    color: white;
    text-decoration: none;
    border-radius: 0.43rem;
    font-size: 1.14rem;
    margin-top: 0.71rem;
    transition: background-color 0.2s;
}

.renew-btn:active {
    background-color: #1565c0;
}

.xuqi-btn {
    display: block;
    width: 100%;
    padding: 0.6rem;
    text-align: center;
    background-color: #1e88e5;
    color: white;
    text-decoration: none;
    border-radius: 0.43rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    transition: background-color 0.2s;
}

.xuqi-btn:active {
    background-color: #1565c0;
}

.gongzhonghao {
    background: white;
    border-radius: 0.71rem;
    padding: 1.43rem;
    margin: 1.43rem 0;
    text-align: center;
    box-shadow: 0 0.14rem 0.57rem rgba(0,0,0,0.05);
}

.gongzhonghao h3 {
    font-size: 1.14rem;
    color: #333;
    margin-bottom: 0.71rem;
}

.gongzhonghao p {
    font-size: 0.93rem;
    color: #666;
    margin-bottom: 0.71rem;
}

.qrcode-container {
    width: 10.71rem;
    height: 10.71rem;
    margin: 0.71rem auto;
    padding: 0.71rem;
    background: #f5f5f5;
    border-radius: 0.43rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.follow-tip {
    font-size: 0.86rem;
    color: #999;
    margin-top: 0.71rem;
}

.qrcode {
    width: 8rem;
    height: 8rem;
    margin: 0.5rem auto;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.7rem;
}

.footer {
    text-align: center;
    padding: 1.43rem 0;
    font-size: 0.86rem;
    color: #999;
}

/* 运营商logo背景色 */
.cmcc-bg {
    background-color: #1e88e5;
}

.cucc-bg {
    background-color: #e53935;
}

.ctcc-bg {
    background-color: #43a047;
}

.operator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
    
    .plan-item {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .plan-name {
        width: 30%;
        margin-bottom: 0;
    }
    
    .plan-price {
        width: 20%;
        margin-bottom: 0;
        text-align: right;
    }
    
    .plan-yaoqiu {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .xuqi-btn {
        width: auto;
        margin-left: auto;
        padding: 0.6rem 1rem;
    }
}