.indigo-history-tabs {
    display: flex;
    gap: 0;
    width: 100%;
    min-height: 500px;
}

.indigo-history-tabs__sidebar {
    flex: 0 0 300px;
    background-color: #f5f5f5;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.indigo-history-tabs__section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 30px 0;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.indigo-history-tabs__tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 300px);
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.indigo-history-tabs__tabs::-webkit-scrollbar {
    width: 6px;
}

.indigo-history-tabs__tabs::-webkit-scrollbar-track {
    background: transparent;
}

.indigo-history-tabs__tabs::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.indigo-history-tabs__tabs::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.indigo-history-tabs__tab {
    padding: 16px 0;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.indigo-history-tabs__tab--hidden {
    display: none;
}

.indigo-history-tabs.tabs-expanded .indigo-history-tabs__tab--hidden {
    display: flex;
}

.indigo-history-tabs__tab:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.indigo-history-tabs__tab:hover {
    color: #000;
    padding-left: 8px;
}

.indigo-history-tabs__tab.active {
    color: #000;
    font-weight: 600;
    padding-left: 8px;
}

.indigo-history-tabs__arrow {
    width: 12px;
    height: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.indigo-history-tabs__tab:hover .indigo-history-tabs__arrow,
.indigo-history-tabs__tab.active .indigo-history-tabs__arrow {
    opacity: 1;
    transform: translateX(0);
}



.indigo-history-tabs__more-tab {
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
}

.indigo-history-tabs__more-tab:hover {
    color: #000;
}

.indigo-history-tabs.tabs-expanded .indigo-history-tabs__more-tab {
    display: none;
}

.indigo-history-tabs__plus-icon {
    width: 12px;
    height: 12px;
    color: #ccc;
    transition: all 0.3s ease;
}

.indigo-history-tabs__more-tab:hover .indigo-history-tabs__plus-icon {
    color: #000;
}

.indigo-history-tabs__content {
    flex: 1;
    background-color: #fff;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

.indigo-history-tabs__panel {
    display: none;
    opacity: 0;
    animation: fadeOut 0.3s ease;
}

.indigo-history-tabs__panel.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.indigo-history-tabs__content-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: #000;
    line-height: 1.3;
}

.indigo-history-tabs__content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.indigo-history-tabs__content-text p {
    margin: 0 0 20px 0;
}

.indigo-history-tabs__content-text p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .indigo-history-tabs__sidebar {
        flex: 0 0 250px;
        padding: 30px 20px;
    }

    .indigo-history-tabs__content {
        padding: 40px 50px;
    }

    .indigo-history-tabs__content-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .indigo-history-tabs {
        flex-direction: column;
    }

    .indigo-history-tabs__sidebar {
        flex: 0 0 auto;
        width: 100%;
        padding: 30px 20px;
    }

    .indigo-history-tabs__tabs {
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
    }

    .indigo-history-tabs__tab {
        border-bottom: none;
        border-right: none;
        white-space: nowrap;
        padding: 10px 0;
        min-width: auto;
    }

    .indigo-history-tabs__tab:first-child {
        border-top: none;
    }

    .indigo-history-tabs__tab.active {
        padding-left: 0;
        border-bottom: 2px solid #000;
    }

    .indigo-history-tabs__tab:hover {
        padding-left: 0;
    }

    .indigo-history-tabs__arrow {
        display: none;
    }

    .indigo-history-tabs__content {
        padding: 30px 20px;
    }

    .indigo-history-tabs__content-title {
        font-size: 24px;
    }

    .indigo-history-tabs__content-text {
        font-size: 15px;
    }
}

/* Elementor Editor Styles */
.elementor-editor-active .indigo-history-tabs__panel {
    display: block;
    opacity: 0.3;
    margin-bottom: 20px;
    border: 1px dashed #ccc;
    padding: 20px;
}

.elementor-editor-active .indigo-history-tabs__panel.active {
    opacity: 1;
    border-color: #000;
}