@use '../../abstracts/variables' as *;
@use '../../base/typography' as *;

.main-header {
    padding: .75rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid $color-border;
    background-color: $gray-100;

    .breadcrumbs {
        &__list {
            display: flex;
            gap: 0.75rem;

            &-item {
                position: relative;
                display: flex;

                > .button {
                    padding: 0 0.75rem;
                    height: 100%;
                    color: $color-text-muted;

                    & + .button {
                        padding: 0 0.25rem;
                        
                        & svg {
                            width: 1.25rem;
                        }
                    }
                }
            }
        }

        &__seperator {
            margin: 0.5rem 0;
            display: flex;
            border-right: 2px solid $color-border;
            min-height: 100%;
            transform: rotate(15deg);
        }
        
    }

    .toolbar {
        display: flex;

        .dropdown {
            right: 0;
            left: unset;
        }
    }

    .dropdown {
        top: calc(100% + 0.75rem);
        border-radius: 0px 0px 4px 4px;
    }
}