/* Enhanced Pricing Table Styles */
:root {
    --pricing-primary: #0f2a55;
    --pricing-secondary: #112f5e;
    --pricing-gradient-start: #102d5a;
    --pricing-gradient-end: #133166;
    --pricing-text-light: #ffffff;
    --pricing-text-dark: #333333;
    --pricing-highlight: #ffdd00;
    --pricing-border: #dce6f2;
    --pricing-hover: #eaf2fb;
    --pricing-even-row: #f2f8ff;
}

/* Table container styling */
.price-table-container {
    padding: 20px 0;
    margin-bottom: 30px;
}

.pricing-subtitle {
    color: var(--pricing-secondary);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.4rem;
}

.pricing-subtitle:after {
    content: '';
    position: absolute;
    width: 120px;
    height: 3px;
    background-color: var(--pricing-highlight);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Table wrapper */
.price-table-wrapper {
    margin-bottom: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--pricing-border);
}

/* Enhanced Table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Table header */
.price-table thead {
    background-color: var(--pricing-primary);
}

.price-table-header th {
    padding: 18px 15px;
    color: var(--pricing-text-light);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--pricing-primary);
}

/* Table cells */
.price-table td {
    padding: 16px 20px;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--pricing-text-dark);
    border-bottom: 1px solid var(--pricing-border);
}

/* First column styling - for amounts */
.price-table td:first-child {
    font-weight: 600;
    color: var(--pricing-secondary);
    background-color: rgba(255, 255, 255, 0.8);
}

/* Alternating rows */
.price-table tr.even-row {
    background-color: var(--pricing-even-row);
}

/* Highlight on hover */
.price-table tr:hover td {
    background-color: var(--pricing-hover);
}

/* Special styling for fee text */
.price-table td:nth-child(2),
.price-table td:nth-child(3) {
    font-weight: 600;
}

/* Highlight best value */
.price-table tr:nth-child(4) td {
    position: relative;
}

.price-table tr:nth-child(4) td:last-child {
    font-weight: 700;
    color: var(--pricing-primary);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .price-table th,
    .price-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .pricing-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .price-table {
        font-size: 0.85rem;
        margin: 0 -10px; /* Mở rộng bảng ra ngoài container một chút */
        width: calc(100% + 20px);
    }
    
    .price-table th {
        font-size: 0.85rem;
        padding: 8px 3px;
        letter-spacing: -0.3px;
        line-height: 1.2;
        vertical-align: middle;
    }
    
    .price-table td {
        padding: 8px 3px;
        font-size: 0.85rem;
    }
    
    .price-table th,
    .price-table td {
        white-space: normal;
    }

    /* Đảm bảo các mức giá hiển thị đúng */
    .price-table td:first-child {
        font-weight: 600;
        padding-left: 2px;
        padding-right: 2px;
        font-size: 0.85rem;
        letter-spacing: -0.3px;
    }
}