/* Global Styles */
body {
    font-family: 'Roboto', sans-serif !important;
}

/* Pricing Section Header Styles */
.pricing-card-header {
    color: #01293D !important;
    text-align: center !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 120% !important; /* Corresponds to 38.4px */
}

/* Card General Styles */
#pricing-section .card {
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 32px !important;
    padding: 40px 0px 0px 0px !important;
    border-radius: 24px !important;
    border: none !important;
    /* Updated Background Image */
    background-image: url('/img/BizDriver/PriceCardBg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    /* Ensure text is readable over background */
    color: #fff !important;
    /* Visual depth */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

    /* Ensure text inside cards is white */
    #pricing-section .card .card-body,
    #pricing-section .card .features .feature,
    #pricing-section .card .card-price,
    #pricing-section .card .pricing-card-header,
    #pricing-section .card .features .checkmark {
        color: #fff !important;
    }

    /* Checkmark color override */
    #pricing-section .card .features .checkmark {
        color: #37C3A8 !important;
    }

/* Row layout */
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* Aligns items vertically */
}

/* Card hover animation */
.card:hover {
    transform: translateY(-5px) !important;
}

/* Features List Styling */
.features {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 20px !important;
}

    .features .feature {
        align-items: center !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
        text-align: left !important;
        color: #01293D !important;
        margin-bottom: 10px !important; /* Adjust spacing between features */
    }

        .features .feature .checkmark {
            margin-right: 5px !important;
            color: #28a745 !important; /* Checkmark color (overridden above for dark bg) */
        }

/* Nested Features (for bullet points) */
.sub-features {
    list-style-type: disc !important;
    padding-left: 40px !important; /* Indent nested list items */
}

/* Card Price Styling */
.card-price {
    color: var(--Blue---blue-800, #01293D) !important;
    text-align: center !important;
    font-family: Roboto !important;
    font-size: 40px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 120% !important;
}

/* Center CTA button */
.center-button {
    display: block;
    margin: 0 auto;
    width: 200px;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .pricing-card-header {
        font-size: 24px !important; /* Smaller font size for mobile */
    }

    .card-price {
        font-size: 28px !important; /* Adjusted for better readability on small screens */
    }

    .card {
        padding: 24px 12px !important; /* Reduced padding for compact appearance */
    }
}

.centered-text {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

#billing-plan-select,
#managed-plan-select {
    font-size: 0.8em;
}

/* Plan Label Styles */
.plan-label {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #37C3A8;
    color: #01293D;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.most-popular .plan-label {
    display: inline-block; /* Show for most popular plan */
    border: solid 3px #4caf50; /* Green border for most popular plan */
}

.new-plan .plan-label {
    display: inline-block; /* Show for new plan */
    border: solid 3px #37C3A8; /* Same border color as background for consistency */
}

/* Bonus Label */
.bonus-label {
    background-color: #37C3A8;
    color: #01293D;
    font-size: 12px; /* Smaller font size */
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-right: 0.5em;
}
