// stylelint-disable max-nesting-depth, selector-max-compound-selectors
@import 'app/styles/components';

.metadata-tab-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;

    .more-options {
        width: 25px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 42px;
        cursor: pointer;
    }

    .tabs {
        width: 100%;

        &.hidden {
            width: calc(100% - 25px);
        }

        .metadata-pane {
            padding-top: 20px;
            min-height: 150px;
        }

        /* stylelint-disable selector-no-qualifying-type */
        ul.tab-list {
            @include tab-list;
            height: 42px;
            overflow: hidden;

            .dark {
                font-weight: bold;
            }

            &.showMore {
                height: fit-content;
            }

            li {
                cursor: pointer;
            }
        }
    }

    &.mobile {
        .metadata-tab-container {
            width: 100%;

            .tabs {
                .metadata-pane {
                    padding-top: 20px;
                    min-height: 150px;
                }
            }
        }
    }
}
