input[type="radio"]:checked + .plan-card::after {
    content: "✓";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 24px;
    height: 24px;
    background:  var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    transform: translateY(-50%);
}

.plan-card {
    position: relative;
}

/* Form group adjustments */
.form-group-row label {
    display: block;
    font-weight: 600;
    color: #374151;
}    

.pricing-plans{
    width: 100%;
}


.plan-card {
    background-color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px 50px 20px 20px;
    margin: 14px 0;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s;
}

/* .plan-card:hover {
    box-shadow: 0 4px 20px rgba(155, 122, 41, 0.12);
} */

.plan-card strong {
    font-size: 1.25em;
    color: #1a1a1a;
    margin-bottom: 7px;
    font-weight: 600;
}

.plan-card .price {
    float: right;
    font-size: 16px;
    color: #212943;
    font-weight: bold;
    margin-top: 2px;
}

.plan-card .price small {
    font-size: 1em;
    color: #7a7a7a;
    font-weight: normal;
    margin-left: 2px;
}

.plan-card ul {
    margin: 16px 0 0 0;
    padding-left: 20px;
}

.plan-card li {
    color: #404040;
    font-size: 1em;
    line-height: 2em;
}


/* Hide the native radio */
.pricing-plans input[type="radio"]{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Make the label appear as the clickable card */
.pricing-plans .plan-card {
    cursor: pointer;
    /* keep the rest of your styling here */
}

/* Optional: Add a visual indicator for the selected card */
.pricing-plans input[type="radio"][name="candidate_subscription_plan"]:checked + .plan-card {
    border: 2px solid  var(--primary-color);
    box-shadow: 0 8px 24px rgba(210, 180, 85, 0.16);
}

.pricing-toggle-row .directorist-form-group{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.pricing-toggle-row .pricing-toggle {
    display: inline-flex;
    background: #f9f9f9;
    border-radius: 22px;
    padding: 3px;
}

.pricing-toggle-row  .pricing-toggle button {
    border: none;
    background: transparent;
    padding: 6px 20px;
    border-radius: 18px;
    color: #2a2a2a;
    font-size: 1em;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    outline: none;
}
.pricing-toggle-row  .pricing-toggle button.active {
    background: #111827;
    color: #fff;
    font-weight: 600;
}
