@use '../../styles/variables';

.dg-themes-selector {
    position: relative;

    .themes-container {
        background-color: transparent;
        position: absolute;
        top: 100%;
        left: 0;
        width: 80px;
    }

    .themes-menu {
        width: 100%;
        margin-top: 8px;
        padding: 8px 0;
        background-color: variables.$dg-bg-color;
        border-radius: 4px;
        border: 1px solid variables.$dg-gray-200;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;

        .theme {
            cursor: pointer;
            font-size: variables.$dg-font-size-base;
            padding: 0 8px;
            line-height: 36px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            &:hover {
                background-color: variables.$dg-gray-80;
            }
            &.active {
                color: variables.$dg-primary;
                background-color: #6698ff1a;
            }
        }
    }

    .dg-icon {
        &.system {
            svg {
                fill: none;
            }
        }
    }
}
