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

.account-settings {
    .account-settings__profile-btn {
        @include styles.button-reset;
        display: block;

        > img {
            display: block;
        }
    }

    .account-settings__dropdown {
        width: 278px;
        top: 60px;
        right: 20px;
        z-index: 11;
        user-select: none;
    }

    .account-settings__section {
        margin-top: 16px;

        &:first-child {
            margin-top: 0;
        }

        .account-settings__section-header {
            @include styles.ellipsis;
            font-weight: 600;
            font-size: 18px;
            line-height: 24px;
            letter-spacing: 0.1px;
            color: #000;
        }
    }

    .account-settings__version {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.1px;
        color: styles.$neutral-400;
        margin-top: 8px;
    }

    .seeds-list {
        margin: 4px -16px 0;

        .seeds-list__item {
            @include styles.button-reset;
            display: flex;
            align-items: center;
            gap: 16px;
            width: 100%;
            padding: 8px 16px;

            &:hover {
                background-color: styles.$neutral-900;
            }

            .seeds-list__item-name {
                @include styles.ellipsis;
                flex: 0 1 auto;
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                letter-spacing: 0.1px;
                color: #000;
            }
        }
    }

    .account-settings__btn {
        @include styles.button-reset;
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        height: 40px;

        &._logout {
            .account-settings__btn-icon,
            .account-settings__btn-text {
                color: styles.$error;
            }
        }

        .account-settings__btn-icon {
            flex: 0 0 auto;
            width: 24px;
            color: styles.$primary;

            &._arrow {
                color: styles.$neutral-600;
                margin-left: auto;
            }
        }

        .account-settings__btn-text {
            @include styles.ellipsis;
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
            letter-spacing: 0.1px;
            color: #000;
        }
    }
}
