.hidden {
    display: none;
}

.pricing-table {
    background-color: white;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    width: 100%;
    overflow: hidden;
}
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #FFFFFF;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 24px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.modal-header div{
    font-size:20px;
    color: #333333;
    line-height: 24px;
    font-weight: 600;
}
.close{
    cursor: pointer;
}
.ai-tools-list {
    display: grid;
    grid-template-columns: 2fr 210px;
    gap: 12px;
}

.ai-tools-list div {
    margin-bottom: 8px;
    padding: 8px;
    background-color: #F9F9F9 !important;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    line-height: 24px;
    align-items: center;
    gap: 5px;
}

.table-header {
    display: grid;
    grid-template-columns: 510px repeat(3, 250px);
    border-bottom: 1px solid #eee;
    background: #fafafa;
    width: 1260px;
}
.table-wrapper {
    width: 1260px;
}

.header-cell {
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-cell:first-child {
    text-align: left;
}

.header-cell h2 {
    font-size: 24px;
    font-weight: 600;
    /* margin-bottom: 5px; */
}

.header-cell .price-amount {
    font-size: 28px;
    font-weight: 700;
}

.header-cell .price-period {
    font-weight: 400;
    font-size: 14px;
    color: #8d8f94;
}

.header-cell .plan-name {
    font-size: 16px !important;
    font-weight: 600;
    color: #101010;
    line-height: 22px;
}

.tabs {
    display: flex;
    gap: 2px;
    margin-top: 10px;
    background: linear-gradient(180deg, #ededed 0%, #f6f6f6 53%, #ededed 100%);
    border-radius: 35px;
    width: max-content;
    padding: 4px;
}

.tab {
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 6px 19px;
    font-size: 14px;
    cursor: pointer;
    color: #8d8f94;
}

.plan-group,
.features-group {
    display: none;
}

.plan-group:not(.hidden),
.features-group:not(.hidden) {
    display: flex;
    flex-direction: column;
}

.tab.active {
    background-color: #fff;
    color: #101010;
}

.table-row {
    display: grid;
    grid-template-columns: 493px repeat(3, 250px);
}

.category-header {
    padding: 20px;
    font-weight: 600;
    font-size: 18px;
    grid-column: 1 / -1;
    background-color: #fafafa;
}

.row-label {
    padding: 5px 0px;
    font-size: 14px !important;
    color: #101010;
}

.row-label:last-child {
    border-bottom: none;
}

.row-value {
    padding: 5px 0px;
    text-align: center;
    font-size: 14px;
    color: #101010;
}

.row-value:last-child {
    border-bottom: none;
}

.checkmark {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    background: transparent !important;
    font-size: 18px;
}

.checkmark.active {
    color: #4caf50;
    font-weight: bold;
}

.checkmark.inactive {
    color: #cccccc;
}

.infinity {
    font-size: 18px;
}

.table-main {
    border-bottom: 1px solid #e5e5e5;
    padding: 16px;
}

.header-cell {
    border-right: 1px solid #e5e5e5;
}

.header-cell:nth-last-child(1) {
    border-right: 0 !important;
}

.table-main:nth-last-child(1) {
    border-bottom: 0 !important;
}

.rowHeader {
    font-size: 16px !important;
    font-weight: 500;
}

.pricing-table-mobile {
    margin-top: 20px;
    .header-cell:first-child {
        text-align: center;
    }
    .table-header {
        grid-template-columns: 100% repeat(1, 100%);
    }
    .table-row {
        display: grid;
        grid-template-columns: 50% repeat(1, 50%);
    }
    .innerTableTabs {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .row-value {
        text-align: end;
    }
    .table-wrapper,
    .table-header {
        width: 100%;
    }
    .checkmark {
        justify-content: end;
    }
}
@media (max-width: 1280px) {
    .pricing-table {
        overflow-x: scroll;
    }
    .pricing-table-mobile.pricing-table {
        overflow:hidden;
    }
}
@media (max-width: 768px) {
    .ai-tools-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 425px) {
    #outerTabs {
        flex-direction: column;
        width: 100% !important;
        border-radius: 18px;
        gap: 5px !important;
    }
}
