@use 'common-mixins';

:host {
    flex: 1;
    overflow: hidden;
}

.dictionary-content {
    display: flex;
    height: 100%;

    .dictionaries {
        border-right: 1px solid var(--iqser-separator);
        overflow-y: auto;
        width: 200px;
        @include common-mixins.scroll-bar;

        .dictionary {
            height: 40px;
            padding: 15px;
            border-bottom: 1px solid var(--iqser-separator);
            display: flex;
            gap: 10px;
            cursor: pointer;

            .dictionary-label {
                font-weight: bold;
            }

            .details {
                display: flex;
                flex-direction: column;
                gap: 5px;
            }

            &.active {
                background: var(--iqser-grey-2);
                box-shadow: 0 5px 4px -4px rgba(0, 0, 0, 0.2);
                cursor: default;
            }
        }
    }

    .entries {
        flex-grow: 1;
        padding: 16px 0 16px 12px;
        overflow: hidden;
    }
}

.p-left-8 {
    padding-left: 8px;
}
