.nested-tabs-wrapper {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.nested-tabs-wrapper .cc-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.nested-tabs-wrapper .cc-feature-card {
    cursor: pointer;
    padding: 42px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-color: #e5e7eb;
}

.nested-tabs-wrapper .cc-feature-card:first-child {
    border-width: 0 1px 1px 0;
    border-style: solid;
    border-top-left-radius: 16px;
}

.nested-tabs-wrapper .cc-feature-card:nth-child(2) {
    border-width: 0 0 1px 0;
    border-style: solid;
}

.nested-tabs-wrapper .tabs-content-box {
    padding: 64px 64px 0 64px;
    background-image: url('../img/reports-built-for-bg.webp');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.nested-tabs-wrapper .tab-content {
    border: solid #e5e7eb;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background-color: #fff;
    border-width: 1px 1px 0 1px;
    padding: 64px 48px;
}

.nested-tabs-wrapper .cc-feature-card:nth-child(3) {
    border-width: 0 1px 0 0;
    border-style: solid;
}

.nested-tabs-wrapper .cc-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nested-tabs-wrapper .cc-feature-icon {
    width: 44px;
    height: 44px;
    background-color: #F3F4F6;
    border-radius: 8px;
    padding: 10px;
}

.nested-tabs-wrapper .cc-feature-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.025em;
    color: #111827;
}

.nested-tabs-wrapper .cc-feature-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #6B7280;
}

.nested-tabs-wrapper .cc-feature-card.active {
    background-color: #F9FAFB;
}

.nested-tabs-wrapper .tab-content {
    display: none;
}

.nested-tabs-wrapper .tab-content.active {
    display: block;
}

.nested-tabs-wrapper .tab-inner {
    display: flex;
    gap: 24px;
}

.nested-tabs-wrapper .accordion-box {
    width: 40%;
}

.nested-tabs-wrapper .image-box {
    width: 60%;
}

.nested-tabs-wrapper .accor-content {
    overflow: hidden;
}

.nested-tabs-wrapper .accor-content-inner {
    display: none;
}

.nested-tabs-wrapper .accor-item.active .accor-content-inner {
    display: block;
    padding-bottom: 24px;
    overflow: hidden;
    transition: none !important;
}

.nested-tabs-wrapper .accor-item {
    border-bottom: 1px solid #E5E7EB;
}

.nested-tabs-wrapper .accor-title {
    font-family: 'Inter';
    background: none;
    border: none;
    outline: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    white-space: wrap;
    text-transform: initial;
    color: #000000;
    width: 100%;
    gap: 10px;
}

.nested-tabs-wrapper .accor-title .accor-post-title {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600 !important;
    letter-spacing: 0;
    color: #111827;
}

.nested-tabs-wrapper .accor-title .icon {
    transition: transform 0.3sease;
    width: 24px;
    height: 24px;
    display: flex;
}

.nested-tabs-wrapper .accor-content p {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #6B7280;
}

.accor-title .icon {
    transition: transform 0.3s ease;
}

/* Rotate arrow UP when active */
.nested-tabs-wrapper .accor-item.active .icon {
    transform: rotate(180deg);
}

.nested-tabs-wrapper .skeleton-loading {
    background: #f3f4f6;
    border-radius: 8px;
}

.nested-tabs-wrapper .accordion-box .accor-item:first-child {
    .accor-title {
        padding-top: 0px;
    }
}

@media screen and (max-width: 1366px) {
    .nested-tabs-wrapper .tabs-content-box {
        padding: 30px 30px 0 30px;
    }

    .nested-tabs-wrapper .cc-feature-card {
        padding: 34px 28px;
        gap: 28px;
    }

    .nested-tabs-wrapper .tab-content {
        padding: 30px;
    }
}

@media only screen and (max-width: 1024px) {
    .nested-tabs-wrapper .image-box {
        display: none;
    }

    .nested-tabs-wrapper .accordion-box {
        width: 100%;
    }

    .nested-tabs-wrapper .cc-feature-card {
        padding: 24px 34px;
        gap: 24px;
    }

    .nested-tabs-wrapper .tab-content {
        padding: 24px;
        border-width: 0;
        border-radius: 0 0 16px 16px;
    }

    .nested-tabs-wrapper .accor-content p {
        margin-bottom: 24px;
    }

    .nested-tabs-wrapper .tabs-content-box {
        padding: 0;
        background-image: unset;
    }

    .nested-tabs-wrapper .tabs-content-box .tab-content {
        background-image: url('../img/role-based-blue-bg.webp');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
}

@media screen and (max-width: 767px) {
    .nested-tabs-wrapper {
        border: none;
    }

    .nested-tabs-wrapper .cc-feature-grid {
        grid-template-columns: 1fr;
        margin-bottom: 24px;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
    }

    .nested-tabs-wrapper .cc-feature-card {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        border-bottom: 1px solid #e5e7eb;
        padding: 16px !important;
        background-color: #fff;
    }

    .nested-tabs-wrapper .cc-feature-text {
        display: none;
    }

    .nested-tabs-wrapper .cc-feature-card:first-child {
        border-radius: 16px 16px 0 0;
        border-width: 0 0 1px 0 !important;
        border-style: solid !important;
    }

    .nested-tabs-wrapper .tabs-content-box .tab-content {
        background-image: unset;
        border-radius: 16px;
        padding: 16px;
    }

    .nested-tabs-wrapper .cc-feature-card:last-child {
        border-radius: 0 0 16px 16px;
        border-left: 0 !important;
    }

    .nested-tabs-wrapper .tabs-content-box {
        border-radius: 16px;
        border: 1px solid #e5e7eb;
    }

    .nested-tabs-wrapper .accor-title {
        padding-bottom: 16px;
    }

    .nested-tabs-wrapper .accor-content p,
    .nested-tabs-wrapper .accor-item.active .accor-content-inner {
        margin-bottom: 16px;
    }

    .nested-tabs-wrapper .accor-title .accor-post-title {
        font-size: 20px;
        letter-spacing: -0.025em;
    }
}