/* ========================================
   资费标准页面样式
   ======================================== */

/* 资费表格 */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e1e1e1;
}

.fee-table thead th {
    background: #0390d9;
    color: #fff;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    border: none;
}

.fee-table thead th:first-child {
    width: 12%;
}

.fee-table thead th:last-child {
    width: 12%;
}

.fee-table tbody td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    vertical-align: middle;
}

.fee-table tbody td:first-child {
    text-align: center;
    font-weight: bold;
    color: #333;
    background: #f9f9f9;
}

.fee-table tbody td:last-child {
    text-align: center;
}

.fee-table tbody tr:hover {
    background: #f5f9fc;
}

.fee-table tbody tr:last-child td {
    border-bottom: none;
}

.fee-table a {
    color: #0390d9;
    font-weight: bold;
}

.fee-table a:hover {
    color: #0277b6;
}

/* 版本名称标签 */
.version-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.version-tag.basic {
    background: #e8f4fd;
    color: #0390d9;
}

.version-tag.standard {
    background: #fff3e0;
    color: #ff6600;
}

.version-tag.premium {
    background: #fce4ec;
    color: #c62828;
}

.version-tag.addon {
    background: #e8f5e9;
    color: #2e7d32;
}

.version-tag.custom {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* 资费底部提示 */
.fee-footer {
    margin-top: 25px;
    text-align: center;
}

.fee-footer .trust-text {
    font-size: 18px;
    font-weight: bold;
    color: #0390d9;
    margin-bottom: 15px;
}

.fee-footer .qr-code {
    margin-top: 10px;
}

.fee-footer .qr-code img {
    width: 88px;
    height: 94px;
}

/* 移动端资费卡片化 */
@media screen and (max-width: 768px) {
    .table-responsive {
        overflow-x: visible;
    }

    .table-responsive > .fee-table {
        border: none;
        min-width: 0 !important;
    }

    .fee-table thead {
        display: none;
    }

    .fee-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e1e1e1;
        border-radius: 8px;
        overflow: hidden;
    }

    .fee-table tbody td {
        display: block;
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }

    .fee-table tbody td:first-child {
        background: #0390d9;
        color: #fff;
        text-align: center;
        font-size: 16px;
        padding: 14px 15px;
    }

    .fee-table tbody td:first-child .version-tag {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 15px;
        padding: 5px 16px;
    }

    .fee-table tbody td:nth-child(2) {
        padding: 15px;
        font-size: 13px;
        line-height: 1.8;
    }

    .fee-table tbody td:last-child {
        text-align: center;
        border-bottom: none;
        padding: 12px 15px;
    }

    .fee-table tbody td::before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        color: #0390d9;
        margin-bottom: 6px;
        font-size: 13px;
    }

    .fee-table tbody td:first-child::before,
    .fee-table tbody td:last-child::before {
        display: none;
    }

    .fee-footer .trust-text {
        font-size: 16px;
    }

    .fee-footer .qr-code img {
        width: 70px;
        height: auto;
    }
}
