/* --- CrackMyResume Pricing Table Styles --- */
.cmr-pricing-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center; /* Center plans horizontally */
    gap: 25px; /* Space between pricing plans */
    padding: 30px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1100px; /* Max width for the container */
    margin: 40px auto; /* Center container on page and add margin */
}

.cmr-pricing-plan {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    flex: 1; /* Allow plans to grow */
    min-width: 280px; /* Minimum width before wrapping */
    max-width: 340px; /* Maximum width of a plan */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Needed for absolute positioning of badge */
    display: flex;
    flex-direction: column; /* Stack elements vertically */
}

.cmr-pricing-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Highlighted Plan Styles */
.cmr-pricing-plan.highlight {
    border: 2px solid #0073aa; /* WordPress blue, change as needed */
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.2); /* Adjusted shadow for highlight */
    transform: scale(1.03); /* Slightly larger */
    z-index: 1; /* Bring highlighted plan slightly forward if overlapping happens */
}

.cmr-pricing-plan.highlight:hover {
     transform: scale(1.03) translateY(-5px); /* Keep scale on hover */
}


/* Popular Badge for Highlighted Plan */
.cmr-popular-badge {
    position: absolute;
    top: -15px; /* Position above the card */
    left: 50%;
    transform: translateX(-50%);
    background-color: #0073aa; /* Match highlight border */
    color: #ffffff;
    padding: 5px 15px;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 15px;
    white-space: nowrap;
}


/* Plan Title */
.cmr-plan-title {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 20px;
    margin-top: 10px; /* Add some space below badge if present */
    font-weight: 600;
}

/* Price Section */
.cmr-price-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.cmr-original-price {
    font-size: 1.1em;
    color: red;
    text-decoration: line-through;
    margin-right: 8px;
    display: inline-block; /* Keep on same line */
}

.cmr-offer-price {
    font-size: 2.8em;
    font-weight: bold;
    color: #005f8c; /* Darker shade of blue */
    display: block; /* Put main price on its own line */
    line-height: 1.1;
    margin: 5px 0;
}

.cmr-price-term {
    font-size: 0.9em;
    color: #777;
    display: block;
}

/* Offer Badge for Non-Highlighted Plans */
.cmr-offer-badge {
    display: inline-block;
    background-color: #d1e H_2a; /* Light green background */
    color: #0f5132; /* Dark green text */
    padding: 3px 8px;
    font-size: 0.8em;
    border-radius: 4px;
    margin-top: 5px;
    font-weight: 500;
}

/* Features List */
.cmr-features-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 25px auto; /* Center list items */
    text-align: left;
    color: #555;
    flex-grow: 1; /* Allows list to push button down */
    min-height: 100px; /* Ensure some minimum space for features */
}

.cmr-features-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px; /* Space for checkmark */
    font-size: 0.95em;
    line-height: 1.4;
}

/* Checkmark icon using CSS */
.cmr-features-list li::before {
    content: '✔'; /* Checkmark character */
    position: absolute;
    left: 0;
    top: 0;
    color: #22a118; /* Green color for checkmark */
    font-weight: bold;
    font-size: 1.1em;
}


/* Call to Action Button */
.cmr-cta-button {
    display: inline-block;
    background-color: #0073aa; /* Primary button color */
    color: #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto; /* Pushes button to the bottom */
    border: none;
    cursor: pointer;
}

.cmr-cta-button:hover {
    background-color: #005f8c; /* Darker shade on hover */
    color: #ffffff;
    transform: translateY(-2px);
}

/* Highlighted plan button style override */
.cmr-pricing-plan.highlight .cmr-cta-button {
     background-color: #008a00; /* Example: Green button for highlighted plan */
     box-shadow: 0 2px 5px rgba(0, 138, 0, 0.3);
}

.cmr-pricing-plan.highlight .cmr-cta-button:hover {
     background-color: #006f00; /* Darker green on hover */
}


/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .cmr-pricing-container {
        gap: 20px;
    }
     .cmr-pricing-plan {
        max-width: 320px; /* Adjust max width */
    }
}

@media (max-width: 767px) {
    .cmr-pricing-container {
        flex-direction: column; /* Stack plans vertically */
        align-items: center; /* Center stacked plans */
        gap: 30px; /* Increase gap when stacked */
    }

    .cmr-pricing-plan {
        width: 90%; /* Make plans wider on small screens */
        max-width: 400px; /* Limit maximum width when stacked */
        flex: none; /* Reset flex property */
    }

    .cmr-pricing-plan.highlight {
        transform: scale(1); /* Reset scale on mobile */
    }
    .cmr-pricing-plan.highlight:hover {
        transform: translateY(-5px); /* Keep hover effect */
    }
}

@media (max-width: 480px) {
     .cmr-plan-title {
        font-size: 1.4em;
    }
    .cmr-offer-price {
        font-size: 2.4em;
    }
    .cmr-pricing-plan {
        padding: 25px 20px;
    }
}