.vfl-membership-prices {
    margin: 0 0 20px;
}

.membership-price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 2px solid #65B32E;
}

.membership-price-table tbody tr {
    border-bottom: 1px solid #ddd;
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
}

.membership-price-table tbody tr:last-child {
    border-bottom: none;
}

.membership-price-table td {
    padding: 12px 15px;
    font-size: 16px;
    background: #fff !important;
    border: none !important;
}

.membership-price-table td:first-child {
    text-align: left !important;
    font-weight: 400 !important;
    flex: 1 !important;
    position: relative !important;
    display: flex !important;
    align-items: baseline !important;
}

.membership-price-table td:first-child::after {
    content: "" !important;
    flex: 1 !important;
    border-bottom: 2px dotted #999 !important;
    margin: 0 8px !important;
    min-width: 20px !important;
    height: 1px !important;
    align-self: flex-end !important;
    margin-bottom: 5px !important;
}

.membership-price-table td:first-child span {
    flex-shrink: 0 !important;
}

.membership-price-table td:last-child {
    text-align: right !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

@media (max-width: 768px) {
    .membership-price-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .vfl-membership-prices {
        color: hsl(0, 0%, 85%);
    }

    .membership-price-table {
        background: hsl(120, 60%, 12%) !important;
        border: 2px solid hsl(120, 40%, 25%) !important;
    }

    .membership-price-table tbody tr {
        border-bottom: 1px solid hsl(120, 40%, 20%) !important;
    }

    .membership-price-table tbody tr:last-child {
        border-bottom: none;
    }

    .membership-price-table td {
        background: hsl(120, 60%, 12%) !important;
        color: hsl(0, 0%, 85%) !important;
    }

    .membership-price-table td:first-child::after {
        border-bottom: 2px dotted hsl(120, 40%, 30%) !important;
    }

    .membership-price-table td:first-child span {
        background: hsl(120, 60%, 12%) !important;
    }

    .membership-price-table td:last-child {
        background: hsl(120, 60%, 12%) !important;
        color: hsl(0, 0%, 95%) !important;
        font-weight: 700 !important;
    }
}
