.feature-table {
    width: 100%;
    border-collapse: collapse;

    thead tr {
        border: 0;
    }

    th,
    td {
        text-align: left;
        padding: 8px;
        padding: 1rem;
        border: 1px solid #ddd;
        border-left: 0;
        border-right: 0;
    }

    th {
        color: black;
    }

    h2 {
        margin-right: 0;
    }

    /* Typography Styles*/
    h5.fw-bold {
        font-size: 1rem !important;
    }

    .feature-text-container p {
        font-size: 0.85rem !important;
        margin-bottom: 0;
    }

    .feature-name {
        width: 60%;
        padding: 8px 16px;

        h5 {
            display: flex;
            align-items: center;
        }

        p {
            margin-top: 0.5rem;
        }

    }

    .logo-img {
        max-width: 210px !important;
        min-width: 120px;
        height: auto;
        transition: width 0.3s;
    }

    .feature-check {
        width: 40%;
        text-align: center;
    }

    /* Remove top border for the first feature with a parent */
    .accordion-inner table tr:first-child .feature-name {
        border-top: 0;
    }

    th.feature-check.logo-cell {
        margin-bottom: 50px;
        max-width: 400px;

        div {
            /* From https://css.glass */
            background: rgba(167, 230, 255, 0.04);
            border-radius: 16px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(0.9px);
            -webkit-backdrop-filter: blur(0.9px);
            border: 1px solid rgba(167, 230, 255, 1);
            min-width: fit-content;
            justify-content: center;
            align-items: center;
            display: flex;
            padding: 1.6rem 0.8rem;
            max-width: 340px;
            margin: auto;
        }

    }
}

/* Tooltip */
.tooltip-svg {
    margin-left: 0.5rem;
    width: 20px;
    height: 20px;
}

.tooltip-inner {
    font-family: 'Open Sans', sans-serif;
    max-width: 300px;
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
}

.feature-table thead tr {
    border: 0;
}

.feature-table th,
.feature-table td {
    text-align: left;
    padding: 1rem;
    border: 1px solid #ddd;
    border-left: 0;
    border-right: 0;
}

.feature-table th {
    color: black;
}

.feature-name {
    width: 60%;
}

.logo-cell {
    text-align: center;
    max-width: 200px;
}

.logo-img {
    width: 150px;
    height: auto;
}

.accordion-toggle {
    cursor: pointer;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.accordion-toggle:hover {
    background-color: #e9e9e9;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.accordion-toggle .accordion-icon {
    margin-left: auto;
    transition: transform 0.3s;
}

.accordion-content {
    display: none;
}

.accordion-content ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.accordion-content ul li {
    margin-bottom: 0.5rem;
}

.accordion-inner {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.accordion-inner.active {
    display: block;
    max-height: 1000px;
    /* Arbitrary large value to ensure smooth transition */
    transition: max-height 0.5s ease-in;
}

.tooltip-svg {
    margin-left: 0.5rem;
    width: 20px;
    height: 20px;
}

.tooltip-inner {
    font-family: 'Open Sans', sans-serif;
    max-width: 300px;
}

@media (max-width: 768px) {

    .feature-table th,
    .feature-table td {
        padding: 0.5rem;
    }

    .logo-img {
        width: 100px;
    }
}

/* Remove top border for the first feature with a parent */
.accordion-subfeature:first-child .feature-name {
    border-top: 0;
}

/* Specific styles for accordion headers */
.accordion-header h5 {
    font-size: 1.2rem;
    font-weight: normal;
}
