.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Poppins", sans-serif;
    table-layout: fixed;
}

/* .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
} */

.pricing-table th,
.pricing-table td {
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    word-wrap: break-word;
    min-width: 150px;
}

/* .table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: #36c6b0;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-track {
    background-color: #f0f0f0;
} */

.pricing-table th {
    background-color: #0f1c35;
    color: #36c6b0;
    font-weight: 600;
}

.category-row {
    background-color: #0f1c35;
    color: #fff;
    cursor: pointer;
    text-align: left;
    font-weight: 500;
    position: relative;
}

.feature-row,
.price-row,
.plan-note-row {
    background-color: #fff;
}

.plan-name {
    font-weight: 600;
    font-size: 16px;
}

.plan-note {
    font-size: 14px;
    color: #777;
    font-style: italic;
}

.expand-icon-plus,
.expand-icon-minus {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    background-color: #1d71b8;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 25px;
    text-align: center;
    vertical-align: middle;
}
tr.category-row.open .expand-icon-plus {
    display: none;
}
.expand-icon-plus {
    display: block;
}
tr.category-row.open .expand-icon-minus {
    display: block;
}
.expand-icon-minus {
    display: none;
}
/* .expand-icon.open {
    transform: rotate(45deg);
} */

.pricing-toggle {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-toggle button {
    padding: 8px 20px;
    border: 1px solid #1d71b8;
    background: white;
    color: #1d71b8;
    font-weight: 600;
    cursor: pointer;
    margin: 0 5px;
    border-radius: 4px;
    transition: 0.3s;
}

.pricing-toggle button.active {
    background-color: #1d71b8;
    color: white;
}

/* ✅ Mobile view styling with desktop color scheme */
@media (max-width: 560px) {
    .table-responsive {
        display: none;
    }

    .mobile-pricing {
        display: block;
    }

    .plan-card-wrapper {
        border: 1px solid #0f1c35;
        border-radius: 6px;
        margin-bottom: 20px;
        background-color: #0f1c35;
        color: #fff;
        overflow: hidden;
    }

    .plan-card-header {
        padding: 15px;
        background-color: #0f1c35;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .plan-card-header .plan-name {
        font-size: 16px;
        font-weight: 600;
        color: #36c6b0;
    }

    .plan-card-header .plan-price {
        font-size: 14px;
        color: #36c6b0;
    }

    .plan-card-content {
        padding: 0 15px 15px;
        background: #f9f9f9;
        color: #000;
        display: none;
    }

    .plan-card-content .plan-note {
        display: block;
        padding: 8px 10px;
        margin: 0 0 10px 0;
        text-align: center;
        font-size: 13px;
        color: #555;
        line-height: 1.4;
        background: #f9f9f9;
        border-radius: 4px;
    }

    .plan-card-content .plan-note:not(:empty) {
        border-bottom: 1px solid #e0e0e0;
    }

    .feature-group-header {
        background: #1a2b4d;
        border-radius: 6px;
        padding: 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 10px;
    }

    .feature-group-name {
        color: #36c6b0;
        font-size: 14px;
    }

    .feature-items {
        display: none;
        background: #fff;
    }

    .feature-item {
        padding: 5px;
        border-bottom: 1px solid #e0e0e0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
    }

    .expand-icon {
        margin-right: 0;
    }
}

@media (min-width: 561px) {
    .mobile-pricing {
        display: none;
    }
}

.checkbox {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    font-size: 16px;
    vertical-align: middle;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox input:checked ~ .checkbox__checkmark {
    background-color: #36c6b0;
}

.checkbox input:checked ~ .checkbox__checkmark:after {
    opacity: 1;
}

.checkbox:hover input ~ .checkbox__checkmark {
    background-color: #eee;
}

.checkbox:hover input:checked ~ .checkbox__checkmark {
    background-color: #36c6b0;
}

.checkbox .checkbox__checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    transition: background-color 0.25s ease;
}

.checkbox .checkbox__checkmark:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.checkbox .checkbox__body {
    color: #36c6b0;
    line-height: 1.4;
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

.tick-img {
    width: 24px !important;
}

/* Pricing overview page */
.detailed-features {
    display: flex;
    align-items: center;
    justify-content: end;
    padding-right: 10px;
    gap: 8px;
    color: #0f1c35;
    font-size: 15px;
    font-weight: 600;
}

.detailed-features:hover {
    cursor: pointer;
}

.tick-icon {
    margin-right: 6px;
}

.plus-icon {
    position: relative;
    width: 10px;
    margin-right: 10px;
    height: 10px;
}

.plus-icon::before,
.plus-icon::after {
    content: "";
    position: absolute;
    background-color: #0f1c35;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plus-icon::before {
    width: 2px;
    height: 100%;
}

.plus-icon::after {
    width: 100%;
    height: 2px;
}

.tab-pane.annualplan {
    max-width: 85%;
    width: 85%;
    margin: 0 auto;
}
.mobile-pricing .expand-icon-plus,
.mobile-pricing .expand-icon-minus {
    background-color: #30b39f;
}

span.expand-icon.mobile-icon {
    font-size: 18px;
    color: #fff;
    border: 2px solid;
    width: 22px;
    height: 22px;
    border-radius: 20px;
    line-height: 19px;
    justify-content: center;
    display: flex;
}
